An internal style sheet should be used when a single document has a unique style.You define internal styles in the head section by using the <style tag, like this:
<head>
<style type="text/css">
hr {color: sieena}
p {margin-left: 20px}
body {background-image: url ( "images/back40.gif" ) )
</style>
</head>
The browser will now read the style definitions, and format the document according it.
NOTE: A browser normally ignores unknown tags.this means that an old browser that does not support styles,will ignore the <style atg will be displayed on the page.It is possible to prevent an old browser from displaying the content by hiding it in their HTML comment element:
<head>
<style type="text/css">
<! --
hr {color: sieena}
p {margin-left : 20px}
body {background-image: url ( "images/back40.gif" ) ).
-- >
</style>
</head>
April 17, 2009
0 INTERNAL STYLE SHEET
Posted by raj on 4:40 AM
0 comments:
Post a Comment