Posted on Leave a comment

XHTML v1.1 Validation – Using the ‘ name ‘ attribute

While trying to validate a site, I found that the document didn’t like the attribute ‘name ‘ . I searched and found it is being deprecated and the functionality is still possbile, although to use ‘id’ instead.

[a id=’top’] [/a]

[a href=’#top’]Go to top of page[/a]

The attribute ‘id’ must be a unique identifier.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.