![]() |
|
HTML Bookmarks / internal links, Free online HTML Tutorial, Learn HTML online for free... |
| Lessons | HTML Bookmarks |
|
|
We can specify a name in the following way: <a name="header">Header Part</a> The result will be: The above HTML specifies a name header with the caption Header Part. Note that you can use any string as the value of the name attribute. In short the text "Header Part" has been named as header, which we can reference anywhere in our HTML. <a href="#header">To Header</a> The result will be: Internal links are specified by using # prefix, the # sign tells the browser that the destination of the links is within the same page. When the above link is clicked you are taken to the internal link name header, which we created earlier.
Next >>> Lesson No. 24: Advanced HTML Links
|
|