SlideShare a Scribd company logo
1 of 21
HTML
HTML Table
• 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.
• In Each table, table row is defined by <tr> tag, table header
is defined by <th>, and table data is defined by <td> tags.
9/3/20XX Presentation Title 2
9/3/20XX Presentation Title 3
Tag Description
<table> It defines a table.
<tr> It defines a row in a table.
<th> It defines a header cell in a table.
<td> It defines a cell in a table.
<caption> It defines the table caption.
<colgroup> It specifies a group of one or more columns in a
table for formatting.
<col> It is used with <colgroup> element to specify
column properties for each column.
<tbody> It is used to group the body content in a table.
<thead> It is used to group the header content in a table.
<tfooter> It is used to group the footer content in a table.
HTML Table Example
• <!DOCTYPE>
• <html>
• <body>
• <table>
• <tr><th>First_Name</th><th>Last_Name</th><th>Grade</th></tr>
• <tr><td>Wena</td><td>Mercado</td><td>80</td></tr>
• <tr><td>Jhames</td><td>Williams</td><td>70</td></tr>
• <tr><td>John</td><td>Soning</td><td>65</td></tr>
• <tr><td>Will</td><td>lei</td><td>72</td></tr>
• </table>
• </body>
• </html>
9/3/20XX Presentation Title 4
9/3/20XX Presentation Title 5
Output:
HTML Table with Border
• <!DOCTYPE>
• <html>
• <style>
• table, th, td {
• border: 1px solid black;
• }
• </style>
9/3/20XX Presentation Title 6
Cont…
• <body>
• <table>
• <tr><th>First_Name</th><th>Last_Name</th><th>Grade</th></tr>
• <tr><td>Wena</td><td>Mercado</td><td>80</td></tr>
• <tr><td>Jhames</td><td>Williams</td><td>70</td></tr>
• <tr><td>John</td><td>Soning</td><td>65</td></tr>
• <tr><td>Will</td><td>lei</td><td>72</td></tr>
• </table>
• </body>
• </html>
9/3/20XX Presentation Title 7
9/3/20XX Presentation Title 8
Output:
Tables with color and spacing
th,td{
border: 2px solid blue;
padding: 15px;
}
9/3/20XX Presentation Title 9
9/3/20XX Presentation Title 10
Output:
HTML Lists
• HTML Lists are used to specify lists of information. All lists
may contain one or more list elements.
There are three different types of HTML lists:
1.Ordered List or Numbered List (ol)
2.Unordered List or Bulleted List (ul)
3.Description List or Definition List (dl)
9/3/20XX Presentation Title 11
HTML Ordered List or Numbered List
• In the ordered HTML lists, all the list items are marked with
numbers by default. It is known as numbered list also. The
ordered list starts with <ol> tag and the list items start with
<li> tag.
9/3/20XX Presentation Title 12
<!DOCTYPE>
<html>
<body>
<ol>
<li>Aries</li>
<li>Bingo</li>
<li>Leo</li>
<li>Oracle</li>
</ol>
</body>
</html>
9/3/20XX Presentation Title 13
9/3/20XX Presentation Title 14
HTML Unordered List or Bulleted List
• In HTML Unordered list, all the list items are marked with
bullets. It is also known as bulleted list also. The Unordered
list starts with <ul> tag and list items start with the <li> tag.
9/3/20XX Presentation Title 15
Code
1.<ul>
2. <li>Aries</li>
3. <li>Bingo</li>
4. <li>Leo</li>
5. <li>Oracle</li>
6.</ul>
9/3/20XX Presentation Title 16
Output:
• Aries
• Bingo
• Leo
• Oracle
9/3/20XX Presentation Title 17
HTML Description List or Definition List
• HTML Description list is also a list style which is supported
by HTML and XHTML. It is also known as definition list
where entries are listed like a dictionary or encyclopedia.
• The HTML definition list contains following three tags:
1.<dl> tag defines the start of the list.
2.<dt> tag defines a term.
3.<dd> tag defines the term definition (description).
9/3/20XX Presentation Title 18
Code
1.<dl>
2. <dt>Aries</dt>
3. <dd>-One of the 12 horoscope sign.</dd>
4. <dt>Bingo</dt>
5. <dd>-One of my evening snacks</dd>
6. <dt>Leo</dt>
7. <dd>-It is also an one of the 12 horoscope sign.</dd>
8. <dt>Oracle</dt>
9. <dd>-It is a multinational technology corporation.</dd>
10.</dl>
9/3/20XX Presentation Title 19
Output
9/3/20XX Presentation Title 20
THANK YOU!

Let’s start creating our Activity :D
21

More Related Content

Similar to tableslist.pptx

Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01
ramya116
 

Similar to tableslist.pptx (20)

01 HTML-Tables-1.pptx
01 HTML-Tables-1.pptx01 HTML-Tables-1.pptx
01 HTML-Tables-1.pptx
 
html.pptx
html.pptxhtml.pptx
html.pptx
 
Working With Tables in HTML
Working With Tables in HTMLWorking With Tables in HTML
Working With Tables in HTML
 
Web forms and html (lect 3)
Web forms and html (lect 3)Web forms and html (lect 3)
Web forms and html (lect 3)
 
HTML Tables
HTML TablesHTML Tables
HTML Tables
 
HTML Table Tags
HTML Table TagsHTML Table Tags
HTML Table Tags
 
Web html table tags
Web html  table tagsWeb html  table tags
Web html table tags
 
Lecture-4.pptx
Lecture-4.pptxLecture-4.pptx
Lecture-4.pptx
 
Lecture4 web design and development
Lecture4 web design and developmentLecture4 web design and development
Lecture4 web design and development
 
Html tables
Html tablesHtml tables
Html tables
 
PPT-203105353-1.pdf
PPT-203105353-1.pdfPPT-203105353-1.pdf
PPT-203105353-1.pdf
 
Organizing Content with Lists and Tables
Organizing Content with Lists and TablesOrganizing Content with Lists and Tables
Organizing Content with Lists and Tables
 
Advanced html
Advanced htmlAdvanced html
Advanced html
 
Web Development - Lecture 3
Web Development - Lecture 3Web Development - Lecture 3
Web Development - Lecture 3
 
HTML Tables.ppt
HTML Tables.pptHTML Tables.ppt
HTML Tables.ppt
 
Html tables
Html tablesHtml tables
Html tables
 
Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01
 
Presentation (2).pptx
Presentation (2).pptxPresentation (2).pptx
Presentation (2).pptx
 
WEP4 and 5.pptx
WEP4 and 5.pptxWEP4 and 5.pptx
WEP4 and 5.pptx
 
HTML Tables
HTML TablesHTML Tables
HTML Tables
 

More from ArjayBalberan1

MYSQL DATABASE MYSQL DATABASE MYSQL DATABASECSS.pptx
MYSQL DATABASE MYSQL DATABASE MYSQL DATABASECSS.pptxMYSQL DATABASE MYSQL DATABASE MYSQL DATABASECSS.pptx
MYSQL DATABASE MYSQL DATABASE MYSQL DATABASECSS.pptx
ArjayBalberan1
 
MYSQL DATABASE MYSQL DATABASE merge-sort-grp4.pptx
MYSQL DATABASE MYSQL DATABASE merge-sort-grp4.pptxMYSQL DATABASE MYSQL DATABASE merge-sort-grp4.pptx
MYSQL DATABASE MYSQL DATABASE merge-sort-grp4.pptx
ArjayBalberan1
 
MYSQL DATABASE MYSQL DATABASE MYSQL DATABASE BUBLESORT.pptx
MYSQL DATABASE MYSQL DATABASE MYSQL DATABASE BUBLESORT.pptxMYSQL DATABASE MYSQL DATABASE MYSQL DATABASE BUBLESORT.pptx
MYSQL DATABASE MYSQL DATABASE MYSQL DATABASE BUBLESORT.pptx
ArjayBalberan1
 

More from ArjayBalberan1 (20)

MYSQL DATABASE MYSQL DATABASE MYSQL DATABASECSS.pptx
MYSQL DATABASE MYSQL DATABASE MYSQL DATABASECSS.pptxMYSQL DATABASE MYSQL DATABASE MYSQL DATABASECSS.pptx
MYSQL DATABASE MYSQL DATABASE MYSQL DATABASECSS.pptx
 
Introduction to Algorithms Introduction to Algorithms.pptx
Introduction to Algorithms Introduction to Algorithms.pptxIntroduction to Algorithms Introduction to Algorithms.pptx
Introduction to Algorithms Introduction to Algorithms.pptx
 
MYSQL DATABASE MYSQL DATABASEGroup-1.pptx
MYSQL DATABASE MYSQL DATABASEGroup-1.pptxMYSQL DATABASE MYSQL DATABASEGroup-1.pptx
MYSQL DATABASE MYSQL DATABASEGroup-1.pptx
 
Appdev appdev appdev app devAPPDEV 1.2.pptx
Appdev appdev appdev app devAPPDEV 1.2.pptxAppdev appdev appdev app devAPPDEV 1.2.pptx
Appdev appdev appdev app devAPPDEV 1.2.pptx
 
Rizals-Family-Childhood-Early-Education.pptx
Rizals-Family-Childhood-Early-Education.pptxRizals-Family-Childhood-Early-Education.pptx
Rizals-Family-Childhood-Early-Education.pptx
 
MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptx
 
MYSQL DATABASE APP DEV POWERPOINT 1.pptx
MYSQL DATABASE APP DEV POWERPOINT 1.pptxMYSQL DATABASE APP DEV POWERPOINT 1.pptx
MYSQL DATABASE APP DEV POWERPOINT 1.pptx
 
MYSQL DATABASE INTRODUCTION TO JAVASCRIPT.pptx
MYSQL DATABASE INTRODUCTION TO JAVASCRIPT.pptxMYSQL DATABASE INTRODUCTION TO JAVASCRIPT.pptx
MYSQL DATABASE INTRODUCTION TO JAVASCRIPT.pptx
 
NETWORK-TOPOLOGIES-VARIOUS-TOPOLOGIES.pptx
NETWORK-TOPOLOGIES-VARIOUS-TOPOLOGIES.pptxNETWORK-TOPOLOGIES-VARIOUS-TOPOLOGIES.pptx
NETWORK-TOPOLOGIES-VARIOUS-TOPOLOGIES.pptx
 
MYSQL DATABASE MYSQL DATABASEINSERTION-SORT.pptx
MYSQL DATABASE MYSQL DATABASEINSERTION-SORT.pptxMYSQL DATABASE MYSQL DATABASEINSERTION-SORT.pptx
MYSQL DATABASE MYSQL DATABASEINSERTION-SORT.pptx
 
MYSQL DATABASE MYSQL DATABASE merge-sort-grp4.pptx
MYSQL DATABASE MYSQL DATABASE merge-sort-grp4.pptxMYSQL DATABASE MYSQL DATABASE merge-sort-grp4.pptx
MYSQL DATABASE MYSQL DATABASE merge-sort-grp4.pptx
 
MYSQL DATABASE MYSQL DATABASE MYSQL DATABASE BUBLESORT.pptx
MYSQL DATABASE MYSQL DATABASE MYSQL DATABASE BUBLESORT.pptxMYSQL DATABASE MYSQL DATABASE MYSQL DATABASE BUBLESORT.pptx
MYSQL DATABASE MYSQL DATABASE MYSQL DATABASE BUBLESORT.pptx
 
MYSQL DATABASE MYSQL DATABASEquick-sort.pptx
MYSQL DATABASE MYSQL DATABASEquick-sort.pptxMYSQL DATABASE MYSQL DATABASEquick-sort.pptx
MYSQL DATABASE MYSQL DATABASEquick-sort.pptx
 
Selection-sort-in-algorithm and complexity.pptx
Selection-sort-in-algorithm and complexity.pptxSelection-sort-in-algorithm and complexity.pptx
Selection-sort-in-algorithm and complexity.pptx
 
Week 7 Github - SI- Architecture.pptx
Week 7 Github - SI-  Architecture.pptxWeek 7 Github - SI-  Architecture.pptx
Week 7 Github - SI- Architecture.pptx
 
HTML-Lab.pptx
HTML-Lab.pptxHTML-Lab.pptx
HTML-Lab.pptx
 
Week Topic Code Access vs Event Based.pptx
Week Topic Code Access vs Event Based.pptxWeek Topic Code Access vs Event Based.pptx
Week Topic Code Access vs Event Based.pptx
 
MODULE-01.pptx
MODULE-01.pptxMODULE-01.pptx
MODULE-01.pptx
 
APP DEV POWERPOINT 2.pptx
APP DEV POWERPOINT 2.pptxAPP DEV POWERPOINT 2.pptx
APP DEV POWERPOINT 2.pptx
 
APPDEV 1.pptx
APPDEV 1.pptxAPPDEV 1.pptx
APPDEV 1.pptx
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Recently uploaded (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

tableslist.pptx

  • 2. HTML Table • 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. • In Each table, table row is defined by <tr> tag, table header is defined by <th>, and table data is defined by <td> tags. 9/3/20XX Presentation Title 2
  • 3. 9/3/20XX Presentation Title 3 Tag Description <table> It defines a table. <tr> It defines a row in a table. <th> It defines a header cell in a table. <td> It defines a cell in a table. <caption> It defines the table caption. <colgroup> It specifies a group of one or more columns in a table for formatting. <col> It is used with <colgroup> element to specify column properties for each column. <tbody> It is used to group the body content in a table. <thead> It is used to group the header content in a table. <tfooter> It is used to group the footer content in a table.
  • 4. HTML Table Example • <!DOCTYPE> • <html> • <body> • <table> • <tr><th>First_Name</th><th>Last_Name</th><th>Grade</th></tr> • <tr><td>Wena</td><td>Mercado</td><td>80</td></tr> • <tr><td>Jhames</td><td>Williams</td><td>70</td></tr> • <tr><td>John</td><td>Soning</td><td>65</td></tr> • <tr><td>Will</td><td>lei</td><td>72</td></tr> • </table> • </body> • </html> 9/3/20XX Presentation Title 4
  • 6. HTML Table with Border • <!DOCTYPE> • <html> • <style> • table, th, td { • border: 1px solid black; • } • </style> 9/3/20XX Presentation Title 6
  • 7. Cont… • <body> • <table> • <tr><th>First_Name</th><th>Last_Name</th><th>Grade</th></tr> • <tr><td>Wena</td><td>Mercado</td><td>80</td></tr> • <tr><td>Jhames</td><td>Williams</td><td>70</td></tr> • <tr><td>John</td><td>Soning</td><td>65</td></tr> • <tr><td>Will</td><td>lei</td><td>72</td></tr> • </table> • </body> • </html> 9/3/20XX Presentation Title 7
  • 9. Tables with color and spacing th,td{ border: 2px solid blue; padding: 15px; } 9/3/20XX Presentation Title 9
  • 11. HTML Lists • HTML Lists are used to specify lists of information. All lists may contain one or more list elements. There are three different types of HTML lists: 1.Ordered List or Numbered List (ol) 2.Unordered List or Bulleted List (ul) 3.Description List or Definition List (dl) 9/3/20XX Presentation Title 11
  • 12. HTML Ordered List or Numbered List • In the ordered HTML lists, all the list items are marked with numbers by default. It is known as numbered list also. The ordered list starts with <ol> tag and the list items start with <li> tag. 9/3/20XX Presentation Title 12
  • 15. HTML Unordered List or Bulleted List • In HTML Unordered list, all the list items are marked with bullets. It is also known as bulleted list also. The Unordered list starts with <ul> tag and list items start with the <li> tag. 9/3/20XX Presentation Title 15
  • 16. Code 1.<ul> 2. <li>Aries</li> 3. <li>Bingo</li> 4. <li>Leo</li> 5. <li>Oracle</li> 6.</ul> 9/3/20XX Presentation Title 16
  • 17. Output: • Aries • Bingo • Leo • Oracle 9/3/20XX Presentation Title 17
  • 18. HTML Description List or Definition List • HTML Description list is also a list style which is supported by HTML and XHTML. It is also known as definition list where entries are listed like a dictionary or encyclopedia. • The HTML definition list contains following three tags: 1.<dl> tag defines the start of the list. 2.<dt> tag defines a term. 3.<dd> tag defines the term definition (description). 9/3/20XX Presentation Title 18
  • 19. Code 1.<dl> 2. <dt>Aries</dt> 3. <dd>-One of the 12 horoscope sign.</dd> 4. <dt>Bingo</dt> 5. <dd>-One of my evening snacks</dd> 6. <dt>Leo</dt> 7. <dd>-It is also an one of the 12 horoscope sign.</dd> 8. <dt>Oracle</dt> 9. <dd>-It is a multinational technology corporation.</dd> 10.</dl> 9/3/20XX Presentation Title 19
  • 21. THANK YOU!  Let’s start creating our Activity :D 21