Anisha HTML

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

<html>

<head> <title> HTML Basics </title> </head>


<body>
<p>Your Title is displayed as the tab name on the top, watch.</p>
This is the body of this webpage

<H1> Learning HTML step by step </H1>


<h1> Step 1: </h1>
<p> Open notepad to write your code </p>
<h2> Step 2: </h2>
<p> Copy this code as it is in your notepad file. </p>
<h3> Step 3: </h3>
<p> Save the file with .htm extension </p>
<h4> Step 4: </h4>
<p> open the file in browser. </p>
<h5> Step 5: </h5>
<p> Observe the size of headings </p>
</body></HTML>

-
<br><p> This br tag is used to break line. This doesn't need a closing tag as
paragraph closing tag </p>
<br><p> Now you've learned about paragraph and break line, let's learn the
alignment and font size. </p>
<br><p> Now rewrite the above codes as: </p> <br>
<h1 align="center"> Step 1: </h1>
<p align="center"> Open notepad to write your code </p>
<h2 align="right"> Step 2: </h2>
<p align="right"> Copy this code as it is in your notepad file. </p>
<h3 align="left"> Step 3: </h3>
<p align="left> Save the file with .htm extension </p>
<h4> Step 4: </h4>
<p><font size = "5" color="red" face="calibri"> open the file in browser. </font>
</p>
<h5> Step 5: </h5>
<p> Observe the font color, font size, font face means the name of font. Isn't it
different than the rest of the fonts you previously used?</p>
</body>
</html>

You might also like