SlideShare a Scribd company logo
HTML 4
Hypertext Markup Language
Tables, Lists & Links
Science & Art MultimediaScience & Art Multimedia
HTML – Tables
Why tables are important:
• to maintain the elements of your website
• to be creative with the design of pages
• to separate & organize different formatting styles
<table> to begin table
<tr> defines beginning of first row
<td> defines beginning of the cell
</td> to complete cell
</tr> to complete row
</table> to end table
Basic Table tags:
These attributes all rest inside the first table tag:
<table
border=0 (invisible border – very common)
border=10 (by default takes up 2 pixels of space)
bordercolor=“red”
bgcolor=“yellow”
width=320 (there is a height tag but not often used)
align=center (left or right) (allows text to wrap)
<br clear=left or right or all> (to stop wrap)
valign=top (top, middle, bottom or baseline)
hspace=20 vspace=20 (border around picture)
colspan=2 (cell spanning more then one column)
rowspan=2 (cell spanning more then one row)
>
Table Code: Exploring Different Attributes
cellspacing=0 determines the number of pixels
between each cell
(default is 2 pixels)
cellpadding=0 determines the number of pixels
between the contents and the cell
wall
(default is 1 pixel)
Setting cells to =0 is common in layout design
<!--browsers can be finicky so make sure to set
border=0 to ensure there is no space between any
web page elements (if desired)-->
Table Code:
HTML – Lists
Why lists are important:
• they are widely used on links pages
• they help in the organization of data
• they are quick and easy to create
Creating Lists:
• first determine the style of list
• then determine the content
(sometimes writing this out first helps)
• there are two main types of lists:
• ordered lists: perfect for giving step-by-step
instructions to a visitor
(numbers, roman numerals or letters)
• unordered lists: mostly used to simply list items
on a web page such as links
(discs, round or square bullets)
<ol> to begin ordered list
<li> list item </li>
</ol> to end ordered list
<ul> to begin unordered list
<li> list item </li>
</ul> to end unordered list
Basic List tags:
List Code: in Notepad
These all rest inside the first list tag:
<ol
type=I or i (for large or small roman numerals)
type=A or a (for capital or small letters)
type=1 (for numbers, which is the default)
>
<ul
type=disc (the default for first level lists)
type=round (the default for second level lists)
type=square (the default for third level lists)
>
List Code: Exploring Different Attributes
Nested Lists are useful for creating website
site maps , and are simply just lists inside of lists:
<ol>
<li> Introduction </li>
<ol> <!-- indenting helps organize code -->
<li> Are lists fun? </li>
<li> Are lists not fun? </li>
</ol>
<li> Conclusion </li>
<ol>
<li> Lists are fun  </li>
<li> Lists are not fun  </li>
</ol>
</ol>
List Code: Nested Lists (pg.141)
HTML – Links
Why links are important:
• to let visitors easily browse your webpages
• to execute or download files (ie. movies, pdf’s, etc.)
• to create the ability to browse via a text or image
• to let users easily move to & from a particular spot
Links have three parts: destination, label & target
• destination: determines where link will go
(another page, a movie or an anchor)
• label: determines what visitors see and click on
(text, image or combination)
• target: determines where destination is seen
(in new window or frame, etc.) (pg. 122)
Creating Links:
NOTE: Planning determines where viewers can and cannot go?
• Absolute: shows entire path to file “elephant.jpg”
(http://www.site.com/web/images/elephant.jpg)
• Relative: seen when on website (zoo.html)
(“images/elephant.jpg”)
Another type of link is:
• Local: an anchor to and from a particular spot
(<a href=“#bottom”>Go to Bottom</a>)
(<a name=“bottom”></a>)
Two types of Links: Absolute & Relative
Relative: as if going to page on your site
<a href=“welcome.html”>Welcome</a>
Absolute: as if going to another site
<a href=
“http://www.ibm.com/web/home.html”>
IBM Home</a>
Basic Link tags:
Link Code: in Notepad
Changing the color of links:
Must reside in the <body tag:
link= changes color of link not used yet
vlink= changes color of link already visited
alink= changes color of link when clicked
> example: (<body link=“black”>)
<!-- used to coordinate colors on pages.
If a clients website is black & red, you may
not want to have the standard blue links.
Viewers still need to know it’s a link-->
Link Code: Exploring Different Attributes
Link Pages to Make a Website:
a b o u tu s .h tm l s e r v ic e s .h tm l c o n ta c tu s .h tm l
m a r k e tin g .h tm l
h o m e .h tm l
in d e x .h tm l
Write out an organization chart for the
pages your website will contain.
* most browsers only
look for index.html
(contain meta tags)
Link Pages to Make a Website:
• create a new folder on your desktop
(site name?) (remember to use lowercase)
• in notepad create index.html (in folder)
• in notepad create the home, aboutus,
services and contactus pages
• create folder in website called marketing
and create a page called marketing.html
• link all the pages
HTML – Practice Assignment
Create a Links page for your website:
• put links inside a table using a list
• do research for relevant links
• explore your textbook for all the
different options you can utilize
• maybe use a picture link
NOTE: This is not for marks but is valuable to include in your website.

More Related Content

What's hot

Responsive web design with html5 and css3
Responsive web design with html5 and css3Responsive web design with html5 and css3
Responsive web design with html5 and css3
Divya Tiwari
 
Girls Can Code East Brunswick Workshop Notes
Girls Can Code East Brunswick Workshop NotesGirls Can Code East Brunswick Workshop Notes
Girls Can Code East Brunswick Workshop Notes
Kayla Leung
 
Cascading style sheet
Cascading style sheetCascading style sheet
Cascading style sheet
Michael Jhon
 
Html
HtmlHtml
Html
HtmlHtml
Css
CssCss
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
Dave Kelly
 
CSS Refresher
CSS RefresherCSS Refresher
CSS Refresher
Gerson Abesamis
 
CSS 101
CSS 101CSS 101
CSS 101
dunclair
 
Css.html
Css.htmlCss.html
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
Eliran Eliassy
 
GCC 10-9-15
GCC 10-9-15GCC 10-9-15
GCC 10-9-15
Kayla Leung
 
Css
CssCss
Css
CssCss
HTML(5) and CSS(3) for beginners - I
HTML(5) and CSS(3) for beginners - IHTML(5) and CSS(3) for beginners - I
HTML(5) and CSS(3) for beginners - I
vincentleeuwen
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Mario Hernandez
 
Beginners css tutorial for web designers
Beginners css tutorial for web designersBeginners css tutorial for web designers
Beginners css tutorial for web designers
Singsys Pte Ltd
 
HTML CSS Basics
HTML CSS BasicsHTML CSS Basics
HTML CSS Basics
Mai Moustafa
 
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
Patrick Lauke
 

What's hot (20)

Responsive web design with html5 and css3
Responsive web design with html5 and css3Responsive web design with html5 and css3
Responsive web design with html5 and css3
 
Girls Can Code East Brunswick Workshop Notes
Girls Can Code East Brunswick Workshop NotesGirls Can Code East Brunswick Workshop Notes
Girls Can Code East Brunswick Workshop Notes
 
Cascading style sheet
Cascading style sheetCascading style sheet
Cascading style sheet
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Css
CssCss
Css
 
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
 
CSS Refresher
CSS RefresherCSS Refresher
CSS Refresher
 
CSS 101
CSS 101CSS 101
CSS 101
 
Css.html
Css.htmlCss.html
Css.html
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
 
GCC 10-9-15
GCC 10-9-15GCC 10-9-15
GCC 10-9-15
 
Css
CssCss
Css
 
Css
CssCss
Css
 
HTML(5) and CSS(3) for beginners - I
HTML(5) and CSS(3) for beginners - IHTML(5) and CSS(3) for beginners - I
HTML(5) and CSS(3) for beginners - I
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Beginners css tutorial for web designers
Beginners css tutorial for web designersBeginners css tutorial for web designers
Beginners css tutorial for web designers
 
HTML CSS Basics
HTML CSS BasicsHTML CSS Basics
HTML CSS Basics
 
Css
CssCss
Css
 
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
 

Similar to Table tags 2

Html
HtmlHtml
Html
HtmlHtml
Html.ppt
Html.pptHtml.ppt
Html.ppt
oleksandro
 
HTML Webinar Class
HTML Webinar ClassHTML Webinar Class
HTML Webinar Class
Brian Pichman
 
Html
HtmlHtml
Html4
Html4Html4
Html and css
Html and cssHtml and css
Html and css
Sukrit Gupta
 
Web Design
Web DesignWeb Design
Web Design
Mr_Casey
 
FFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTMLFFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTML
Toni Kolev
 
HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptx
wewit44414
 
HTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).pptHTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).ppt
Dianajeon3
 
Howcssworks 100207024009-phpapp01
Howcssworks 100207024009-phpapp01Howcssworks 100207024009-phpapp01
Howcssworks 100207024009-phpapp01
Likitha47
 
Scalar quick guide
Scalar quick guideScalar quick guide
Scalar quick guide
Vicki Callahan
 
1-22-24 INFO 2106.pptx
1-22-24 INFO 2106.pptx1-22-24 INFO 2106.pptx
1-22-24 INFO 2106.pptx
MattMarino13
 
LS2.1_V1_HTML.pptx
LS2.1_V1_HTML.pptxLS2.1_V1_HTML.pptx
LS2.1_V1_HTML.pptx
LokeshS94
 
Learning HTML - ILEAD USA
Learning HTML - ILEAD USA  Learning HTML - ILEAD USA
Learning HTML - ILEAD USA
Brian Pichman
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptx
MattMarino13
 
Introduction to HTML programming for webpages.pdf
Introduction to HTML programming for webpages.pdfIntroduction to HTML programming for webpages.pdf
Introduction to HTML programming for webpages.pdf
Mahmoud268161
 
Episode 14 - Basics of HTML for Salesforce
Episode 14 - Basics of HTML for SalesforceEpisode 14 - Basics of HTML for Salesforce
Episode 14 - Basics of HTML for Salesforce
Jitendra Zaa
 
Html presentation
Html presentationHtml presentation
Html presentation
Jordan Dichev
 

Similar to Table tags 2 (20)

Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 
Html.ppt
Html.pptHtml.ppt
Html.ppt
 
HTML Webinar Class
HTML Webinar ClassHTML Webinar Class
HTML Webinar Class
 
Html
HtmlHtml
Html
 
Html4
Html4Html4
Html4
 
Html and css
Html and cssHtml and css
Html and css
 
Web Design
Web DesignWeb Design
Web Design
 
FFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTMLFFW Gabrovo PMG - HTML
FFW Gabrovo PMG - HTML
 
HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptx
 
HTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).pptHTML_JavaScript_Malaysia_2008 (2).ppt
HTML_JavaScript_Malaysia_2008 (2).ppt
 
Howcssworks 100207024009-phpapp01
Howcssworks 100207024009-phpapp01Howcssworks 100207024009-phpapp01
Howcssworks 100207024009-phpapp01
 
Scalar quick guide
Scalar quick guideScalar quick guide
Scalar quick guide
 
1-22-24 INFO 2106.pptx
1-22-24 INFO 2106.pptx1-22-24 INFO 2106.pptx
1-22-24 INFO 2106.pptx
 
LS2.1_V1_HTML.pptx
LS2.1_V1_HTML.pptxLS2.1_V1_HTML.pptx
LS2.1_V1_HTML.pptx
 
Learning HTML - ILEAD USA
Learning HTML - ILEAD USA  Learning HTML - ILEAD USA
Learning HTML - ILEAD USA
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptx
 
Introduction to HTML programming for webpages.pdf
Introduction to HTML programming for webpages.pdfIntroduction to HTML programming for webpages.pdf
Introduction to HTML programming for webpages.pdf
 
Episode 14 - Basics of HTML for Salesforce
Episode 14 - Basics of HTML for SalesforceEpisode 14 - Basics of HTML for Salesforce
Episode 14 - Basics of HTML for Salesforce
 
Html presentation
Html presentationHtml presentation
Html presentation
 

More from cherrybear2014

Excel.t01
Excel.t01Excel.t01
Excel.t01
cherrybear2014
 
Excel functions
Excel functionsExcel functions
Excel functions
cherrybear2014
 
Basics excel 20102
Basics excel 20102Basics excel 20102
Basics excel 20102
cherrybear2014
 
Uml
UmlUml
Session2
Session2Session2
Session2
cherrybear2014
 
11 scripting languages
11 scripting languages11 scripting languages
11 scripting languages
cherrybear2014
 
5 software design
5 software design5 software design
5 software design
cherrybear2014
 
Intro to html
Intro to htmlIntro to html
Intro to html
cherrybear2014
 
Designing the product page
Designing the product pageDesigning the product page
Designing the product page
cherrybear2014
 
Conditional statements
Conditional statementsConditional statements
Conditional statements
cherrybear2014
 
Check,combo,list,picture box
Check,combo,list,picture boxCheck,combo,list,picture box
Check,combo,list,picture box
cherrybear2014
 
Forms and buttons
Forms and buttonsForms and buttons
Forms and buttons
cherrybear2014
 

More from cherrybear2014 (12)

Excel.t01
Excel.t01Excel.t01
Excel.t01
 
Excel functions
Excel functionsExcel functions
Excel functions
 
Basics excel 20102
Basics excel 20102Basics excel 20102
Basics excel 20102
 
Uml
UmlUml
Uml
 
Session2
Session2Session2
Session2
 
11 scripting languages
11 scripting languages11 scripting languages
11 scripting languages
 
5 software design
5 software design5 software design
5 software design
 
Intro to html
Intro to htmlIntro to html
Intro to html
 
Designing the product page
Designing the product pageDesigning the product page
Designing the product page
 
Conditional statements
Conditional statementsConditional statements
Conditional statements
 
Check,combo,list,picture box
Check,combo,list,picture boxCheck,combo,list,picture box
Check,combo,list,picture box
 
Forms and buttons
Forms and buttonsForms and buttons
Forms and buttons
 

Recently uploaded

Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Azure API Management to expose backend services securely
Azure API Management to expose backend services securelyAzure API Management to expose backend services securely
Azure API Management to expose backend services securely
Dinusha Kumarasiri
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 

Recently uploaded (20)

Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Azure API Management to expose backend services securely
Azure API Management to expose backend services securelyAzure API Management to expose backend services securely
Azure API Management to expose backend services securely
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 

Table tags 2

  • 1. HTML 4 Hypertext Markup Language Tables, Lists & Links Science & Art MultimediaScience & Art Multimedia
  • 2. HTML – Tables Why tables are important: • to maintain the elements of your website • to be creative with the design of pages • to separate & organize different formatting styles
  • 3. <table> to begin table <tr> defines beginning of first row <td> defines beginning of the cell </td> to complete cell </tr> to complete row </table> to end table Basic Table tags:
  • 4. These attributes all rest inside the first table tag: <table border=0 (invisible border – very common) border=10 (by default takes up 2 pixels of space) bordercolor=“red” bgcolor=“yellow” width=320 (there is a height tag but not often used) align=center (left or right) (allows text to wrap) <br clear=left or right or all> (to stop wrap) valign=top (top, middle, bottom or baseline) hspace=20 vspace=20 (border around picture) colspan=2 (cell spanning more then one column) rowspan=2 (cell spanning more then one row) > Table Code: Exploring Different Attributes
  • 5. cellspacing=0 determines the number of pixels between each cell (default is 2 pixels) cellpadding=0 determines the number of pixels between the contents and the cell wall (default is 1 pixel) Setting cells to =0 is common in layout design <!--browsers can be finicky so make sure to set border=0 to ensure there is no space between any web page elements (if desired)--> Table Code:
  • 6. HTML – Lists Why lists are important: • they are widely used on links pages • they help in the organization of data • they are quick and easy to create
  • 7. Creating Lists: • first determine the style of list • then determine the content (sometimes writing this out first helps) • there are two main types of lists: • ordered lists: perfect for giving step-by-step instructions to a visitor (numbers, roman numerals or letters) • unordered lists: mostly used to simply list items on a web page such as links (discs, round or square bullets)
  • 8. <ol> to begin ordered list <li> list item </li> </ol> to end ordered list <ul> to begin unordered list <li> list item </li> </ul> to end unordered list Basic List tags:
  • 9. List Code: in Notepad
  • 10. These all rest inside the first list tag: <ol type=I or i (for large or small roman numerals) type=A or a (for capital or small letters) type=1 (for numbers, which is the default) > <ul type=disc (the default for first level lists) type=round (the default for second level lists) type=square (the default for third level lists) > List Code: Exploring Different Attributes
  • 11. Nested Lists are useful for creating website site maps , and are simply just lists inside of lists: <ol> <li> Introduction </li> <ol> <!-- indenting helps organize code --> <li> Are lists fun? </li> <li> Are lists not fun? </li> </ol> <li> Conclusion </li> <ol> <li> Lists are fun  </li> <li> Lists are not fun  </li> </ol> </ol> List Code: Nested Lists (pg.141)
  • 12. HTML – Links Why links are important: • to let visitors easily browse your webpages • to execute or download files (ie. movies, pdf’s, etc.) • to create the ability to browse via a text or image • to let users easily move to & from a particular spot
  • 13. Links have three parts: destination, label & target • destination: determines where link will go (another page, a movie or an anchor) • label: determines what visitors see and click on (text, image or combination) • target: determines where destination is seen (in new window or frame, etc.) (pg. 122) Creating Links: NOTE: Planning determines where viewers can and cannot go?
  • 14. • Absolute: shows entire path to file “elephant.jpg” (http://www.site.com/web/images/elephant.jpg) • Relative: seen when on website (zoo.html) (“images/elephant.jpg”) Another type of link is: • Local: an anchor to and from a particular spot (<a href=“#bottom”>Go to Bottom</a>) (<a name=“bottom”></a>) Two types of Links: Absolute & Relative
  • 15. Relative: as if going to page on your site <a href=“welcome.html”>Welcome</a> Absolute: as if going to another site <a href= “http://www.ibm.com/web/home.html”> IBM Home</a> Basic Link tags:
  • 16. Link Code: in Notepad
  • 17. Changing the color of links: Must reside in the <body tag: link= changes color of link not used yet vlink= changes color of link already visited alink= changes color of link when clicked > example: (<body link=“black”>) <!-- used to coordinate colors on pages. If a clients website is black & red, you may not want to have the standard blue links. Viewers still need to know it’s a link--> Link Code: Exploring Different Attributes
  • 18. Link Pages to Make a Website: a b o u tu s .h tm l s e r v ic e s .h tm l c o n ta c tu s .h tm l m a r k e tin g .h tm l h o m e .h tm l in d e x .h tm l Write out an organization chart for the pages your website will contain. * most browsers only look for index.html (contain meta tags)
  • 19. Link Pages to Make a Website: • create a new folder on your desktop (site name?) (remember to use lowercase) • in notepad create index.html (in folder) • in notepad create the home, aboutus, services and contactus pages • create folder in website called marketing and create a page called marketing.html • link all the pages
  • 20. HTML – Practice Assignment Create a Links page for your website: • put links inside a table using a list • do research for relevant links • explore your textbook for all the different options you can utilize • maybe use a picture link NOTE: This is not for marks but is valuable to include in your website.