HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML td Tag

HTML td Tag



The td tag defines a standard data cell in an HTML table. There are two types of cells in the HTML Table. These are:-

  • th :- header cells (bold and by default aligned to center)
  • td :- normal cells (regular and by default aligned to left)


Attribute Explanation:-


Attribute Value Description
colspan number Specifies number of columns cell should span.
headers header_id Specifies one or more header cells a cell is related to.
rowspan number Sets number of rows cell should span.




Its syntax is:- < td >

Code Explanation

All Tutorials related to HTML Tags List

All Sections related to HTML