Wednesday, November 22, 2017



Using Internal CSS


If we are trying to design a website, mostly it will contain more than one pages. Some pages can have unique designs and styles to be followed. At that situation, it will be bit difficult to use an External Style Sheet.  So, at that time we can use an  internal style sheet. Internal styles are defined within the <style> element, inside the <head> section of an HTML page. By using Internal Method we do not have a need to create a separate css file. 

Try the code given below......

<head>
<style>
body {
    background-color: linen;
}

h1 {
    color: maroon;
    margin-left: 40px;
} 
</style>
</head>


Comment me if you have any doubts.

No comments:

Post a Comment

Why We Need Web Sites Imagine you are a web designer. You are meeting some people after long time, may be your friends or relations. Whe...