Description

#value an element with an id attribute equal to value. Ids must be unique for each page.

See also:

  • Class selector
  • Type selector
  • Universal selector
  • Attribute selector
  • Child selector
Live Example
Play with the code in the textarea below.

Introduced in CSS version
1
Inherited
N/A
Browser Support
BrowsersIEFirefoxSafariOperaChrome
Versions51160.2
Belongs to:

See the full list CSS properties and browser support: CSS Properties