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)" >

HTML Strikthrough

To cross some text in website or blog we use the HTML Strikthrough  <del> tag.Here i teach you how to cross some text in the website by using the <del> tag with the example and their result
Example:
<p>Now <del>Scratched</del> Out!</p>


Result:
Now scratched out!

HTML Check off tasks
Now here i discuss you about the main use of html <del> tag.
Example:

<ol>
<li>Wash Your hands</li>
<li><del>Cook Food</del></li>
<li><del>Evil</del></li>
</ol>

Result:

  1. Wash Your hands
  2. Cook Food
  3. Evil

HTML Subscript

We use the <sub> Subscript tag to place the Subscripted content  on the website.Now here i teach you how to use the <sup> subscript tag in the website with example and their result
Example:

<p>Here is the <sub>subscripted Text!</sub></p>


Your Result:

Here is the subscripted Text!


HTML Chemical Compound
Another, the most common use of  <sub> subscript tag is to write the chemical compound formulae ,now here i teach you how to write with the example and their result
Example:

<p>CO<sub>2</sub> - Carbon Dioxide


Result:

CO2 - Carbon Dioxide