CSS or Cascading Styles Sheets,for giving styles to HTML pages. That means CSS provide a way to present the content in HTML page,or the page itself.
In HTML document CSS placed within the "<style type="text/css"> </style> " tag. Otherwise place a link to the CSS document saved with an extension ".css "
In HTML file
<style type="text/css">
body{
background-color: #ffffff;
height:100%;
}
</style>
background-color is one of the style for specifying the background color. Here background color for body of HTML file is white. Another CSS property is height ,specify height of body
Placing link to the CSS in HTML file
By using <link> tag.
<link rel="stylesheet" href="cssfilename.css">
Specify the your CSS file name in 'href ' attribute
Thank you
Keep Watching........
In HTML document CSS placed within the "<style type="text/css"> </style> " tag. Otherwise place a link to the CSS document saved with an extension ".css "
In HTML file
<style type="text/css">
body{
background-color: #ffffff;
height:100%;
}
</style>
background-color is one of the style for specifying the background color. Here background color for body of HTML file is white. Another CSS property is height ,specify height of body
selector Placing link to the CSS in HTML file
By using <link> tag.
<link rel="stylesheet" href="cssfilename.css">
Specify the your CSS file name in 'href ' attribute
Thank you
Keep Watching........
No comments:
Post a Comment