Defining a HTML Bookmark
How To Define a Bookmark?
A bookmark is a named reference point in an HTML document. If a bookmark can be included in the URL that represents this document, the browser will automatically move the display window to the reference point as soon as the document is open.
If you want to define a bookmark in your HTML document, you need to use an "a" element with the "name" attribute. Here are basic rules about defining a bookmark with "a" element:
Here is a good tutorial example of bookmark elements:
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Bookmark Elements</title> </head> <body> <h3>XHTML FAQ by FYIcenter.com</h3> <h4><a name="101">Question 101</a> - What is XHTML?</h4> <p>XML + HTML.</p> <h4><a name="201">Question 201</a> - Where can I download XHTML 1.0?</h4> <p>Nowhere.</p> <h4><a name="301">Question 301</a> - How to install XHTML 1.0?</h4> <p>Nobody knows.</p> </body> </html>
If you save the above document as bookmark.html, and view it with
Internet Explorer, you can not see any signs of bookmarks. But they
embedded in all section titles:
2017-07-15, 596👍, 0💬
What is the "__init__()" class method? The "__init__()" class method is a special method that will b...
What Is an HTML http-equiv "meta" Tag/Element? a http-equiv "meta" element is a special "meta" eleme...
What is EPUB 2.0 Metadata "dc:creator" and "dc:contributor" elements? EPUB 2.0 Metadata "dc:creator"...
How to see more EPUB 2.0 metadata list with Calibre? You can follow this tutorial to view EPUB 2.0 m...