Example:
HTML
<html>
<body>
<h2><a id="top">Some heading</a></h2>
<p>Lots of text....</p>
<p>Lots of text....</p>
<p>Lots of text....</p>
<a href="#top">Go to top</a>
</body>
</html>
How to Use the id attribute to manipulate text with JavaScript | HTML Global Attributes |
How to Use the id attribute to link to an element with a specified id within a page | HTML Global Attributes |
How to Use the id attribute to style text with CSS | HTML Global Attributes |
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Global Attributes |
Uploaded by: | Admin |