DEV Community

Cover image for How to create table in HTML ? [Explained with Eaxmple ]
DeepAI
DeepAI

Posted on

How to create table in HTML ? [Explained with Eaxmple ]

Hey folks

Are you looking for Guide to create table in HTML then this post is for you readers. I am going to guide or explain you how you can create awesome tables in HTML with example.

Content
► Tags We need
► Example

Read more: Copyright responsive footer using HTML and CSS

Tags to create awesome HTML Table

Without Tags we can't make tables and Tags are vital part of any kind of HTML project.
Tag:
<table> This Tag Defines HTML Table.
<tr> This Tag Defines Each Table row.
<th> This Tag Defines header of table.
<td> This Tag Defines cell of table.

Read More : How I added block elements to paragraph ?

For content check out my MSDN Profile and Ello also.
Example

As you see above in codepen how I made HTML Table.we can also changes background colour of table, borders,each cell of HTML Table. We Just need to add colour code.
Hope I added Some value in HTML Table project If you liked this post make sure visit my other profiles.
T3N :Open
LinkTree : Open

Thanks for Reading 🙏.

Top comments (1)

Collapse
 
taimoorsattar7 profile image
Taimoor Sattar

Great... That's the beginner guide for creating an HTML table. Also, I wrote an article to structure data on HTML table →.