Table in HTML.

Q3. What do you understand by a table? Which tag is used to create a table in HTML?

Ans. According to W3C β€œThe HTML table model allows authors to arrange data – text, preformatted text, images, links, forms, form fields, other tables, etc. – into rows and columns of cells.”

An HTML table consists of rows and columns, which are further divided into cells in which you can enter data. Tables allow you to arrange disparate data in the Web page in a format that is easy to read and understand. The data of a table may be text or graphics.

Cells are a combination of rows and columns. The data of a table is contained in its cells. In HTML, you can create a table by using the <TABLE> tag.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: