SlideShare uma empresa Scribd logo
1 de 19
WEEK 5 
WEEK 5: 
LISTS, 
ATTRIBUTES AND 
LINKS
WHAT YOU ALREADY KNOW… 
• HTML stands for Hypertext Markup Language, Its not a programming language but 
rather a way of describing something
WHAT YOU ALREADY KNOW… 
• <p> </p> = paragraph tag, for creating separation between areas of text 
• HTML has 6 available heading tags: <h1> - <h6> 
• The first heading tag <h1> is the biggest and boldest 
• <h1> should only be used once per page 
• Other headings can be as sub headings <h2> - <h6> 
• <strong> - used to make portions or single words strong which appears 
as bold 
• <em> - used to make text or single words emphasized or italicized 
• <br /> - used to insert a lines break in text – self closing 
• <hr /> - used to insert a horizontal rule usually to indicate a new section of 
text or for visual interest – self closing
WEEK 5 
LISTS
UNORDERED LIST 
• An unordered list starts with the <ul> tag and ends with the 
closing </ul> tag. 
• Each list item in the lists starts with the <li> tag and ends with the 
</li> tag. 
• Inside a list item you can put text, line breaks, images, links, other 
lists, etc. 
• The list items are marked with bullets (typically small black circles) 
<ul> 
<li>List Item</li> 
<li>List Item</li> 
<li>List Item</li> 
</ul>
ORDERED LIST 
• An ordered list starts with the <ol> tag and ends with the closing 
</ol> tag. 
• Each list item in the lists starts with the <li> tag and ends with the 
</li> tag. 
• Inside a list item you can put text, line breaks, images, links, other 
lists, etc. 
• The list items are marked with numbers 
<ol> 
<li>The first list item</li> 
<li>The second list item</li> 
<li>The third list item</li> 
</ol>
FORMATTING WITH 
THE UL AND OL TAGS 
<!DOCTYPE html> 
<html> 
<head> 
<title>Title of the document</title> 
</head> 
<body> 
<p>Just some <strong>random text</strong>to make a 
paragraph. Just some random text to make a paragraph. Just 
some random text to make a paragraph.</p> 
<ul> 
<li>Whole Wheat Bread</li> 
<li>Milk</li> 
<li>Eggs</li> 
</ul> 
</body> 
</html>
FORMATTING WITH 
THE UL AND OL TAGS 
<!DOCTYPE html> 
<html> 
<head> 
<title>Title of the document</title> 
</head> 
<body> 
<p>Just some <strong>random text</strong>to make a 
paragraph. Just some random text to make a paragraph. Just 
some random text to make a paragraph.</p> 
<ol> 
<li>Whole Wheat Bread</li> 
<li>Milk</li> 
<li>Eggs</li> 
</ol> 
</body> 
</html>
WEEK 5 
ATTRIBUTES
HTML ATTRIBUTES 
• HTML tags can have attributes, attributes provide additional 
information to the HTML tag 
• Some HTML tags require attributes to work 
• E.g. We can use the <img/> tag to place an image on our 
page but the “attributes” actually specify which images to 
use and where the image is located. 
• Without the attribute, the tag is not complete and will not 
work 
• Attributes are always specified in the opening tag 
• Attributes come in name/value pairs like: name=“value” 
• Attribute values should always be enclosed in quotes
HTML ATTRIBUTES: LINKS 
• HTML links are defined with the <a> tag 
• The link address or link destination is specified in the “href” 
attribute: 
• <a>This link will not work because there is no attribute 
assigned</a> 
• <a href=“http://www.w3schools.com”>This is a link</a>
WEEK 5 
LINKS
LINKS 
• The <a> tag defines a hyperlink, which is used to link from one 
page to another or to another destination of your choice. 
• The <a></a> tag requires both an opening and closing tag. 
• The most important part when creating any link is to include the 
“href” attribute, which indicates the link’s destination. Without the 
“href” attribute you are not creating a link. 
• “href” means “hyperlink reference” 
Any text between the opening and closing <a> tag will become 
the clickable text user click on, seen in blue below: 
<a href=“http://www.mohawkcollege.ca”>Link</a> (absolute path) 
<a href=“index.html”>Homepage</a> (relative path)
TYPES OF LINKS 
Absolute path hyperlinks 
<a href=“http://www.facebook.com”>Facebook</a> 
• These are links to webpages on the Internet and resources on 
the Internet 
Relative path hyperlinks 
<a href=“index.html”>My Homepage</a> 
• These are links to webpages and resources located within our 
“root” folder (stuff you have created) 
Email hyperlinks 
<a href=“mailto:info@mohawkcollege.ca”>Email Us</a>
ABSOLUTE PATH LINKS 
• They are the full url including the “http protocol” 
• They refer to a specific location on the web (a url), including 
the domain name, eg. facebook.com 
• Anytime you want to link to a resource outside of your “root” 
website folder you must use an absolute path. 
Example: 
<a href=“http://www.mohawkcollege.ca”>Mohawk College</a>
RELATIVE PATH LINKS 
• These are links to pages, images or other site assets within your 
website folder structure 
• They are “relative” to the location of your current page and the 
“root” folder 
• think that the files are related to each other like a sibling, living in 
the same site 
• They are not links to external websites, no http protocol is 
needed. 
Example: 
<a href=“index.html”>Home</a> 
<a href=“about.html”>About</a>
EMAIL LINKS 
• These are links to an email address. 
Example: 
<a href=“mailto:info@mohawkcollege.ca”>Email Us</a> 
• “mailto” is a simple protocol for sending emails 
• Any text between the opening and closing <a> tag will become the 
clickable text user click on, seen in blue above 
• In this example, clicking on the words Email Us, would open up the 
default email client on your computer
EMAIL LINKS 
• Email hyperlinks should also contain the “title” attribute 
• The “title” attribute provides a “tool tip” to the user when the 
mouse is placed over the link in the web bowser 
Example: 
<a href=“mailto:info@mohawkcollege.ca” title=“Email 
Mohawk”>Email Us</a>
ADDING LINKS 
<!DOCTYPE html> 
<html> … 
<body> 
<p>Just some random text to make a paragraph.</p> 
<ol> 
<li><a href=“about.html” title=“About the program”>Learn more about the 
program</a></li> 
<li><a href=“http://www.facebook.com/mohawkcollege.ca” 
title=“Connect with us on Facebook”>Connect with us on Facebook</a> 
</li> 
<li><a href=mailto:info@mohawkcollege.ca title=“Email Us”> 
Email Us<a></li> 
</ol> 
</body> 
</html>

Mais conteúdo relacionado

Mais procurados

Lesson 2: Getting To Know HTML
Lesson 2: Getting To Know HTMLLesson 2: Getting To Know HTML
Lesson 2: Getting To Know HTMLOlivia Moran
 
HTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifitsHTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifitsPro Guide
 
Html introduction by ikram niaz
Html introduction by ikram niazHtml introduction by ikram niaz
Html introduction by ikram niazikram niaz
 
HTML email design and usability
HTML email design and usabilityHTML email design and usability
HTML email design and usabilityKeith Kmett
 
Castro Chapter 3
Castro Chapter 3Castro Chapter 3
Castro Chapter 3Jeff Byrnes
 
Summary of-xhtml-basics
Summary of-xhtml-basicsSummary of-xhtml-basics
Summary of-xhtml-basicsstarlanter
 
How to Make HTML and CSS Files
How to Make HTML and CSS FilesHow to Make HTML and CSS Files
How to Make HTML and CSS FilesLearningNerd
 
HTML_Slideshow1
HTML_Slideshow1HTML_Slideshow1
HTML_Slideshow1ldehn
 
Basic HTML Tutorial For Beginners
Basic HTML Tutorial For BeginnersBasic HTML Tutorial For Beginners
Basic HTML Tutorial For BeginnersDHTMLExtreme
 
HTML5- Create divisions in a web page
HTML5- Create divisions in a web pageHTML5- Create divisions in a web page
HTML5- Create divisions in a web pageGrayzon Gonzales, LPT
 
How to create basic webpage
How to create basic webpageHow to create basic webpage
How to create basic webpageJames Erro
 

Mais procurados (20)

Web development basics
Web development basicsWeb development basics
Web development basics
 
HTML 5 Tutorial
HTML 5 TutorialHTML 5 Tutorial
HTML 5 Tutorial
 
Lesson 2: Getting To Know HTML
Lesson 2: Getting To Know HTMLLesson 2: Getting To Know HTML
Lesson 2: Getting To Know HTML
 
HTML Lesson 1
HTML Lesson 1HTML Lesson 1
HTML Lesson 1
 
HTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifitsHTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifits
 
Html introduction by ikram niaz
Html introduction by ikram niazHtml introduction by ikram niaz
Html introduction by ikram niaz
 
Links - IntraPage
Links - IntraPageLinks - IntraPage
Links - IntraPage
 
HTML5 - My First Webpage
HTML5 - My First Webpage HTML5 - My First Webpage
HTML5 - My First Webpage
 
HTML email design and usability
HTML email design and usabilityHTML email design and usability
HTML email design and usability
 
LINKING IN HTML
LINKING IN HTMLLINKING IN HTML
LINKING IN HTML
 
Castro Chapter 3
Castro Chapter 3Castro Chapter 3
Castro Chapter 3
 
Summary of-xhtml-basics
Summary of-xhtml-basicsSummary of-xhtml-basics
Summary of-xhtml-basics
 
How to Make HTML and CSS Files
How to Make HTML and CSS FilesHow to Make HTML and CSS Files
How to Make HTML and CSS Files
 
Html.ppt
Html.pptHtml.ppt
Html.ppt
 
1. html introduction
1. html introduction1. html introduction
1. html introduction
 
Html
HtmlHtml
Html
 
HTML_Slideshow1
HTML_Slideshow1HTML_Slideshow1
HTML_Slideshow1
 
Basic HTML Tutorial For Beginners
Basic HTML Tutorial For BeginnersBasic HTML Tutorial For Beginners
Basic HTML Tutorial For Beginners
 
HTML5- Create divisions in a web page
HTML5- Create divisions in a web pageHTML5- Create divisions in a web page
HTML5- Create divisions in a web page
 
How to create basic webpage
How to create basic webpageHow to create basic webpage
How to create basic webpage
 

Destaque

02. session 02 working with html elements
02. session 02   working with html elements02. session 02   working with html elements
02. session 02 working with html elementsPhúc Đỗ
 
Html text and formatting
Html text and formattingHtml text and formatting
Html text and formattingeShikshak
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlvikasgaur31
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLMayaLisa
 
Introduction to Slide Design: 7 Rules for Creating Effective Slides
Introduction to Slide Design: 7 Rules for Creating Effective SlidesIntroduction to Slide Design: 7 Rules for Creating Effective Slides
Introduction to Slide Design: 7 Rules for Creating Effective SlidesAlex Rister
 

Destaque (9)

02. session 02 working with html elements
02. session 02   working with html elements02. session 02   working with html elements
02. session 02 working with html elements
 
belajar HTML
belajar HTML belajar HTML
belajar HTML
 
Html text and formatting
Html text and formattingHtml text and formatting
Html text and formatting
 
HTML STYLES
HTML STYLESHTML STYLES
HTML STYLES
 
HTML Basic
HTML BasicHTML Basic
HTML Basic
 
Basic html
Basic htmlBasic html
Basic html
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Introduction to Slide Design: 7 Rules for Creating Effective Slides
Introduction to Slide Design: 7 Rules for Creating Effective SlidesIntroduction to Slide Design: 7 Rules for Creating Effective Slides
Introduction to Slide Design: 7 Rules for Creating Effective Slides
 

Semelhante a Week 5 Lecture

Learn html Basics
Learn html BasicsLearn html Basics
Learn html BasicsMcSoftsis
 
learnhtmlbyvipuladissanayake-170516061515 (1).pptx
learnhtmlbyvipuladissanayake-170516061515 (1).pptxlearnhtmlbyvipuladissanayake-170516061515 (1).pptx
learnhtmlbyvipuladissanayake-170516061515 (1).pptxManuAbraham17
 
1-22-24 INFO 2106.pptx
1-22-24 INFO 2106.pptx1-22-24 INFO 2106.pptx
1-22-24 INFO 2106.pptxMattMarino13
 
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 SalesforceJitendra Zaa
 
Learning html. (Part- 1)
Learning html. (Part- 1)Learning html. (Part- 1)
Learning html. (Part- 1)manya abrol
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptxMattMarino13
 
Xhtml and html5 basics
Xhtml and html5 basicsXhtml and html5 basics
Xhtml and html5 basicsmessinam
 
Web Design-III IT.ppt
Web Design-III IT.pptWeb Design-III IT.ppt
Web Design-III IT.pptbanu236831
 
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 & andcssArti Parab Academics
 
FEWDD Lec 1 web development presentation
FEWDD Lec 1 web development presentationFEWDD Lec 1 web development presentation
FEWDD Lec 1 web development presentationNamitSeth3
 
Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalorefathima12
 

Semelhante a Week 5 Lecture (20)

Learn html Basics
Learn html BasicsLearn html Basics
Learn html Basics
 
learnhtmlbyvipuladissanayake-170516061515 (1).pptx
learnhtmlbyvipuladissanayake-170516061515 (1).pptxlearnhtmlbyvipuladissanayake-170516061515 (1).pptx
learnhtmlbyvipuladissanayake-170516061515 (1).pptx
 
html
htmlhtml
html
 
Web Design.ppt
Web Design.pptWeb Design.ppt
Web Design.ppt
 
1-22-24 INFO 2106.pptx
1-22-24 INFO 2106.pptx1-22-24 INFO 2106.pptx
1-22-24 INFO 2106.pptx
 
Html
HtmlHtml
Html
 
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 Workshop
Html WorkshopHtml Workshop
Html Workshop
 
Unit 2 (html)
Unit 2  (html)Unit 2  (html)
Unit 2 (html)
 
Learning html. (Part- 1)
Learning html. (Part- 1)Learning html. (Part- 1)
Learning html. (Part- 1)
 
HTML Basics.pdf
HTML Basics.pdfHTML Basics.pdf
HTML Basics.pdf
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptx
 
Xhtml and html5 basics
Xhtml and html5 basicsXhtml and html5 basics
Xhtml and html5 basics
 
Web Design-III IT.ppt
Web Design-III IT.pptWeb Design-III IT.ppt
Web Design-III IT.ppt
 
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
 
FEWDD Lec 1 web development presentation
FEWDD Lec 1 web development presentationFEWDD Lec 1 web development presentation
FEWDD Lec 1 web development presentation
 
Html ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangaloreHtml ppt by Fathima faculty Hasanath college for women bangalore
Html ppt by Fathima faculty Hasanath college for women bangalore
 
Html notes
Html notesHtml notes
Html notes
 
Html
HtmlHtml
Html
 
Html
HtmlHtml
Html
 

Mais de Katherine McCurdy-Lapierre, R.G.D. (13)

Module 5 - WCM system comparison
Module 5 - WCM system comparison Module 5 - WCM system comparison
Module 5 - WCM system comparison
 
Module 4 - Dreamweaver Templates (Static vs. Dynamic Content)
Module 4 - Dreamweaver Templates (Static vs. Dynamic Content)Module 4 - Dreamweaver Templates (Static vs. Dynamic Content)
Module 4 - Dreamweaver Templates (Static vs. Dynamic Content)
 
Module 3 - Intro to Bootstrap
Module 3 - Intro to BootstrapModule 3 - Intro to Bootstrap
Module 3 - Intro to Bootstrap
 
Week 4 - tablet app design
Week 4 - tablet app designWeek 4 - tablet app design
Week 4 - tablet app design
 
Week 3 Lecture: Accessibility
Week 3 Lecture: AccessibilityWeek 3 Lecture: Accessibility
Week 3 Lecture: Accessibility
 
Interactive Web Design 5 - Week 2 - Introduction
Interactive Web Design 5 - Week 2 -  IntroductionInteractive Web Design 5 - Week 2 -  Introduction
Interactive Web Design 5 - Week 2 - Introduction
 
Week 12 CSS - Review from last week
Week 12 CSS - Review from last weekWeek 12 CSS - Review from last week
Week 12 CSS - Review from last week
 
Week 12 CSS Font - size
Week 12 CSS Font - sizeWeek 12 CSS Font - size
Week 12 CSS Font - size
 
Week 12 CSS Font - family
Week 12 CSS Font - familyWeek 12 CSS Font - family
Week 12 CSS Font - family
 
Week11 Lecture: CSS
Week11 Lecture: CSSWeek11 Lecture: CSS
Week11 Lecture: CSS
 
Week 4 Lecture Accessibility
Week 4 Lecture AccessibilityWeek 4 Lecture Accessibility
Week 4 Lecture Accessibility
 
Week2 lecture-whatiswebdesign-part1
Week2 lecture-whatiswebdesign-part1Week2 lecture-whatiswebdesign-part1
Week2 lecture-whatiswebdesign-part1
 
LecWeek2 lecture-whatiswebdesign-part2
LecWeek2 lecture-whatiswebdesign-part2LecWeek2 lecture-whatiswebdesign-part2
LecWeek2 lecture-whatiswebdesign-part2
 

Último

Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...liera silvan
 

Último (20)

YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
EmpTech Lesson 18 - ICT Project for Website Traffic Statistics and Performanc...
 

Week 5 Lecture

  • 1. WEEK 5 WEEK 5: LISTS, ATTRIBUTES AND LINKS
  • 2. WHAT YOU ALREADY KNOW… • HTML stands for Hypertext Markup Language, Its not a programming language but rather a way of describing something
  • 3. WHAT YOU ALREADY KNOW… • <p> </p> = paragraph tag, for creating separation between areas of text • HTML has 6 available heading tags: <h1> - <h6> • The first heading tag <h1> is the biggest and boldest • <h1> should only be used once per page • Other headings can be as sub headings <h2> - <h6> • <strong> - used to make portions or single words strong which appears as bold • <em> - used to make text or single words emphasized or italicized • <br /> - used to insert a lines break in text – self closing • <hr /> - used to insert a horizontal rule usually to indicate a new section of text or for visual interest – self closing
  • 5. UNORDERED LIST • An unordered list starts with the <ul> tag and ends with the closing </ul> tag. • Each list item in the lists starts with the <li> tag and ends with the </li> tag. • Inside a list item you can put text, line breaks, images, links, other lists, etc. • The list items are marked with bullets (typically small black circles) <ul> <li>List Item</li> <li>List Item</li> <li>List Item</li> </ul>
  • 6. ORDERED LIST • An ordered list starts with the <ol> tag and ends with the closing </ol> tag. • Each list item in the lists starts with the <li> tag and ends with the </li> tag. • Inside a list item you can put text, line breaks, images, links, other lists, etc. • The list items are marked with numbers <ol> <li>The first list item</li> <li>The second list item</li> <li>The third list item</li> </ol>
  • 7. FORMATTING WITH THE UL AND OL TAGS <!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> <p>Just some <strong>random text</strong>to make a paragraph. Just some random text to make a paragraph. Just some random text to make a paragraph.</p> <ul> <li>Whole Wheat Bread</li> <li>Milk</li> <li>Eggs</li> </ul> </body> </html>
  • 8. FORMATTING WITH THE UL AND OL TAGS <!DOCTYPE html> <html> <head> <title>Title of the document</title> </head> <body> <p>Just some <strong>random text</strong>to make a paragraph. Just some random text to make a paragraph. Just some random text to make a paragraph.</p> <ol> <li>Whole Wheat Bread</li> <li>Milk</li> <li>Eggs</li> </ol> </body> </html>
  • 10. HTML ATTRIBUTES • HTML tags can have attributes, attributes provide additional information to the HTML tag • Some HTML tags require attributes to work • E.g. We can use the <img/> tag to place an image on our page but the “attributes” actually specify which images to use and where the image is located. • Without the attribute, the tag is not complete and will not work • Attributes are always specified in the opening tag • Attributes come in name/value pairs like: name=“value” • Attribute values should always be enclosed in quotes
  • 11. HTML ATTRIBUTES: LINKS • HTML links are defined with the <a> tag • The link address or link destination is specified in the “href” attribute: • <a>This link will not work because there is no attribute assigned</a> • <a href=“http://www.w3schools.com”>This is a link</a>
  • 13. LINKS • The <a> tag defines a hyperlink, which is used to link from one page to another or to another destination of your choice. • The <a></a> tag requires both an opening and closing tag. • The most important part when creating any link is to include the “href” attribute, which indicates the link’s destination. Without the “href” attribute you are not creating a link. • “href” means “hyperlink reference” Any text between the opening and closing <a> tag will become the clickable text user click on, seen in blue below: <a href=“http://www.mohawkcollege.ca”>Link</a> (absolute path) <a href=“index.html”>Homepage</a> (relative path)
  • 14. TYPES OF LINKS Absolute path hyperlinks <a href=“http://www.facebook.com”>Facebook</a> • These are links to webpages on the Internet and resources on the Internet Relative path hyperlinks <a href=“index.html”>My Homepage</a> • These are links to webpages and resources located within our “root” folder (stuff you have created) Email hyperlinks <a href=“mailto:info@mohawkcollege.ca”>Email Us</a>
  • 15. ABSOLUTE PATH LINKS • They are the full url including the “http protocol” • They refer to a specific location on the web (a url), including the domain name, eg. facebook.com • Anytime you want to link to a resource outside of your “root” website folder you must use an absolute path. Example: <a href=“http://www.mohawkcollege.ca”>Mohawk College</a>
  • 16. RELATIVE PATH LINKS • These are links to pages, images or other site assets within your website folder structure • They are “relative” to the location of your current page and the “root” folder • think that the files are related to each other like a sibling, living in the same site • They are not links to external websites, no http protocol is needed. Example: <a href=“index.html”>Home</a> <a href=“about.html”>About</a>
  • 17. EMAIL LINKS • These are links to an email address. Example: <a href=“mailto:info@mohawkcollege.ca”>Email Us</a> • “mailto” is a simple protocol for sending emails • Any text between the opening and closing <a> tag will become the clickable text user click on, seen in blue above • In this example, clicking on the words Email Us, would open up the default email client on your computer
  • 18. EMAIL LINKS • Email hyperlinks should also contain the “title” attribute • The “title” attribute provides a “tool tip” to the user when the mouse is placed over the link in the web bowser Example: <a href=“mailto:info@mohawkcollege.ca” title=“Email Mohawk”>Email Us</a>
  • 19. ADDING LINKS <!DOCTYPE html> <html> … <body> <p>Just some random text to make a paragraph.</p> <ol> <li><a href=“about.html” title=“About the program”>Learn more about the program</a></li> <li><a href=“http://www.facebook.com/mohawkcollege.ca” title=“Connect with us on Facebook”>Connect with us on Facebook</a> </li> <li><a href=mailto:info@mohawkcollege.ca title=“Email Us”> Email Us<a></li> </ol> </body> </html>