Use of BODY Element


After the <HEAD> tag and <TITLE> tag <BODY> tag starts. The main contents of a webpage stores here. Inside this part we can contain images, audios, videos or anything else like forms or something else. It is a container type tag so it starts with <BODY> and ends with </BODY>.By using font tag we can change the fonts of the body. Later on we will discuss about these tags. Body tag looks like following:

<BODY>
..............................
..............................
..............................
</BODY>

Now we will see how it works on a webpage coding.

<HTML>
<HEAD>
<TITLE>
Program 3
</TITLE>
</HEAD>
<BODY>
This is my 3rd Program
I am happy to learn HTML
</BODY>
</HTML>
This is how it will look in HTML
Now the saving procedure is like before. Go to File then Save As then put a name Like program3.html   , We write html because it is the extension for web file. Otherwise it will not open in Browser.

 
 
 
 
 


Related Posts:

  • Lets move on to Next Program We will now Learn How to put tile on your webpage. Title tag is  <TITLE>...........</TITLE> . For doing this first you have to open the notepad. Then write down the following codes.   <HTML> &… Read More
  • Italics and Underline Elements We are Learning how to enhance your body contents.  If You want to represent some parts of your text as Italic format then you can use this tag, <I>…………………………………..</I> For Example: <HTML><HEAD&g… Read More
  • Use of BODY Element After the <HEAD> tag and <TITLE> tag <BODY> tag starts. The main contents of a webpage stores here. Inside this part we can contain images, audios, videos or anything else like forms or something else. It… Read More
  • Bold Face Element After learning the BODY tag now we will learn how to enhance the body part. In text mood if you want to BOLD any part of your text then you have to use the BOLD tag. This tag looks like following: <B>............… Read More
  • Blink Text Now e will learn how to blink some part of a text.  Its work like So for doing effect like this we have to use a tag. The tag format is  <BLINK>..............................</BLINK> Example: <… Read More

1 comment: