Back to Developer Roadmap

ID Selectors

src/data/roadmaps/css/content/[email protected]

4.0373 B
Original Source

ID Selectors

ID selectors in CSS are used to style a single, unique element on a webpage. They target an HTML element based on the value of its id attribute. An ID selector is denoted by a hash symbol (#) followed by the ID value.

Visit the following resources to learn more: