Id selector

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

See also:

Class selector

.value an element with the class attribute that contains value.
An element can have multiple classes seperated by spaces and a page can have the same class multiple times.

See also:

Type selector

Matches any HTML element

Syndicate content