Styles Attributes
style example
- Style attributes
<body>
<p>I am normal</p>
<p style="color:red;">I am red</p>
<p style="color:blue;">I am blue</p>
<p style="font-size:50px;">I am big</p>
</body>
View : https://www.w3schools.com/html/tryit.asp?filename=tryhtml_styles_intro
- background-color
<body style="background-color:powderblue;">
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
View : https://www.w3schools.com/html/tryit.asp?filename=tryhtml_styles_background-color
- text-color
<body>
<h1 style="color:blue;">This is a heading</h1>
<p style="color:red;">This is a paragraph.</p>
</body>
View : https://www.w3schools.com/html/tryit.asp?filename=tryhtml_styles_color
- text-font
<body>
<h1 style="font-family:verdana;">This is a heading</h1>
<p style="font-family:courier;">This is a paragraph.</p>
</body>
View : https://www.w3schools.com/html/tryit.asp?filename=tryhtml_styles_font-family
- text-size
<body>
<h1 style="font-size:300%;">This is a heading</h1>
<p style="font-size:160%;">This is a paragraph.</p>
</body>
View : https://www.w3schools.com/html/tryit.asp?filename=tryhtml_styles_font-size
- text-align
<body>
<h1 style="text-align:center;">Centered Heading</h1>
<p style="text-align:center;">Centered paragraph.</p>
</body>
View : https://www.w3schools.com/html/tryit.asp?filename=tryhtml_styles_text-align