![]() |
|
You remember the name attribute. You used it with the <a> to set up jumps to specific points in a page. You probably didn't use id much but you could set up styles with it, jumps with it or use it in a script. In XHTML, name disappears altogether and you must use id instead. For example: <a id="jump1">A jump</a> <p id="section" name="section"></p> |
More information So how is XHTML different to HTML? All attributes need double quotes The id attribute replaces the name |