SlideShare a Scribd company logo
1 of 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.

More Related Content

What's hot (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
 

Similar to Html web designing using tables

Similar to 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
 

More from Jesus Obenita Jr.

More from 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
 

Recently uploaded

A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 

Recently uploaded (20)

A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 

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.