SlideShare a Scribd company logo
Presentation
Topic
HTML Tags
Subject
web system Technologies
Presented by
kainat ilyas #3
UOS FSD women campus
HTML Table Tags
HTML Table Tags are following:
<table>
<td>
<tr>
<th>
<caption>
<thead>
<tbody>
<tfoot>
<col>
<colgroup>
<table> Tag
• The <table> tag defines an HTML table.
• An HTML table consists of the <table> element
• <table> closing tag is </table>
An HTML table has two kinds of cells:
• Header cells - contains header information (created with
the <th> element)
• Standard cells - contains data (created with
the <td> element)
<th> Tag
• The <th> tag defines a header cell in an HTML
table.
• Closing tag is </th>
• The text in <th> elements are bold and
centered by default.
<td> Tag
• The <td> tag defines a standard cell in an
HTML table.
• The text in <td> elements are regular and left-
aligned by default
• Closing tag is </td>
<tr> Tag
• The <tr> tag defines a row in an HTML table.
• A <tr> element contains one or
more <th> or <td> elements.
• Closing tag is </th>
<table> input
<table>output
<caption> Tag
• The <caption> tag defines a table caption.
• The <caption> tag must be inserted
immediately after the <table> tag.
• we can specify only one caption per table.
• By default, a table caption will be center-
aligned above a table.
• Closing tag is </caption>
<caption> input
<caption> output
<thead> Tag
• The <thead> tag is used to group header content
in an HTML table.
• The <thead> element is used in conjunction with
the <tbody> and <tfoot> elements to specify each
part of a table (header, body, footer).
• The <thead> tag must be used in the following
context: As a child of a <table> element, after any
<caption>, and <colgroup> elements, and before
any <tbody>, <tfoot>, and <tr> elements.
• The <thead> element must have one or more
<tr> tags inside.
<tbody> Tag
• The <tbody> tag is used to group the body
content in an HTML table.
• The <tbody> element is used in conjunction with
the <thead> and <tfoot> elements to specify
each part of a table (body, header, footer).
• The <tbody> tag must be used in the following
context: As a child of a <table> element, after any
<caption>, <colgroup>, and <thead> elements.
• The <tbody> element must have one or more
<tr> tags inside.
<tfoot> Tag
• The <tfoot> tag is used to group footer content in
an HTML table.
• The <tfoot> element is used in conjunction with
the <thead> and <tbody> elements to specify
each part of a table (footer, header, body).
• The <tfoot> tag must be used in the following
context: As a child of a <table> element, after any
<caption>, <colgroup>, and <thead> elements
and before any <tbody> and <tr> elements.
• The <tfoot> element must have one or more <tr>
tags inside.
Input
output
<col> Tag
• The <col> tag specifies column properties for
each column within a <colgroup> element.
• The <col> tag is useful for applying styles to
entire columns, instead of repeating the styles
for each cell, for each row.
<colgroup> Tag
• The <colgroup> tag specifies a group of one or more
columns in a table for formatting.
• The <colgroup> tag is useful for applying styles to
entire columns, instead of repeating the styles for each
cell, for each row.
• The <colgroup> tag must be a child of a <table>
element, after any <caption> elements and before any
<thead>, <tbody>, <tfoot>, and <tr> elements.
• To define different properties to a column within a
<colgroup>, use the <col> tag within the <colgroup>
tag.
input
output
Row span input
Rowspan output
Colspan input
Colspan output
Any Question?

More Related Content

PPTX
PDF
Basic Details of HTML and CSS.pdf
PDF
HTML PPT.pdf
PPT
Html Slide Part-1
PPT
Presentation on HTML
PPTX
HTML-(workshop)7557.pptx
PPTX
Basic html structure
PPT
Html ppt
Basic Details of HTML and CSS.pdf
HTML PPT.pdf
Html Slide Part-1
Presentation on HTML
HTML-(workshop)7557.pptx
Basic html structure
Html ppt

What's hot (20)

PPTX
Html links
ODP
Htmltag.ppt
PPTX
Introduction to HTML
PPTX
Html images
PPTX
HTML Text formatting tags
PPTX
How to learn HTML in 10 Days
PPT
Html basics
PPT
Span and Div tags in HTML
PDF
Intro to HTML and CSS basics
PDF
Intro to HTML & CSS
PPTX
HTML: Tables and Forms
PPTX
HTML (Web) basics for a beginner
PPTX
Html n CSS
PPTX
Images and Tables in HTML
PPTX
HTML Forms
PPTX
Links in Html
PDF
Html table tags
PPTX
Introduction to HTML
PPTX
PPSX
Introduction to Html5
Html links
Htmltag.ppt
Introduction to HTML
Html images
HTML Text formatting tags
How to learn HTML in 10 Days
Html basics
Span and Div tags in HTML
Intro to HTML and CSS basics
Intro to HTML & CSS
HTML: Tables and Forms
HTML (Web) basics for a beginner
Html n CSS
Images and Tables in HTML
HTML Forms
Links in Html
Html table tags
Introduction to HTML
Introduction to Html5
Ad

Similar to HTML Table Tags (20)

PPTX
PPT
HTML (Hyper Text Markup Language) by Mukesh
PPTX
PPT
HTML (Hyper Text Markup Language)
PPTX
Lecture4 web design and development
PPTX
01 HTML-Tables-1.pptx
PDF
PPT-203105353-1.pdf
PPTX
web page.pptxb dvcdhgdhdbdvdhudvehsusvsudb
PDF
ClasServer-Side Development 2: Node.jss08 .pdf
PPTX
Web Development - Lecture 3
PPTX
Chapter 8: Tables
PPTX
HTML5 2019
PPTX
content creator passionate about architecture, culture, and design.
PPTX
Html tables
PPTX
Learn html Basics
PPTX
Web Design HTML for beginners and advanced learners .pptx
PPTX
Html Table
PDF
HTML (Table and Multimedia): Understanding Web Development Essentials
PPTX
Lecture-4.pptx
PPTX
tableslist.pptx
HTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language)
Lecture4 web design and development
01 HTML-Tables-1.pptx
PPT-203105353-1.pdf
web page.pptxb dvcdhgdhdbdvdhudvehsusvsudb
ClasServer-Side Development 2: Node.jss08 .pdf
Web Development - Lecture 3
Chapter 8: Tables
HTML5 2019
content creator passionate about architecture, culture, and design.
Html tables
Learn html Basics
Web Design HTML for beginners and advanced learners .pptx
Html Table
HTML (Table and Multimedia): Understanding Web Development Essentials
Lecture-4.pptx
tableslist.pptx
Ad

Recently uploaded (20)

PPTX
Pharma ospi slides which help in ospi learning
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Complications of Minimal Access Surgery at WLH
PDF
01-Introduction-to-Information-Management.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
master seminar digital applications in india
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
Pharma ospi slides which help in ospi learning
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Complications of Minimal Access Surgery at WLH
01-Introduction-to-Information-Management.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
GDM (1) (1).pptx small presentation for students
Orientation - ARALprogram of Deped to the Parents.pptx
A systematic review of self-coping strategies used by university students to ...
Final Presentation General Medicine 03-08-2024.pptx
VCE English Exam - Section C Student Revision Booklet
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
master seminar digital applications in india
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Weekly quiz Compilation Jan -July 25.pdf
Final Presentation General Medicine 03-08-2024.pptx

HTML Table Tags

  • 1. Presentation Topic HTML Tags Subject web system Technologies Presented by kainat ilyas #3 UOS FSD women campus
  • 2. HTML Table Tags HTML Table Tags are following: <table> <td> <tr> <th> <caption> <thead> <tbody> <tfoot> <col> <colgroup>
  • 3. <table> Tag • The <table> tag defines an HTML table. • An HTML table consists of the <table> element • <table> closing tag is </table> An HTML table has two kinds of cells: • Header cells - contains header information (created with the <th> element) • Standard cells - contains data (created with the <td> element)
  • 4. <th> Tag • The <th> tag defines a header cell in an HTML table. • Closing tag is </th> • The text in <th> elements are bold and centered by default.
  • 5. <td> Tag • The <td> tag defines a standard cell in an HTML table. • The text in <td> elements are regular and left- aligned by default • Closing tag is </td>
  • 6. <tr> Tag • The <tr> tag defines a row in an HTML table. • A <tr> element contains one or more <th> or <td> elements. • Closing tag is </th>
  • 9. <caption> Tag • The <caption> tag defines a table caption. • The <caption> tag must be inserted immediately after the <table> tag. • we can specify only one caption per table. • By default, a table caption will be center- aligned above a table. • Closing tag is </caption>
  • 12. <thead> Tag • The <thead> tag is used to group header content in an HTML table. • The <thead> element is used in conjunction with the <tbody> and <tfoot> elements to specify each part of a table (header, body, footer). • The <thead> tag must be used in the following context: As a child of a <table> element, after any <caption>, and <colgroup> elements, and before any <tbody>, <tfoot>, and <tr> elements. • The <thead> element must have one or more <tr> tags inside.
  • 13. <tbody> Tag • The <tbody> tag is used to group the body content in an HTML table. • The <tbody> element is used in conjunction with the <thead> and <tfoot> elements to specify each part of a table (body, header, footer). • The <tbody> tag must be used in the following context: As a child of a <table> element, after any <caption>, <colgroup>, and <thead> elements. • The <tbody> element must have one or more <tr> tags inside.
  • 14. <tfoot> Tag • The <tfoot> tag is used to group footer content in an HTML table. • The <tfoot> element is used in conjunction with the <thead> and <tbody> elements to specify each part of a table (footer, header, body). • The <tfoot> tag must be used in the following context: As a child of a <table> element, after any <caption>, <colgroup>, and <thead> elements and before any <tbody> and <tr> elements. • The <tfoot> element must have one or more <tr> tags inside.
  • 15. Input
  • 17. <col> Tag • The <col> tag specifies column properties for each column within a <colgroup> element. • The <col> tag is useful for applying styles to entire columns, instead of repeating the styles for each cell, for each row.
  • 18. <colgroup> Tag • The <colgroup> tag specifies a group of one or more columns in a table for formatting. • The <colgroup> tag is useful for applying styles to entire columns, instead of repeating the styles for each cell, for each row. • The <colgroup> tag must be a child of a <table> element, after any <caption> elements and before any <thead>, <tbody>, <tfoot>, and <tr> elements. • To define different properties to a column within a <colgroup>, use the <col> tag within the <colgroup> tag.
  • 19. input