HTML Body

HTML <body> tag we can say one of the major tag for creating a web page.We write many of the tags in between the <body> tag like paragraph,lists,tables and everything which related to content or text are place in between the<body> tag.
HTML Body Margins
the mostly commonly margins are the left margins and right margins.

  • Leftmargin-when we use the leftmargin  actually we want to place the data or text on the left side.
  • Topmargin- when we use the toptmargin  actually we want to place the data or text on the top of the page.
Example:
<html>
<head>
<title>HTML Margin Examples</title>
</head>
<body topmargin="50">
<p>There lies a 50 pixel margin between this text and the top of your window.</p>
</body>
</html>

Result:
Now here i show the results in a web browser,now see


Left Margin
Example:

   <html>
<head>
<title>HTML Margin Examples</title>
</head>
<body leftmargin="50">
<p>There lies a 50 pixel margin between this text and the <i>left</i> of your window.</p>
</body>
</html>
Result:


HTML Base links
By using the html base link we can also specify the base color for visited link or unvisited links.Mostly for  this purpose we use the CSS(cascading Style Sheets) and i also suggest my readers to use css instead of html.Here i teach you with the example,now see
Example:
<body link="black" vlink="white" >

or
<body Vlink="rgb(255,255,255)" link="rgb(0,0,0)" >