CSS 1
 

The first way to add a style is to declare it inside a HTML tag.

add style=" " attribute to html tag.

style="property:value"

If you want the color of some text to look red, the style attribute would look like this:

style="color:red"

The style sheet property is "color". The value of the color is "red". Notice there is a colon in between color and red, not an equal sign, and there are no extra quote marks.

(c) Shilpa Sayura Foundation 2006-2017