Friday, 5 June 2015

Internal CSS Style


An internal style sheet it may be used if one single page has a unique style or different from other pages.

Internal CSS styles are defined within the <style> element it's start with <style> tag and end of with </style>, inside the head section of an HTML page:

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

h1 {
    color: red;
    margin: auto;

</style>
</head>

No comments:

Post a Comment