HTML table tag - html table attributes
HTML (HyperText Markup Language) is the code that is used to structure a web page and its content. For example, content could be structured within a set of html paragraph, a list in html of bulleted points, or using images and data tables.
To create table in HTML, use the <table> tag. A html table tag consist of rows and columns, which can be set using one or more <tr>, <th>, and <td> elements. A table row is defined by the <tr> tag. To set table header, use the <th> tag.
HTML table tag is used to display data in tabular form (row * column). There can be many columns in a row. We can create a table to display data in tabular form, using <table> element, with the help of <tr> , <td>, and <th> elements.
HTML tables are used for displaying data that make sense in spreadsheet software. They consist of rows and columns and are often used on websites for the effective displaying of tabular data.
The data-* attribute is used to store custom data private to the page or application. The data-* attribute gives us the ability to embed custom data attributes on all HTML elements. Tag and attribute are two concepts related to HTML. The main difference between tag and attribute is that a tag is a way of representing an HTML element in the program, while an html table attributes is a way of describing the characteristics of an HTML element.











