The <style> tag is used to define style information for an HTML document.
Inside the <style> element you specify how HTML elements should appear in a browser.
Each HTML document can contain multiple <style> tags.
Definition and Usage
The <style> tag is used to define style information for an HTML document.
Inside the <style> element you specify how HTML elements should render in a browser.
Each HTML document can contain multiple <style> tags.
Example
Use of the <style> element in an HTML document:
<html>
<head>
<style>
    h1 {color:red;}
    p {color:blue;}
</style>
</head>
<body>
 <h1>A heading</h1>
 <p>A paragraph.</p>
</body>
</html>
Try it Yourself »
Exercise - <style> Tags
Now try and add to your HTML to make the page look like the text below
More styles
We can also change other style elements for example:
font-size:36px
; will increase the text to 36px
background-color:red
; will change the background of the styled element to red.
text-align:center
; will align the position of the text with the center of the page.
Extension Question
Now try and make the page look like the image below using the new styles
Click here to see my effort >>
See if you style these tags in your page/h5>
<hr>
<br>
<i>
<b>
<li>
<div>
<span>