HTML style Attribute
Example
Using the style attribute in an HTML document:
This is a heading
This is a paragraph.
Try it »
Browser support





All major browsers support the style attribute
Definition and Usage
The style attribute specifies an inline style for an element.
The style attribute will override any global style settings, such as those in the
HTML Global Attributes