Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: incrediBILL
is a normal link because that's going somewhere
<a href="#somebookmark>Jump to your bookmark</a>
<h2 id="somebookmark">This is the bit of the page it'll jump to</h2>
4.10. The elements with 'id' and 'name' attributes
HTML 4 defined the name attribute for the elements a, applet, form, frame, iframe, img, and map. HTML 4 also introduced the id attribute. Both of these attributes are designed to be used as fragment identifiers.
In XML, fragment identifiers are of type ID, and there can only be a single attribute of type ID per element. Therefore, in XHTML 1.0 the id attribute is defined to be of type ID. In order to ensure that XHTML 1.0 documents are well-structured XML documents, XHTML 1.0 documents MUST use the id attribute when defining fragment identifiers on the elements listed above. See the HTML Compatibility Guidelines for information on ensuring such anchors are backward compatible when serving XHTML documents as media type text/html.
Note that in XHTML 1.0, the name attribute of these elements is formally deprecated, and will be removed in a subsequent version of XHTML.
The type attribute on script and style is no longer required if the scripting language is ECMAScript and the styling language is CSS respectively.
The following attributes are allowed but authors are discouraged from using them and instead strongly encouraged to use an alternative solution:
The border attribute on img. It is required to have the value "0" when present. Authors can use CSS instead.
The name attribute on a. Authors can use the id attribute instead.
The summary attribute on table. The HTML5 draft defines several alternative solutions.
* XHTML 1.0 - Deprecated
* HTML5 - Discouraged? (don't know if that means deprecated)