Note: In HTML5, id attributes can be used by any HTML tag but in HTML 4.01 there are some restriction to use id attributes. It can not be used by <base>, <head>, <html>, <meta>, <param>, <script>, <style>, and <title> tag. In HTML4.01 id can not start with number.
Supported Browsers: The browser supported by Id Attribute are listed below:
- Google Chrome
- Internet Explorer
- HTML | Attributes
- HTML | data-* Attributes
- HTML | DOM attributes Property
- HTML | Attributes Complete Reference
- Difference between 'hidden' and 'aria-hidden' attributes in HTML
- Tags vs Elements vs Attributes in HTML
- Why are dashes preferred for CSS selectors / HTML attributes ?
- What is the difference between properties and attributes in HTML?
- jQuery | Set Content and Attributes
- jQuery | Get Content and Attributes
- Data-toggle attributes in Twitter Bootstrap
- Perl - Attributes in Object Oriented Programming
- HTML | <html> Tag
- HTML Course | Structure of an HTML Document
- HTML Course | Basics of HTML
- HTML | DOM HTML Object
- HTML | <html> xmlns Attribute
- What is the difference between <html lang="en'> and <html lang="en-US'> ?
- Inline HTML Helper - HTML Helpers in ASP.NET MVC
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.