Usage
Values
Elements
You can use the id
attribute on any element except html.
Browser compatibility
| Test | IE8 | IE7 | FF3 | FF2 | Saf3 | |:---------|:--------|:--------|:--------|:--------|:---------|
Further reading
- The id element in HTML 5
- The id element in HTML 4
- The id element on MSDN
- The history of the id element on blooberry.com
- The name attribute in Google Doctype
- Using the id attribute for page-internal anchors