SlideShare une entreprise Scribd logo
1  sur  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.

Contenu connexe

Tendances (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
 

Similaire à Html web designing using tables

Similaire à 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
 

Plus de Jesus Obenita Jr.

Plus de 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
 

Dernier

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
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
 
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
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Dernier (20)

From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
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
 
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
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 

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.