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
accesskey Attribute
class Attribute
contenteditable Attribute
data-* Attributes
dir Attribute
draggable Attributes
hidden Attribute
id Attribute
lang Attribute
spellcheck Attribute
style Attribute
tabindex Attribute
title Attribute
translate Attribute