id
attribute. Hence if you wanted to apply styles to one and only one top level heading element on a web page, you could define the ID in your style sheet as, say, #TopHeading
and then you would insert the id="TopHeading"
attribute/value pair in an <h1>
tag. <html>
<head>
<title></title>
<style type="text/css">
<!--
#TopHeading {
font-size: 24px;
color: navy;
}
-->
</style>
</head>
<body>
<h1 id="TopHeading">'TopHeading' styles apply here only.</h1>
</body>
</html>
h1
element using an id="TopHeading"
attribute/value pair can be targetted with the following hyperlink:<a href="#TopHeading">Go to heading...</a>
Free Text Editors
Free Graphics Editors
Website Analysis Tools
Free Website Templates
See also:
Best Free Web Hosting
How to Make a Web Page
If you need a .COM web address, you can get one quick and easy at...
<~ BACK | TOP | NEXT ~> |