style-attribute-html

Style, this word meaning that it is creating a new fashionable design on the webpage. It's important for how a webpage present self in a browser. The style, attitude using as inline style in html for every element. If using this attribute, developers can use multiple values and divide it with a semicolon sign (;) under the double quotes (" "),. It's part of global attributes. This attribute allows style rules to be used directly with the HTML element. In general, the style attributes cancel or override any style set who attached under the head section with style element or its added by an external style sheet link. Today, it's support all popular browser like Chrome, Safari etc.


Syntax :

<tag style="value">content</tag>


Example

Note: In this example we use a style attribute and give a value color 'red' and increasing font size 1.1REM.