HTML style
The HTML Style Attribute
Setting the style of an HTML element, can be done with the
style
attribute.
The HTML
style
attribute has the following syntax:
<tagname style="property:value;">
You can also change you paragraphs color and font size using these tags:
<p>I am normal</p><p style="color:red;">I am red</p>
<p style="color:blue;">I am blue</p>
<p style="font-size:50px;">I am 50 feet tall</p>
I am red
I am blue
I am 50 feet tall
there are color examples:
style="color:blue; style="color:red";
font examples:
style="font-family:verdana;" style="font-family:courier;"
Other interesting things:
0 коммент.