Skip to main content

table command in html

A easy Table of HTML Contais tow rows and columns :
  
   <table>
     <tr>
       <th>month</th>
       <th>color</th>
     </tr>
     <tr>
       <th>march</th>
       <th>red</th>
     </tr>
   </table>

now means of these command are given below:-

1.The tag of <table> defines an HTML table.

2.An table of html consist of the table <table>one or more element <tr>,<th> And <td> elements.

3.To defines a table row we use <tr> element,To defines a table header we use <th> element and To defines a table cell we used <td> element.

4.to more complex our html table be also include <caption>,<col>,<colgroup>,<thead>,<tfoot> and <tbody> elements.

{note: The tables not should be used for page page layout! historically, `some web authors have misused in tables html as a way to control their page layout. however there are alternatives variety to using table of html for layout primilary using css.}

Comments

Popular posts from this blog

about html

html full form is hyper text markup language using html we can make diffrent web pages by using htmls command there are many type of commands use in html like marquee , font color , font size , font style , img src , a href , frameset cols , frameset rows , embed src , table border , ol type , ul type .

html paragraph

html paragraph There is one command known as p full form paragraph it is used in html you want to write a paragrah you can use the command of p you want more information please click here.

how to create a table in html

today we will make a table using html commands table is very useful to manage data in a structure by using table we summries data in a structure for more information please click on this link