Defining IDs to Identify an Object

Like the class selector, the ID selector can be used to create unique styles that are independent of any particular HTML tag. Thus, they can be assigned to any applicable HTML tag. Figure 2.17 shows the general syntax of IDs.