The HTML style an attribute is used to add styles to an HTML element, such as color, font, size, and more.
style
attribute:
<tagname style="prop:val;">Note - The prop is a CSS property. The val is a CSS value.
Here are Some
Examples –
- background-color:blue
Color
:red- font-family: font-family:verdana
- font-size: font-size:160%
- text-align: text-align:center
0 Comments