#CSS #ID Selector The ID selector selects an element that has a specific value as the value of the id attribute. The attribute value is preceded by # to indicate that it is an ID. For example, the following makes the element with abc as the id attribute value red. #abc { color: red; }