tumblr hit counter

The BODY Element

Monday, October 14, 2013

The <body> element appears after the <head> element and contains the part of the Web page that we actually see in the main browser window, which is sometimes referred to as body content.

A <body> element may contain anything from a couple of paragraphs under a heading to more complicated layouts containing forms and tables.

Most of what you will be learning in this and the following five chapters will be written between the opening <body> tag and closing </body> tag.

Example:
Here is the example of using body tag.
<body>    
<p>This is a paragraph tag.</p> 
</body>
Putting all together:
Now if we will put all these tags together, it will constitute a complete HTML document as follows:
<html> 
<head> 
<title>HTML Basic tags</title> 
<meta name="Keywords" content="HTML, Web Pages" /> 
<meta name="description" content="HTML Basic Tags" /> 
<base href="http://learnhtmlandcssonline.blogspot.com/" /> 
<link rel="stylesheet" type="text/css" href="tp.css" /> 
<script type="text/javascript"> _uacct = "UA-44808176-1"; urchinTracker(); </script> 
</head> 
<body>    
<p>This is a paragraph tag.</p> 
</body> 
</html>

Page >> 1 2 3 4 5 6 7 8 9 10 11 12 13 14

No comments:

Post a Comment

 

Click Here to Start Learning

Get Update!

Join Us Now !
Enter your email address:

Note: Don't forget to click the confirmation link (in your email) to verify Your Entry!

LEARN WEB DESIGN