Topic→Use of <font> tag in our web page.

<font>→ This tag is used to change the font color, font face and font size. This tag is a container tag because it has both the opening and closing tag.Three attributes are used with  this tag i.e color, face and size.

Syntax→<font color="color name" face="face name" size=5>text to be displayed</font>

Demonstration of above tag. just type the code given below on notepad.

<html>
           <title>fourth file</title>
     <body bgcolor="magenta">
           <font color="red" face="algerian" size=5>Maths</font><br>
           <font color="cyan" face="algerian" size=5>Science</font><br>
           <font color="green" face="algerian" size=5>Computer</font><br>
           <font color="blue" face="algerian" size=5>English</font><br> 
   </body>

</html>

Save the above program as fifth.html and you will see output as given below.



Topic→ Use of <br> tag in our document

<BR> →This tag is used to break line in our document.

Demonstration of above tag→Just type the following code in notepad.

<html>
             <title>fourth file</title>
         <body >
              Maths<br>
              Science<br>
              Computer<br>
              English<br> 
          </body>
 </html>

Save the file with name fourth.html and you will output as given below.













Note→<br> tag is an empty tag because it does not have closing tag

Attributes of body tag→
There are mainly two attributes , that we use to change the background of body.
1. Bgcolor- This attributes is used to change the background color of our web page.

Syntax→       <body  bgcolor="color name">
                       ................
                       ................
                       ................
                      </body>


Program to demonstrate the above attribute.

                      <html>
                               <title>second file</title>
                                       <body bgcolor="red">
                                         welcome to html
                                        </body>

                      </html>


Save the file with name second.html, and output will be as below.
















2. Background- This attribute of body tag is used to set  image at the background of web page.


Syntax→       <body  background="file name">
                       ................
                       ................
                       ................
                      </body>

Program to demonstrate the above attribute.

                      <html>
                               <title>third file</title>
                                       <body background="pic.jpg">
                                         welcome to html
                                        </body>

                      </html>
Save the file with name third.html, and output will be as below.













Note -- Both the Html and image file must be at the same location for above programe

Topic→ How to create first file of html .

Just follow the following steps.
1.Open Notepad first.
2.Type the following code.
   <html>
   <title>first file</title>
   <body>
   welcome to html
    </body>
    </html>

3. Save the file as → First.html
4. You will see the following output.

Html stands for Hyper Text Markup Language used to create to static web pages.it is not  a language ,we use various tags to display the content on a web page.
It is a non case sensitive language , means you can use small as well as capital alphabets ,to write codes.it is completely based on first open, last close and last open first close of tags. 

Structure of HTML
<HTML>
<HEAD><TITLE>................</TITLE></HEAD>
<BODY>
..............
.............
.............
.............
</BODY>
</HTML>