It is used to style the html element. you can style below:
- text color
- font
- size and more.
- Example Syntax: <p style=”color:blue;”>A blue text</p>
1 2 3 4 5 6 7 8 9 |
<!DOCTYPEÂ html> <html> <head> <title>Title</title> </head> <body> <h1 style="color:blue;">A blue text</h1> </body> </html> |
the above example will change the text color to blue.