HTML Tables

 In HTML, tables are used to organize and display data in rows and columns. The <table> tag is the main container that holds all the table elements. Inside it, the <caption> tag is used to provide a title or description for the table, which appears at the top and helps users understand what the table represents. The <tr> tag defines a table row, and each row contains cells. The <th> tag is used to create header cells, which are usually displayed in bold and centered by default, and are mainly used for column headings. The <td> tag is used to create normal data cells that contain the actual information of the table. In the given example, the table displays a student name list with serial number, name, and roll number. Since no border attribute or CSS styling is applied, the table appears without visible borders. Overall, this example demonstrates the fundamental elements required to create a simple HTML table and helps in understanding how tabular data is structured on a web page.

Click the link:HTML Tables

Comments

Popular posts from this blog

INTERNET PROGRAMMING SYLLABUS

Image and Image Mapping

Text Book