The HTML code <a name="some_bookmark">text</a>
is very useful for creating links to specific sections of a page (e.g., page.html#some_bookmark
). However, the W3C spec now marks the name
attribute of the a
tag as "obsolete."
If this is the case, then what is preferred? Is there a new <bookmark>
tag or similar?
datasrc on a , applet , button , div , frame , iframe , img , input , label , legend , marquee , object , option , select , span , table , and textarea elements.
Some attributes from HTML4 are no longer allowed in HTML5 at all and they have been removed completely. img and iframe. caption, iframe, img, input, object, legend, table, hr, div, h1, h2, h3, h4, h5, h6, p, col, colgroup, tbody, td, tfoot, th, thead and tr. table, tr, td, th and body.
The scheme attribute is supported in HTML but not in HTML5. Rest of attributes like “content”, “http-equiv” and “name” are supported in both HTML as well as HTML5. The scheme element is deprecated from HTML5.
You can place an id=""
attribute on any element and it will have the same effect.
These are typically placed on heading elements.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With