Pages

Saturday, August 22, 2009

Easy explanation of <h1>...</h1> to <h1>...</h6>

Who says programming can be difficult. When you are given in a simple manner anything it won't be difficult.

Still trying to figure out and but it seems this is the best way of displaying something. FOR YOU to copy and paste it - the code in html editor and see for yourself.

h1 to h6 tags are used to

Code
<h1>...H1 IS THE BIGGEST </h1>
<h2>... SMALLER THAN H1 TAG</h2>
<h3>...SMALLER THAN H2 </h3>
<h4>...SMALLER THAN H3 YOU KNOW</h4>
<h5>... IT BECOMES EVEN SMALLER THAN H4 </h5>
<h6>... NO. SIX IS THE SMALLEST AND THAT'S ALL THE H - header SIZE TAGS do - they size your header</h6>

Output

...H1 IS THE BIGGEST

... SMALLER THAN H1 TAG

...SMALLER THAN H2

...SMALLER THAN H3 YOU KNOW

... IT BECOMES EVEN SMALLER THAN H4
... NO. SIX IS THE SMALLEST AND THAT'S ALL THE H - HEIGHT SIZE TAGS

Try it in w3schools.com Online HTML EDITOR:
http://www.w3schools.com/TAGS/tryit.asp?filename=tryhtml_headers

Or here
http://htmledit.squarefree.com/

More about these tags:
http://www.w3schools.com/TAGS/tag_hn.asp

My approach is to make it slow, easy, enjoyable and understandable that involves giving you ONLY that information which is a must for a beginner to know. As we go along the information will increase and a simple reference to this part, the simple stages we have gone through will make it easier for you to remember.

So, nothing included about Restrictions, Browser compatibility and attributes etc.

No comments:

Post a Comment