Style is used to style elements such as: color, size, font, etc. 
EX: <tagname style=”property;value”>
Property is a CSS property and Value is a CSS value
The CSS background-color defines the background color of an HTML element.
EX: <body style=”background-color:blue;”>
<h1>title</h1>
<p>la la la la la</p>
</body>
The CSS color property defines the text color of an HTML element
<h1 style=”color:pink;”>Title of Page</h1>
<p style=”color:purple;”>la la la la la</p>
The CSS font-family defines the font used of an HTML element
EX: <h1 style=”font-family: helvetica;”> Title of Page</h1>
<p style=”font-family: courier;”>la la la la</p>
The CSS font-size property defines the text size of an HTML element
EX: <h1 style=”font-size: 300%”>Title of Page</h1>
The CSS text-align property defines the horizontal text alignment of an HTML element
EX: <h1 style=”text-align:center;”>The title page</h1>
Back to Top