DEV Community

Anandhi P
Anandhi P

Posted on

TABLE IN HTML

Introduction

Hello friends!

Welcome to my blog. Today I am going to share information about HTML Tables. Tables are one of the most useful elements in HTML because they help us organize and display data in a structured way. A table arranges information into rows and columns, making it easy for users to read and understand. HTML tables are commonly used in school projects, business websites, e-commerce websites, hospitals, banks, and many other applications.

What is an HTML Table?

An HTML table is a structure used to display information in the form of rows and columns. It is created using the

tag. Inside the table, rows are created with the tag, headings are created with the
tag, and data cells are created with the tag.

For example, if you want to display a student's name, age, and marks, an HTML table is the best option. It presents the information in a clean and organized format.
Basic HTML Table Structure

The following tags are used to create an HTML table:

– Defines the table.
– Defines a table row.
– Groups the header section.
– Groups the main body of the table.
– Groups the footer section.

– Adds a title to the table.




– Defines a table header cell.

– Defines a table data cell.

Top comments (0)