Previous HTML Global Attributes Next


Use of the style attribute in an HTML document:

This is a header

This is a paragraph.

Try it Yourself »

Definition and Usage

The style attribute specifies an inline style for an element.

The style attribute will override any style set globally, e.g. styles specified in the


All articles, images, logos, videos and trademarks used in this website are property of their respective owners. Comments are property of their respective posters.

All data and information provided on this website is for informational purposes only. 24Line makes no representations as to accuracy, completeness, currentness, suitability, or validity of any information on this site and will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use. All information is provided on an as-is basis.

If you would like to read our privacy policy please click here. The information in this web site is subject to change without any notice.