SlideShare ist ein Scribd-Unternehmen logo
1 von 16
UNIT II…HTML WEB DESIGNING

Chapter 9: USING TABLES
WHY WE USE TABLES IN WEB PAGE?
• One of the most effective techniques to orgnize
  data is to place it in a table.
• Tables allow you to neatly present content in
  specific columns and rows (or lines).
• Tables on Web pages can have text, numbers or
  even images.
• Using tables you can lay-out your page to make
  look like a newspaper, product catalog, or an
  electronic brochure.
PUTTING A CAPTION
• A caption tells your reader what your table
  contains. To indicate caption, you must make
  sure that the <CAPTION></CAPTION> tag pair
  is inside the <TABLE></TABLE> tag pair.
  Caption by default are placed at the top of the
  table, unless you define the alignment.
• <TABLE>
• <TD></TD>
• </TR>
• <CAPTION></CAPTION>
USING THE ALIGN ATTRIBUTE TO
CAPTION.
• To put the caption at the bottom of the table, you
  add BOTTOM to the align attribute.
• <TABLE BORDER>
• <CAPTION ALIGN= BOTTOM ></CAPTION>
• <TR>
• <TD></TD>
• <TD></TD>
• </TR>
• </TABLE>
DEFINING THE STRUCTURE OF A TABLE
•   DEFINING ROWS-.
•   <TABLE>
•   <TR>This is a table row</TR>
•   <TR>This is another table row</TR>
•   DEFINING THE CELLS
•   <TABLE>
•   <TH>This is a table header</TH>
•   <TH>This is another table header</TH>
•   <TABLE>
•   <TD>This is a table data</TD>
•   <TD>This another table data</TD>
SPANNING CELLS
• Some cells may span across several columns or
  rows. (in MS Excel it is merging cells)



 Cell                              Cell spans across
 spans                             two columns
 across
 two
 rows
SPANNING CELLS ACROSS SEVERAL ROWS

 • <TD ROWSPAN= no. of rows to span>- used to
   define number of rows will span. Use this
   attribute inside the <TD> tag.
 • <TABLE BORDER>
 • <TR>
 • <TD ROWSPAN= 3>A cell spanning three rows.
   </TD>
 • <TR></TABLE>
SPANNING CELLS ACROSS SEVERAL COLUMNS

 • <TD COLSPAN= no. of column to span>- used
   to define number of column will span. Use this
   attribute inside the <TD> tag.
 • <TABLE BORDER>
 • <TR>
 • <TD COLSPAN= 3>A cell spanning three
   columns. </TD>
 • <TR></TABLE>
MODIFYING THE STRUCTURE OF A TABLE
• ENHANCING BORDERS and ADJUSTING CELL
  SPACING.
• <Table Border= 4>
• <tr>
• <td> This cell uses border number 4</td>
• </tr></table>

•   <Table Border Cellspacing= 8>
•   <tr>
•   <td>This cell uses 8 pixels of space.</td>
•   </tr></table>
CHANGING CONTENT ALIGNMENT
•   <Table border>
•   <tr align= right>
•   <td> the content here is right-aligned</td>
•   </tr>
•   <tr align= left>
•   <td> the content here is left-aligned</td>
•   </tr>
•   <tr align= center>
•   <td> the content here is centered</td>
•   </tr></table>
•   ADJUSTING SPACE AROUND CONTENT.
•   <Table border cellpadding= 4>
•   <tr>
•   <td> The cells padded with 8 pixels around
    them> </td></tr></table>

•   ADDING IMAGE
•   <Table border>
•   <tr>
•   <td><img src= “dog.jpg”></td>
•   </tr></table>
• Note: Images should be save in the folder of your web
  documents. Not all images is recognizable by some web
  browser.

Weitere ähnliche Inhalte

Was ist angesagt? (18)

Html table
Html tableHtml table
Html table
 
Html tables
Html tablesHtml tables
Html tables
 
Web I - 03 - Tables
Web I - 03 - TablesWeb I - 03 - Tables
Web I - 03 - Tables
 
Html table tags
Html table tagsHtml table tags
Html table tags
 
Html tables
Html tablesHtml tables
Html tables
 
HTML Tables
HTML TablesHTML Tables
HTML Tables
 
HTML Table
HTML TableHTML Table
HTML Table
 
Html tut 04
Html tut 04Html tut 04
Html tut 04
 
HTML 5 Tables and Forms
HTML 5 Tables and FormsHTML 5 Tables and Forms
HTML 5 Tables and Forms
 
Tables and Forms in HTML
Tables and Forms in HTMLTables and Forms in HTML
Tables and Forms in HTML
 
Html Table
Html TableHtml Table
Html Table
 
html-table
html-tablehtml-table
html-table
 
Tables
TablesTables
Tables
 
MIS 226: Chapter 4
MIS 226: Chapter 4MIS 226: Chapter 4
MIS 226: Chapter 4
 
Chapter 4 class presentation
Chapter 4 class presentationChapter 4 class presentation
Chapter 4 class presentation
 
Table in MS Frontpage 2003
Table in MS Frontpage 2003Table in MS Frontpage 2003
Table in MS Frontpage 2003
 
HTML Table Tags
HTML Table TagsHTML Table Tags
HTML Table Tags
 
Html tables examples
Html tables   examplesHtml tables   examples
Html tables examples
 

Ähnlich wie Html web designing using tables

Ähnlich wie Html web designing using tables (20)

HTML Tables.ppt
HTML Tables.pptHTML Tables.ppt
HTML Tables.ppt
 
HTML Tables in Omeka
HTML Tables in OmekaHTML Tables in Omeka
HTML Tables in Omeka
 
Computer language - Html tables
Computer language - Html tablesComputer language - Html tables
Computer language - Html tables
 
Html tables
Html tablesHtml tables
Html tables
 
4-Tables in HTMLhtml tavle table in the html
4-Tables in HTMLhtml tavle table in the html4-Tables in HTMLhtml tavle table in the html
4-Tables in HTMLhtml tavle table in the html
 
Web forms and html lecture Number 3
Web forms and html lecture Number 3Web forms and html lecture Number 3
Web forms and html lecture Number 3
 
Working With Tables in HTML
Working With Tables in HTMLWorking With Tables in HTML
Working With Tables in HTML
 
HTML Lecture Part 2 of 2
HTML Lecture Part 2 of 2HTML Lecture Part 2 of 2
HTML Lecture Part 2 of 2
 
Tables in databases - Relationships and diagrams
Tables in  databases - Relationships and diagramsTables in  databases - Relationships and diagrams
Tables in databases - Relationships and diagrams
 
htmltables-180721142906-1.pptx
htmltables-180721142906-1.pptxhtmltables-180721142906-1.pptx
htmltables-180721142906-1.pptx
 
Lecture-4.pptx
Lecture-4.pptxLecture-4.pptx
Lecture-4.pptx
 
05 01 tabelas
05 01 tabelas05 01 tabelas
05 01 tabelas
 
HTML TABLES
HTML TABLESHTML TABLES
HTML TABLES
 
Database indexing techniques
Database indexing techniquesDatabase indexing techniques
Database indexing techniques
 
table html web programing
table  html  web programingtable  html  web programing
table html web programing
 
Chapter 4 class presentation
Chapter 4 class presentationChapter 4 class presentation
Chapter 4 class presentation
 
Dbms sql-final
Dbms  sql-finalDbms  sql-final
Dbms sql-final
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Lecture 2.ppt
Lecture 2.pptLecture 2.ppt
Lecture 2.ppt
 
MS SQL Server
MS SQL ServerMS SQL Server
MS SQL Server
 

Mehr von Jesus Obenita Jr.

Mehr von Jesus Obenita Jr. (20)

Organization and management 3 a Evolution of Management Theory
Organization and management 3 a Evolution of Management TheoryOrganization and management 3 a Evolution of Management Theory
Organization and management 3 a Evolution of Management Theory
 
Organization and management 2 Management Function
Organization and management 2 Management FunctionOrganization and management 2 Management Function
Organization and management 2 Management Function
 
Organization and management 1
Organization and management 1Organization and management 1
Organization and management 1
 
Designing web page marquee and img tag
Designing web page  marquee and img tagDesigning web page  marquee and img tag
Designing web page marquee and img tag
 
Ms excel 2013 formatting worksheets
Ms excel 2013 formatting worksheetsMs excel 2013 formatting worksheets
Ms excel 2013 formatting worksheets
 
Ms excel 2013 data management
Ms excel 2013 data managementMs excel 2013 data management
Ms excel 2013 data management
 
Microsoft Excel introduction
Microsoft Excel introductionMicrosoft Excel introduction
Microsoft Excel introduction
 
Word 2013 working with pictures
Word 2013 working with picturesWord 2013 working with pictures
Word 2013 working with pictures
 
Word 2013 Formatting Page
Word 2013 Formatting PageWord 2013 Formatting Page
Word 2013 Formatting Page
 
Word 2013 8
Word 2013 8Word 2013 8
Word 2013 8
 
Ms word 2013 7
Ms word 2013 7Ms word 2013 7
Ms word 2013 7
 
Ms word 2013 6
Ms word 2013 6Ms word 2013 6
Ms word 2013 6
 
Ms word 2013 4
Ms word 2013 4Ms word 2013 4
Ms word 2013 4
 
Ms word 2013 2
Ms word 2013 2Ms word 2013 2
Ms word 2013 2
 
Ms word 2013
Ms word 2013Ms word 2013
Ms word 2013
 
Parts of the ms word 2013 screen and
Parts of the ms word 2013 screen andParts of the ms word 2013 screen and
Parts of the ms word 2013 screen and
 
Word processor
Word processorWord processor
Word processor
 
Session 2 test construction.mt's
Session 2   test construction.mt'sSession 2   test construction.mt's
Session 2 test construction.mt's
 
Cooking ingredients
Cooking ingredientsCooking ingredients
Cooking ingredients
 
Color theory
Color theoryColor theory
Color theory
 

Kürzlich hochgeladen

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
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 MenDelhi Call girls
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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 RobisonAnna Loughnan Colquhoun
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
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 SolutionsEnterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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...Miguel Araújo
 
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.pdfhans926745
 
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 Servicegiselly40
 
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...Igalia
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
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 2024The Digital Insurer
 
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 Takeoffsammart93
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
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 WorkerThousandEyes
 

Kürzlich hochgeladen (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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...
 
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
 
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
 
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...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
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
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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
 

Html web designing using tables

  • 1. UNIT II…HTML WEB DESIGNING Chapter 9: USING TABLES
  • 2. WHY WE USE TABLES IN WEB PAGE? • One of the most effective techniques to orgnize data is to place it in a table. • Tables allow you to neatly present content in specific columns and rows (or lines). • Tables on Web pages can have text, numbers or even images. • Using tables you can lay-out your page to make look like a newspaper, product catalog, or an electronic brochure.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. PUTTING A CAPTION • A caption tells your reader what your table contains. To indicate caption, you must make sure that the <CAPTION></CAPTION> tag pair is inside the <TABLE></TABLE> tag pair. Caption by default are placed at the top of the table, unless you define the alignment. • <TABLE> • <TD></TD> • </TR> • <CAPTION></CAPTION>
  • 9. USING THE ALIGN ATTRIBUTE TO CAPTION. • To put the caption at the bottom of the table, you add BOTTOM to the align attribute. • <TABLE BORDER> • <CAPTION ALIGN= BOTTOM ></CAPTION> • <TR> • <TD></TD> • <TD></TD> • </TR> • </TABLE>
  • 10. DEFINING THE STRUCTURE OF A TABLE • DEFINING ROWS-. • <TABLE> • <TR>This is a table row</TR> • <TR>This is another table row</TR> • DEFINING THE CELLS • <TABLE> • <TH>This is a table header</TH> • <TH>This is another table header</TH> • <TABLE> • <TD>This is a table data</TD> • <TD>This another table data</TD>
  • 11. SPANNING CELLS • Some cells may span across several columns or rows. (in MS Excel it is merging cells) Cell Cell spans across spans two columns across two rows
  • 12. SPANNING CELLS ACROSS SEVERAL ROWS • <TD ROWSPAN= no. of rows to span>- used to define number of rows will span. Use this attribute inside the <TD> tag. • <TABLE BORDER> • <TR> • <TD ROWSPAN= 3>A cell spanning three rows. </TD> • <TR></TABLE>
  • 13. SPANNING CELLS ACROSS SEVERAL COLUMNS • <TD COLSPAN= no. of column to span>- used to define number of column will span. Use this attribute inside the <TD> tag. • <TABLE BORDER> • <TR> • <TD COLSPAN= 3>A cell spanning three columns. </TD> • <TR></TABLE>
  • 14. MODIFYING THE STRUCTURE OF A TABLE • ENHANCING BORDERS and ADJUSTING CELL SPACING. • <Table Border= 4> • <tr> • <td> This cell uses border number 4</td> • </tr></table> • <Table Border Cellspacing= 8> • <tr> • <td>This cell uses 8 pixels of space.</td> • </tr></table>
  • 15. CHANGING CONTENT ALIGNMENT • <Table border> • <tr align= right> • <td> the content here is right-aligned</td> • </tr> • <tr align= left> • <td> the content here is left-aligned</td> • </tr> • <tr align= center> • <td> the content here is centered</td> • </tr></table>
  • 16. ADJUSTING SPACE AROUND CONTENT. • <Table border cellpadding= 4> • <tr> • <td> The cells padded with 8 pixels around them> </td></tr></table> • ADDING IMAGE • <Table border> • <tr> • <td><img src= “dog.jpg”></td> • </tr></table> • Note: Images should be save in the folder of your web documents. Not all images is recognizable by some web browser.