Complete CSS Selector Reference
Style the element with id="firstname":
The #id selector styles the element with the specified id.
![]()
The #id selector is supported in all major browsers.
Complete CSS Selector Reference
Your message has been sent to W3Schools.