CSS #id Selector
ExampleHow to style the element with id="firstname":
Try it yourself » |
Definition and Usage
The #id selector styles the element with the specified id.
Browser Support
The #id selector is supported in all major browsers.
CSS Version
The #id selector was first introduced in:
CSS 1
Complete CSS Reference