Use of Html Style

Use of Html Style

html course beginner to advance (7)
Blogs

Use of Html Style

The HTML style attribute is used to add styles to an element, such as color, font, size, and more.

Syntax:-

<tagname style=”property:value;”>

Example:- 

<h1 style="background-color:powderblue;">This is a heading</h1>

 

Leave your thought here

Your email address will not be published. Required fields are marked *

Alert: You are not allowed to copy content or view source !!