HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

style Attribute

style Attribute

 

 

The style attribute defines inline styling for an element. It will override any style set globally, e.g. styles specified in the style tag or in an external style sheet. It can be used with any HTML element.

 

Attribute Explanation:-

 

Value Description
list_of_style_definitions One or more CSS properties and values are separated by semicolons.

 

Syntax:-

 

Its syntax is:- < element style="list_of_style_definitions" >

Code Explanation

All Tutorials related to HTML Global Attributes

All Sections related to HTML