Tags called class attributes are used to match HTML elements to their corresponding CSS or JS elements. For example, if a user wants the color of a certain amount of text to be red, they can write ...
Following is a sampling of HTML color codes used in HTML tags for setting background and font color. Colors are coded as red, green and blue intensities in hexadecimal notation (see hex chart).