Monday, August 29, 2011

HEADING with the help of HTML tag

How to make HEADING with the help  of HTML tag ? 
<html>
<head>
  <title>Headings</title>
</head>

<body bgcolor="#FFFFFF">

  <h1> Headings </h1>

  <p> Headings are used to give structure to a document.
  </p>

  <h2> Structure </h2>

  <p> Automated tools, like search engines and indexes, can read the
  headings to get clues about the structure of your document.
  </p>

  <h3> Subject </h3>

  <p> Some automated tools will even guess what your document is about,
  based on the headings!
  </p>

</body>
</html>

(NOTE- You can also change the style in heading , like if u want to change the style of third heading then you can write -:
<h3 style="font-family: sans-serif; font-size:156%; color: #006">Subject </h3> )
OUTPUT-
Headings

Headings

Headings are used to give structure to a document.

Structure

Automated tools, like search engines and indexes, can read the headings to get clues about the structure of your document.

Subject

Some automated tools will even guess what your document is about, based on the headings!


No comments:

Post a Comment