- HTML uses tags like <b> and <i> for formatting output like bold or italic text. These HTML tags are called formatting tags. For example;
<html>
<title> Heading Tags </title>
<body>
<h1> St Mary's College </h1>
<h2> St Mary's College </h2>
<h3> St Mary's College </h3>
<h4> St Mary's College </h4>
<h5> St Mary's College </h5>
<h6> St Mary's College </h6>
</body>
</html>
- The <p> tag is used to create a paragraph.
- The <hr> tag is used to draw a horizontal line between the paragraphs.
- Font,face,font size
HTML Headings :
Headings are defined with the <h1> to <h6> tags. <h1> defines the most important heading, <h6> defines the least important heading.
HTML Paragraphs :Paragraphs are defined with the <p> tag.
HTML Fonts :
<html>
<p>
<font size "5" face="arial" color="blue"> (This paragraph is in arial, size 5 and in blue text color.)
</font>
</p>
<p>
<font size="3" face="verdana" color="red"> (This paragraph is in the Verdana, size 3 and in red text color.)
</font>
</p>
</html>