SlideShare a Scribd company logo
Adding Tables to your Web Page
Starter Activity: Scrolling Marquee
Investigate how to code a html scrolling marquee
and then create one that scrolls your name across
the screen.
Adding Tables to your Web Page
In this lesson you will learn how add tables with
multiple rows and columns using html. You will add
two tables on your zoo homepage. One to include
animals and the other form a website menu.
Lesson
Objectives
 Be able to create a table on a web page
 Be able to add color to a table on a web page
 Be able to add rows and columns to a table
 Be able to find errors in code
Adding Tables to your Web Page
Adding a Table to your Web page
Tables let people present data in a column format.
They are created through the use of a
<table>...</table> tag. Each column has its own
tag: <td>...</td>. The columns are surrounded by
the <tr>...</tr> tag.
Adding Tables to your Web Page
Task 13: Creating a Table
Load the text editor and enter the following code:
<html>
<head>
<title> This is a page using tables </title>
</head>
<body bgcolor="ffffff" text="000000">
<h1>A Web Page Using Tables</h1>
<table border="1">
<tr>
<td>This is column one</td>
<td>This is column two</td>
<td>This is column three</td>
</tr>
</table>
</body>
</html>
Save the file as table1.html and then preview your work.
Adding Tables to your Web Page
Task 14: Adding Colour to a Table
Load the text editor and open your HTML document: table1.html
At the relevant points add the tags and text that appear in red.
<table border="1">
<tr>
<td bgcolor="#000000">
<font color="#ffffff">
<b>This is column one</b>
<br>
I enjoy coding in HTML code.</font>
</td>
<td bgcolor="#bee3c2"> <b>This is column two</b></td>
<td bgcolor="#ff8000">
<font color="#804000">
<b>This is column three<br>I am so creative.</b>
</font>
</td>
</tr>
Save the file as table2.html and preview your work
Adding Tables to your Web Page
Task 15: Multiple Rows and Columns
Load the text editor and enter the following code:
<html>
<head>
<title> Rows </title>
</head>
<body>
<h1>Here's a table with two rows</h1>
<table border="1">
<tr>
<td>column 1 row 1</td>
<td>column 2 row 1</td>
</tr>
<tr>
<td>column 1 row 2</td>
<td>column 2 row 2</td>
</tr>
</table>
</body>
</html>
Save the file as table3.html and preview your work
Adding Tables to your Web Page
Task 16: Zoo Homepage
1.Load the text editor and open your HTML document: zoohomepage.html
2.Create a table 4 columns and 1 row towards the top of your page – this is
going form your website menu
3.Add an appropriate table background colour (For hex codes visit:
http://www.colorpicker.com/)
4.Add the word ‘Homepage’ in the first column, ‘Animals’ in the second,
‘Park Info’ in the third, ‘Photographs’ in the fourth and ‘Contact’ in the
fifth.
5.Create a second table complete with border at the bottom of your page;
3 columns and 3 rows
6.In each cell add the name of one animal that people can see at the zoo.
(Nine animals in total)
7.Save the document and then preview your work.
Adding Tables to your Web Page
Plenary: Find the Errors in this Code
<table boder="1">
<tr>
<td width="50%">
Red <br>
Yellow <br>
<td>
<td>
Black <br>
Pink <br>
</td>
</tr>
<tr>
<td>
<p>What is your favourite text colour?</p>
</td>
<td>
<img scr="red.jpg" />
</td>
</tr
<table>
Adding Tables to your Web Page
There are 5 in total
Answers: Find the Errors in this Code
<table border="1">
<tr>
<td width="50%">
Red <br>
Yellow <br>
</td>
<td>
Black <br>
Pink <br>
</td>
</tr>
<tr>
<td>
<p>What is your favourite text colour?</p>
</td>
<td>
<img src="red.jpg" />
</td>
</tr>
</table>
Adding Tables to your Web Page
There are 5 in total
Keywords
 Be able to create a table on a web page
 Be able to add color to a table on a web page
 Be able to add rows and columns to a table
 Be able to find errors in code
Objectives
 Marquee
 Table
 Rows
 Columns
 Cells




Adding Tables to your Web Page

More Related Content

What's hot

Html Table
Html TableHtml Table
Html Table
nehashinde41
 
HTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language) by MukeshHTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language) by Mukesh
Mukesh Kumar
 
HTML Table Tags
HTML Table TagsHTML Table Tags
HTML Table Tags
Kainat Ilyas
 
HTML: Tables and Forms
HTML: Tables and FormsHTML: Tables and Forms
HTML: Tables and Forms
BG Java EE Course
 
MS Office Tips
MS Office TipsMS Office Tips
MS Office Tips
TomCotton
 
HTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al BasetHTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al Baset
Abdulla-al Baset
 
Web forms and html (lect 3)
Web forms and html (lect 3)Web forms and html (lect 3)
Web forms and html (lect 3)
Salman Memon
 
CSS in HTML
CSS in HTMLCSS in HTML
CSS in HTML
Vineet Kumar Saini
 
Ado Presentation
Ado PresentationAdo Presentation
Ado Presentation
Rebecca Peltz
 
HTML Basic
HTML BasicHTML Basic
HTML Basic
Pranita Talwatkar
 
Html presentation
Html presentationHtml presentation
Html presentation
mamonare maake
 
Frames tables forms
Frames tables formsFrames tables forms
Frames tables forms
nobel mujuji
 
HTML
HTMLHTML
HTML
Spy Seat
 
html tags
 html tags html tags
html tags
YogeshDhamke2
 
FYBSC IT Web Programming Unit I HTML 5 & andcss
FYBSC IT Web Programming Unit I HTML 5 & andcssFYBSC IT Web Programming Unit I HTML 5 & andcss
FYBSC IT Web Programming Unit I HTML 5 & andcss
Arti Parab Academics
 
Web Fundamentals And Html Chapter 1
Web Fundamentals And Html Chapter 1Web Fundamentals And Html Chapter 1
Web Fundamentals And Html Chapter 1
raileeanne
 
Html3
Html3Html3
Html3
Html3Html3
Html tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.comHtml tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.com
ShwetaAggarwal56
 
Html 5-tables-forms-frames (1)
Html 5-tables-forms-frames (1)Html 5-tables-forms-frames (1)
Html 5-tables-forms-frames (1)
club23
 

What's hot (20)

Html Table
Html TableHtml Table
Html Table
 
HTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language) by MukeshHTML (Hyper Text Markup Language) by Mukesh
HTML (Hyper Text Markup Language) by Mukesh
 
HTML Table Tags
HTML Table TagsHTML Table Tags
HTML Table Tags
 
HTML: Tables and Forms
HTML: Tables and FormsHTML: Tables and Forms
HTML: Tables and Forms
 
MS Office Tips
MS Office TipsMS Office Tips
MS Office Tips
 
HTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al BasetHTML [Basic] --by Abdulla-al Baset
HTML [Basic] --by Abdulla-al Baset
 
Web forms and html (lect 3)
Web forms and html (lect 3)Web forms and html (lect 3)
Web forms and html (lect 3)
 
CSS in HTML
CSS in HTMLCSS in HTML
CSS in HTML
 
Ado Presentation
Ado PresentationAdo Presentation
Ado Presentation
 
HTML Basic
HTML BasicHTML Basic
HTML Basic
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Frames tables forms
Frames tables formsFrames tables forms
Frames tables forms
 
HTML
HTMLHTML
HTML
 
html tags
 html tags html tags
html tags
 
FYBSC IT Web Programming Unit I HTML 5 & andcss
FYBSC IT Web Programming Unit I HTML 5 & andcssFYBSC IT Web Programming Unit I HTML 5 & andcss
FYBSC IT Web Programming Unit I HTML 5 & andcss
 
Web Fundamentals And Html Chapter 1
Web Fundamentals And Html Chapter 1Web Fundamentals And Html Chapter 1
Web Fundamentals And Html Chapter 1
 
Html3
Html3Html3
Html3
 
Html3
Html3Html3
Html3
 
Html tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.comHtml tutorials by www.dmdiploma.com
Html tutorials by www.dmdiploma.com
 
Html 5-tables-forms-frames (1)
Html 5-tables-forms-frames (1)Html 5-tables-forms-frames (1)
Html 5-tables-forms-frames (1)
 

Similar to Adding tables to your web page

PPT-203105353-1.pdf
PPT-203105353-1.pdfPPT-203105353-1.pdf
PPT-203105353-1.pdf
PINTUCHAUHAN8
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
DipaliJagtap6
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
Taha Malampatti
 
Unit 2 (it workshop)
Unit 2 (it workshop)Unit 2 (it workshop)
Unit 2 (it workshop)
Dr.Lokesh Gagnani
 
belajar HTML 3
belajar HTML 3belajar HTML 3
Html
HtmlHtml
HyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.pptHyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.ppt
DrShamikTiwari
 
HTML Tutorials
HTML TutorialsHTML Tutorials
HTML Tutorials
Arvind Kumar
 
BITM3730 9-13.pptx
BITM3730 9-13.pptxBITM3730 9-13.pptx
BITM3730 9-13.pptx
MattMarino13
 
Html and css
Html and cssHtml and css
CSUN 2020: CSS Display Properties Versus HTML Semantics
CSUN 2020: CSS Display Properties Versus HTML SemanticsCSUN 2020: CSS Display Properties Versus HTML Semantics
CSUN 2020: CSS Display Properties Versus HTML Semantics
Adrian Roselli
 
Html 5
Html 5Html 5
Getting into HTML
Getting into HTMLGetting into HTML
Getting into HTML
ispkosova
 
HTML 4.0
HTML 4.0HTML 4.0
Lect# 1 html part ii
Lect# 1 html part iiLect# 1 html part ii
Lect# 1 html part ii
MuhammadAbdulSattarC
 
Chapter 4 class presentation
Chapter 4 class presentationChapter 4 class presentation
Chapter 4 class presentation
cmurphysvhs
 
Chapter 4 class presentation
Chapter 4 class presentationChapter 4 class presentation
Chapter 4 class presentation
cmurphysvhs
 
Unit 2.9 Tables
Unit 2.9 TablesUnit 2.9 Tables
Unit 2.9 Tables
Intan Jameel
 
29042023.pptx
29042023.pptx29042023.pptx
29042023.pptx
srinivasa gowda
 
Making your web page more interesting
Making your web page more interestingMaking your web page more interesting
Making your web page more interesting
cachs_computing
 

Similar to Adding tables to your web page (20)

PPT-203105353-1.pdf
PPT-203105353-1.pdfPPT-203105353-1.pdf
PPT-203105353-1.pdf
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
Unit 2 (it workshop)
Unit 2 (it workshop)Unit 2 (it workshop)
Unit 2 (it workshop)
 
belajar HTML 3
belajar HTML 3belajar HTML 3
belajar HTML 3
 
Html
HtmlHtml
Html
 
HyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.pptHyperTextMarkupLanguage.ppt
HyperTextMarkupLanguage.ppt
 
HTML Tutorials
HTML TutorialsHTML Tutorials
HTML Tutorials
 
BITM3730 9-13.pptx
BITM3730 9-13.pptxBITM3730 9-13.pptx
BITM3730 9-13.pptx
 
Html and css
Html and cssHtml and css
Html and css
 
CSUN 2020: CSS Display Properties Versus HTML Semantics
CSUN 2020: CSS Display Properties Versus HTML SemanticsCSUN 2020: CSS Display Properties Versus HTML Semantics
CSUN 2020: CSS Display Properties Versus HTML Semantics
 
Html 5
Html 5Html 5
Html 5
 
Getting into HTML
Getting into HTMLGetting into HTML
Getting into HTML
 
HTML 4.0
HTML 4.0HTML 4.0
HTML 4.0
 
Lect# 1 html part ii
Lect# 1 html part iiLect# 1 html part ii
Lect# 1 html part ii
 
Chapter 4 class presentation
Chapter 4 class presentationChapter 4 class presentation
Chapter 4 class presentation
 
Chapter 4 class presentation
Chapter 4 class presentationChapter 4 class presentation
Chapter 4 class presentation
 
Unit 2.9 Tables
Unit 2.9 TablesUnit 2.9 Tables
Unit 2.9 Tables
 
29042023.pptx
29042023.pptx29042023.pptx
29042023.pptx
 
Making your web page more interesting
Making your web page more interestingMaking your web page more interesting
Making your web page more interesting
 

More from cachs_computing

It and computing assessment
It and computing assessmentIt and computing assessment
It and computing assessment
cachs_computing
 
Forest archery game
Forest archery gameForest archery game
Forest archery game
cachs_computing
 
Scratching the surface
Scratching the surfaceScratching the surface
Scratching the surface
cachs_computing
 
Creating your first web page
Creating your first web pageCreating your first web page
Creating your first web page
cachs_computing
 
Introduction
IntroductionIntroduction
Introduction
cachs_computing
 
Desktop publishing
Desktop publishingDesktop publishing
Desktop publishing
cachs_computing
 
Spreadsheets
SpreadsheetsSpreadsheets
Spreadsheets
cachs_computing
 
Internet
InternetInternet
Internet
cachs_computing
 
Getting technical introduction
Getting technical introductionGetting technical introduction
Getting technical introduction
cachs_computing
 
It and computing assessment
It and computing assessmentIt and computing assessment
It and computing assessment
cachs_computing
 
Introduction
IntroductionIntroduction
Introduction
cachs_computing
 
Word processing 2
Word processing 2Word processing 2
Word processing 2
cachs_computing
 
Word processing 1
Word processing 1Word processing 1
Word processing 1
cachs_computing
 
Desktop publishing
Desktop publishingDesktop publishing
Desktop publishing
cachs_computing
 
Spreadsheets
SpreadsheetsSpreadsheets
Spreadsheets
cachs_computing
 
Introduction functional skills
Introduction functional skillsIntroduction functional skills
Introduction functional skills
cachs_computing
 
Internet
InternetInternet
Internet
cachs_computing
 
Search engines
Search enginesSearch engines
Search engines
cachs_computing
 
Fetch execute cycle
Fetch execute cycleFetch execute cycle
Fetch execute cycle
cachs_computing
 
Algorithms
AlgorithmsAlgorithms
Algorithms
cachs_computing
 

More from cachs_computing (20)

It and computing assessment
It and computing assessmentIt and computing assessment
It and computing assessment
 
Forest archery game
Forest archery gameForest archery game
Forest archery game
 
Scratching the surface
Scratching the surfaceScratching the surface
Scratching the surface
 
Creating your first web page
Creating your first web pageCreating your first web page
Creating your first web page
 
Introduction
IntroductionIntroduction
Introduction
 
Desktop publishing
Desktop publishingDesktop publishing
Desktop publishing
 
Spreadsheets
SpreadsheetsSpreadsheets
Spreadsheets
 
Internet
InternetInternet
Internet
 
Getting technical introduction
Getting technical introductionGetting technical introduction
Getting technical introduction
 
It and computing assessment
It and computing assessmentIt and computing assessment
It and computing assessment
 
Introduction
IntroductionIntroduction
Introduction
 
Word processing 2
Word processing 2Word processing 2
Word processing 2
 
Word processing 1
Word processing 1Word processing 1
Word processing 1
 
Desktop publishing
Desktop publishingDesktop publishing
Desktop publishing
 
Spreadsheets
SpreadsheetsSpreadsheets
Spreadsheets
 
Introduction functional skills
Introduction functional skillsIntroduction functional skills
Introduction functional skills
 
Internet
InternetInternet
Internet
 
Search engines
Search enginesSearch engines
Search engines
 
Fetch execute cycle
Fetch execute cycleFetch execute cycle
Fetch execute cycle
 
Algorithms
AlgorithmsAlgorithms
Algorithms
 

Recently uploaded

Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 

Recently uploaded (20)

Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 

Adding tables to your web page

  • 1. Adding Tables to your Web Page
  • 2. Starter Activity: Scrolling Marquee Investigate how to code a html scrolling marquee and then create one that scrolls your name across the screen. Adding Tables to your Web Page
  • 3. In this lesson you will learn how add tables with multiple rows and columns using html. You will add two tables on your zoo homepage. One to include animals and the other form a website menu. Lesson Objectives  Be able to create a table on a web page  Be able to add color to a table on a web page  Be able to add rows and columns to a table  Be able to find errors in code Adding Tables to your Web Page
  • 4. Adding a Table to your Web page Tables let people present data in a column format. They are created through the use of a <table>...</table> tag. Each column has its own tag: <td>...</td>. The columns are surrounded by the <tr>...</tr> tag. Adding Tables to your Web Page
  • 5. Task 13: Creating a Table Load the text editor and enter the following code: <html> <head> <title> This is a page using tables </title> </head> <body bgcolor="ffffff" text="000000"> <h1>A Web Page Using Tables</h1> <table border="1"> <tr> <td>This is column one</td> <td>This is column two</td> <td>This is column three</td> </tr> </table> </body> </html> Save the file as table1.html and then preview your work. Adding Tables to your Web Page
  • 6. Task 14: Adding Colour to a Table Load the text editor and open your HTML document: table1.html At the relevant points add the tags and text that appear in red. <table border="1"> <tr> <td bgcolor="#000000"> <font color="#ffffff"> <b>This is column one</b> <br> I enjoy coding in HTML code.</font> </td> <td bgcolor="#bee3c2"> <b>This is column two</b></td> <td bgcolor="#ff8000"> <font color="#804000"> <b>This is column three<br>I am so creative.</b> </font> </td> </tr> Save the file as table2.html and preview your work Adding Tables to your Web Page
  • 7. Task 15: Multiple Rows and Columns Load the text editor and enter the following code: <html> <head> <title> Rows </title> </head> <body> <h1>Here's a table with two rows</h1> <table border="1"> <tr> <td>column 1 row 1</td> <td>column 2 row 1</td> </tr> <tr> <td>column 1 row 2</td> <td>column 2 row 2</td> </tr> </table> </body> </html> Save the file as table3.html and preview your work Adding Tables to your Web Page
  • 8. Task 16: Zoo Homepage 1.Load the text editor and open your HTML document: zoohomepage.html 2.Create a table 4 columns and 1 row towards the top of your page – this is going form your website menu 3.Add an appropriate table background colour (For hex codes visit: http://www.colorpicker.com/) 4.Add the word ‘Homepage’ in the first column, ‘Animals’ in the second, ‘Park Info’ in the third, ‘Photographs’ in the fourth and ‘Contact’ in the fifth. 5.Create a second table complete with border at the bottom of your page; 3 columns and 3 rows 6.In each cell add the name of one animal that people can see at the zoo. (Nine animals in total) 7.Save the document and then preview your work. Adding Tables to your Web Page
  • 9. Plenary: Find the Errors in this Code <table boder="1"> <tr> <td width="50%"> Red <br> Yellow <br> <td> <td> Black <br> Pink <br> </td> </tr> <tr> <td> <p>What is your favourite text colour?</p> </td> <td> <img scr="red.jpg" /> </td> </tr <table> Adding Tables to your Web Page There are 5 in total
  • 10. Answers: Find the Errors in this Code <table border="1"> <tr> <td width="50%"> Red <br> Yellow <br> </td> <td> Black <br> Pink <br> </td> </tr> <tr> <td> <p>What is your favourite text colour?</p> </td> <td> <img src="red.jpg" /> </td> </tr> </table> Adding Tables to your Web Page There are 5 in total
  • 11. Keywords  Be able to create a table on a web page  Be able to add color to a table on a web page  Be able to add rows and columns to a table  Be able to find errors in code Objectives  Marquee  Table  Rows  Columns  Cells     Adding Tables to your Web Page