MCQs Test!! VB Basic Test !! Essentials of VB !! Creating User Services !! function !! Anatomy !! GK March-2019 !! DATA TYPES IN JAVA !! Classes ,Constructor ,Methods,Inheritance !! Ecology-I !! Biology 2019 !! Gk april 2019 !! Biology (living world) !! Plant anatomy !! CELL STRUCTURES AND FUNCTION !! General biology !! Human physiology !! Data structure !! Ecology-II !! GK TEST !! Reproduction in plants !! Human reproduction !! The ABC of C !! Operating system set1 !! Operating system set2 !! Gk and current affairs !! Animal kingdom !! Number system !! Animal kingdom-II !! Gk TEST-III !! Number series !! Microorganisms !! Interview question in c !! Time and Work !! Percentage !! General history !! Average !! Cells !! Locomotion and Movement !! paging !! Bacteriology !! Page replacement policy !! Secondary memory and Disk scheduling !! Introduction of Nervous System and neurons !! Plant harmones !! Transport and Mineral Nutrition in Plants !! Neurotransmitters !! Modern Indian History !! Photosynthesis in Plants !! Modern Indian History-II !! Plant respiration !! Environment & Biodiversity !! Environment & Biodiversity - II !! Algae, Bryophytes, Pteridophytes !! Area !! Cricket !! Days of the Year (India and the World) !! Plant Pathology - I !! Indian Transport System !! Plant Pathology - II !! Aptitude !! Biology !! Botany !! C language !! Computer Science !! Core Java !! Gate !! GK !! Mysql !! Operating system !! Physics !! VB-Visual Basic !! Zoology

HTML

HTML Projects

HTML Project

Table tags
Previous Home Next

HTML Table tag is make a table in the form of row and column. It is arranged layout of page like header, body, and footer section etc.

Syntax used

<table>...</table>

Some important html table tags

TagsDescription
<tr>It defines a row in a table.
<td>It define a cell in table
<table> to show a table.
<caption> It define the table caption.
<colgroup>It is perfer for one or more columns in a table for formatting.
<thead>It is used to header in the table.
<tfooter>It is used to footer in a table.

Example

<table>
<tr><th>Name</th><th>Marks</th></tr>
<tr><td>Sanjeev</td><td>65</td></tr>
<tr><td>Parmod</td><td>80</td></tr>
<tr><td>Shina</td><td>82</td></tr>
<tr><td>Raja</td><td>72</td></tr>
</table>

Output :

 

HTML Table with Boder

There are two type of boder making in html table like as

  1. Boder attribute
  2. By CSS

Example

<table border="1">
<tr><th>First_Name_of_company
</th><th>Last_Name_of_Company
</th><th>Company_Rank</th></tr>
<tr><td>DR.Rajesh</td><td>kumar</td><td>5th</td></tr>
<tr><td>Ajay</td><td>William</td><td>8th</td></tr>
<tr><td>Swati</td><td>Sironi</td><td>7th</td></tr>
<tr><td>Manoj</td><td>Singh</td><td>3th</td></tr>
</table>

Output :

Supporting Browsers
Previous Home Next