CSS HTML Tag Selector


CSS HTML tag selector we can appy CSS on HTML element directly. As with our CSS HTML tag selector example, the two HTML element are named highlight (for red text) and default (for dark gray text):

Example

This paragraph has red text.

This paragraph has dark gray text.

This paragraph also has dark gray text.