Logo of aks.htmlplanet.com

Links
Play Intro
New Stuff
Home
Poems
Jokes
Quotes
Wallpapers
Learn HTML
-Getting Started
-What are tags ?
-Hex Codes
-Body Tag
-Font Tag
-Useful Tags
-Tables
--->Tables Part II
--->Tables Part III
-Adding Images
-Linking Pages
-Adding Sounds

Suggestion Book
























DigiArc :: Owned By Aakash Ashvin Shah

 .:: Welcome to aks.htmlplanet.com !





 .:: Learn HTML > Tables ...


.:: There you are again and now you want tables. No problem I am always there for you ! You would be surprised to know that this whole website is made up in tables.

.:: Knowing the codes

We would straight away start with the codes.
It's start is denoted as < table > and end as < /table >. Example :

< table border="1" cellspacing="0" cellpadding="0" width="100" >
< tr >
< td >Colors< /td >
< /tr >
< tr >
< td >Red< /td >
< /tr >
< tr >
< td >Green< /td >
< /tr >
< tr >
< td >Blue< /td >
< /tr >
< /table >

would display the following pattern

Colors
Red
Green
Blue


.:: Understanding the codes

  • border="x" : where 'x' is the thickness of the border is pixels.
  • cellspacing="y" : where 'y' is the space between two cells.
  • cellpadding="z" : where 'z' is the space between the text and the border outline.
  • width="a" : where 'a' is the width of the table in pixels.
  • < tr > : starts a new row & < /tr > ends the row.
  • < td > : starts a new column & < /td > ends the column.


  • .:: Continue to Tables PART II, which would include colspan and rowspan.



    Learn HTML > Tables







     .:: Buck Up ! You can do it !