SlideShare a Scribd company logo
WEB DEVELOPMENT & DESIGN
FOUNDATIONS WITH HTML5
Chapter 2
Key Concepts

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

1
HTML ELEMENTS
 containers

<p>Fourscore and 20 years ago...</p>
 empty elements

<hr>
<img src=”../images/anna.png”>

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

4
WHAT IS HTML5 ?
Newest draft version of HTML/XHTML
Intended to be backwards compatible
Adds many new elements

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

7
DOCUMENT TYPE DEFINITION

Document Type Definition

(DTD)
doctype statement
identifies the version of HTML contained

in your document.
placed at the top of a web page
document

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

8
EXAMPLE HTML5 WEB PAGE
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Page Title Goes Here</title>
</head>
<body>
... body text and more HTML5 tags go here ...
</body>
</html>

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

11
HEAD & BODY SECTIONS
Head Section

describes the document
<head>
…head section info goes here
</head>

Body Section

Contains the content
<body>
…body section info goes here
</body>

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

12
TITLE ELEMENT
META ELEMENT

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

13
THE HEADING ELEMENT

<h1>Heading Level 1</h1>
<h2>Heading Level 2</h2>
<h3>Heading Level 3</h3>
<h4>Heading Level 4</h4>
<h5>Heading Level 5</h5>
<h6>Heading Level 6</h6>

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

14
PARAGRAPH ELEMENT
Paragraph element

<p> …paragraph goes here… </p>
 Configures a blank line above and below

the paragraph

=> block display elements
vs.
=> inline display elements

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

15
LINE BREAK ELEMENT
Line Break element
 empty element
 XHTML syntax: <br />
 HTML syntax: <br>

…text goes here <br>
This starts on a new line….
 Causes the next element or text to display on a

new line

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

16
BLOCKQUOTE ELEMENT
Blockquote element
Indents a block of text for special

emphasis

<blockquote>
…text goes here…
</blockquote>

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

17
PHRASE ELEMENTS
 Indicate the context and meaning of the

text

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

18
HTML LISTS
Unordered List
Ordered List
Description List
formerly called a definition list

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

19
UNORDERED LIST EXAMPLE
<ul>
<li>TCP</li>
<li>IP</li>
<li>HTTP</li>
<li>FTP</li>
</ul>

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

21
ORDERED LIST EXAMPLE
<ol>
<li>Apply to school</li>
<li>Register for course</li>
<li>Pay tuition</li>
<li>Attend course</li>
</ol>

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

23
DESCRIPTION LIST EXAMPLE
<dl>
<dt>IP</dt>
<dd>Internet Protocol</dd>
<dt>TCP</dt>
<dd>Transmission Control Protocol</dd>
</dl>

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

25
SPECIAL CHARACTERS
 Display special characters such as

quotes, copyright symbol, etc.


 












Character
© 

<
>
&


Copyright © Terry Felke-Morris

Wednesday, October 23, 13


 Code
&copy;
&lt;
&gt;

 &amp;

 &nbsp;

27
DIV ELEMENT
Configures a structural block or “division”

on a web page with empty space above
and below.
Can contain other block display elements

(including div elements)
<div>Home Services Contact</div>

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

28
ANCHOR ELEMENT
 hyperlink

<a href="contact.html">Contact Us</a>
^ landing page
^anchor text

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

29
ABSOLUTE & RELATIVE HYPERLINKS
Absolute link
 Link to other websites

<a href="http://yahoo.com">Yahoo</a>
Relative link
 Link to pages on your own site

<a href="index.htm">Home</a>

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

30
WRITING VALID HTML
Check your code for syntax

errors
Valid code 
displays the same in all
browsers
W3C HTML Validation Tool
 http://validator.w3.org

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

34
WRITING VALID HTML
Hands On Practice, 2.8, p. 43
 http://validator.w3.org

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

34
Ch. 2 Assessment:
Learning Outcomes - Know the following

Copyright © Terry Felke-Morris

Wednesday, October 23, 13

35

More Related Content

What's hot

The Internet and World Wide Web
The Internet and World Wide Web The Internet and World Wide Web
The Internet and World Wide Web
ASAD AHMED
 
Why Portability matters (full presentation)
Why Portability matters (full presentation)Why Portability matters (full presentation)
Why Portability matters (full presentation)Ian Forrester
 
The internet and www
The internet and wwwThe internet and www
The internet and www
Shobu Kirafuda
 
WWW, Website & Webpage
WWW, Website & WebpageWWW, Website & Webpage
WWW, Website & Webpage
Zeeshan Alam
 
Web acronyms
Web acronymsWeb acronyms
Web acronyms
Slawomir Jasinski
 
Web 3.0: What's Next
Web 3.0: What's NextWeb 3.0: What's Next
Web 3.0: What's Next
Nicole C. Engard
 
Basic Web Concepts
Basic Web ConceptsBasic Web Concepts
Basic Web Concepts
Cherry Ann Labandero
 
ICT, Internet and WWW
ICT, Internet and WWWICT, Internet and WWW
ICT, Internet and WWW
IndayManasseh
 
6 Advance Presentation Skill
6 Advance Presentation Skill6 Advance Presentation Skill
6 Advance Presentation Skill
Teodoro Llanes II
 
Internet basic
Internet basicInternet basic
Internet basic
argusacademy
 
Internet basics
Internet basicsInternet basics
Internet basicsosuchin
 
Where is the Internet? (2019 Edition)
Where is the Internet? (2019 Edition)Where is the Internet? (2019 Edition)
Where is the Internet? (2019 Edition)
Randy Connolly
 
web2.0 - computer networks
web2.0 - computer networksweb2.0 - computer networks
web2.0 - computer networks
NITHIN KALLE PALLY
 
Internet
InternetInternet
Internet
Coding Man
 
2 internet essentials
2 internet essentials2 internet essentials
2 internet essentials
chris30931
 
New microsoft-word-document1
New microsoft-word-document1New microsoft-word-document1
New microsoft-word-document1Usman Javaid
 

What's hot (20)

Discover Pydio
Discover Pydio Discover Pydio
Discover Pydio
 
The internet
The internetThe internet
The internet
 
The Internet and World Wide Web
The Internet and World Wide Web The Internet and World Wide Web
The Internet and World Wide Web
 
Why Portability matters (full presentation)
Why Portability matters (full presentation)Why Portability matters (full presentation)
Why Portability matters (full presentation)
 
The internet and www
The internet and wwwThe internet and www
The internet and www
 
WWW, Website & Webpage
WWW, Website & WebpageWWW, Website & Webpage
WWW, Website & Webpage
 
Web acronyms
Web acronymsWeb acronyms
Web acronyms
 
Internet and WWW
Internet and WWWInternet and WWW
Internet and WWW
 
Web 3.0: What's Next
Web 3.0: What's NextWeb 3.0: What's Next
Web 3.0: What's Next
 
Basic Web Concepts
Basic Web ConceptsBasic Web Concepts
Basic Web Concepts
 
ICT, Internet and WWW
ICT, Internet and WWWICT, Internet and WWW
ICT, Internet and WWW
 
6 Advance Presentation Skill
6 Advance Presentation Skill6 Advance Presentation Skill
6 Advance Presentation Skill
 
Internet basic
Internet basicInternet basic
Internet basic
 
A history of html
A history of htmlA history of html
A history of html
 
Internet basics
Internet basicsInternet basics
Internet basics
 
Where is the Internet? (2019 Edition)
Where is the Internet? (2019 Edition)Where is the Internet? (2019 Edition)
Where is the Internet? (2019 Edition)
 
web2.0 - computer networks
web2.0 - computer networksweb2.0 - computer networks
web2.0 - computer networks
 
Internet
InternetInternet
Internet
 
2 internet essentials
2 internet essentials2 internet essentials
2 internet essentials
 
New microsoft-word-document1
New microsoft-word-document1New microsoft-word-document1
New microsoft-word-document1
 

Viewers also liked

Direct marketing of agriculture produce Training Program at Barabanki
Direct marketing of agriculture produce Training Program at BarabankiDirect marketing of agriculture produce Training Program at Barabanki
Direct marketing of agriculture produce Training Program at Barabankipromptinfotech
 
Lawrence house funds
Lawrence house fundsLawrence house funds
Lawrence house funds
housefunds57
 
The function of the heart
The function of the heartThe function of the heart
The function of the heart
Louise Crocombe
 
Ch. 17 FIT5, CIS 110 13F
Ch. 17 FIT5, CIS 110 13FCh. 17 FIT5, CIS 110 13F
Ch. 17 FIT5, CIS 110 13Fmh-108
 
Eligibility Criteria for Agri Consultants
Eligibility Criteria for Agri Consultants Eligibility Criteria for Agri Consultants
Eligibility Criteria for Agri Consultants promptinfotech
 
Paccific Agro Lucknow Pvt Ltd.
Paccific Agro Lucknow Pvt Ltd.Paccific Agro Lucknow Pvt Ltd.
Paccific Agro Lucknow Pvt Ltd.
promptinfotech
 
Ch. 1 HTML5, CIS 110 13F
Ch. 1 HTML5, CIS 110 13FCh. 1 HTML5, CIS 110 13F
Ch. 1 HTML5, CIS 110 13F
mh-108
 
Manpower || Paccific Agro Lucknow Pvt Ltd.
Manpower || Paccific Agro Lucknow Pvt Ltd.Manpower || Paccific Agro Lucknow Pvt Ltd.
Manpower || Paccific Agro Lucknow Pvt Ltd.promptinfotech
 
Разумное потребление тепла.
Разумное потребление тепла.Разумное потребление тепла.
Разумное потребление тепла.Yuliya Kyamileva
 
Осознанное потребление.
Осознанное потребление.Осознанное потребление.
Осознанное потребление.Yuliya Kyamileva
 
2484615
24846152484615
2484615
Aqsa Khan
 
Ch. 8 FIT5, CIS 110 13F
Ch. 8 FIT5, CIS 110 13FCh. 8 FIT5, CIS 110 13F
Ch. 8 FIT5, CIS 110 13F
mh-108
 
Rtdna facebook 082313_final
Rtdna facebook 082313_finalRtdna facebook 082313_final
Rtdna facebook 082313_final
Donna Petersen
 
TAR Lazio: il Ministro dell'Interno ed il Prefetto non possono annullare le t...
TAR Lazio: il Ministro dell'Interno ed il Prefetto non possono annullare le t...TAR Lazio: il Ministro dell'Interno ed il Prefetto non possono annullare le t...
TAR Lazio: il Ministro dell'Interno ed il Prefetto non possono annullare le t...
Mario Di Carlo
 
Naina gupta ; compensation plan in indian airways
Naina gupta ; compensation plan in indian airwaysNaina gupta ; compensation plan in indian airways
Naina gupta ; compensation plan in indian airwaysNaina Gupta
 
Ch. 4 FIT5, CIS 110 13F
Ch. 4 FIT5, CIS 110 13FCh. 4 FIT5, CIS 110 13F
Ch. 4 FIT5, CIS 110 13Fmh-108
 
Layer session
Layer sessionLayer session
Layer session
Herdi Fauzi
 
Práctica cero a la oportunidad de empresa
Práctica cero a la oportunidad de empresaPráctica cero a la oportunidad de empresa
Práctica cero a la oportunidad de empresa
Michael Julca Requejo
 

Viewers also liked (20)

Direct marketing of agriculture produce Training Program at Barabanki
Direct marketing of agriculture produce Training Program at BarabankiDirect marketing of agriculture produce Training Program at Barabanki
Direct marketing of agriculture produce Training Program at Barabanki
 
Lawrence house funds
Lawrence house fundsLawrence house funds
Lawrence house funds
 
The function of the heart
The function of the heartThe function of the heart
The function of the heart
 
Ch. 17 FIT5, CIS 110 13F
Ch. 17 FIT5, CIS 110 13FCh. 17 FIT5, CIS 110 13F
Ch. 17 FIT5, CIS 110 13F
 
Rac lecture 4
Rac lecture 4Rac lecture 4
Rac lecture 4
 
Eligibility Criteria for Agri Consultants
Eligibility Criteria for Agri Consultants Eligibility Criteria for Agri Consultants
Eligibility Criteria for Agri Consultants
 
Paccific Agro Lucknow Pvt Ltd.
Paccific Agro Lucknow Pvt Ltd.Paccific Agro Lucknow Pvt Ltd.
Paccific Agro Lucknow Pvt Ltd.
 
Ch. 1 HTML5, CIS 110 13F
Ch. 1 HTML5, CIS 110 13FCh. 1 HTML5, CIS 110 13F
Ch. 1 HTML5, CIS 110 13F
 
Manpower || Paccific Agro Lucknow Pvt Ltd.
Manpower || Paccific Agro Lucknow Pvt Ltd.Manpower || Paccific Agro Lucknow Pvt Ltd.
Manpower || Paccific Agro Lucknow Pvt Ltd.
 
Разумное потребление тепла.
Разумное потребление тепла.Разумное потребление тепла.
Разумное потребление тепла.
 
Осознанное потребление.
Осознанное потребление.Осознанное потребление.
Осознанное потребление.
 
2484615
24846152484615
2484615
 
Ch. 8 FIT5, CIS 110 13F
Ch. 8 FIT5, CIS 110 13FCh. 8 FIT5, CIS 110 13F
Ch. 8 FIT5, CIS 110 13F
 
Rac lecture 5
Rac lecture 5Rac lecture 5
Rac lecture 5
 
Rtdna facebook 082313_final
Rtdna facebook 082313_finalRtdna facebook 082313_final
Rtdna facebook 082313_final
 
TAR Lazio: il Ministro dell'Interno ed il Prefetto non possono annullare le t...
TAR Lazio: il Ministro dell'Interno ed il Prefetto non possono annullare le t...TAR Lazio: il Ministro dell'Interno ed il Prefetto non possono annullare le t...
TAR Lazio: il Ministro dell'Interno ed il Prefetto non possono annullare le t...
 
Naina gupta ; compensation plan in indian airways
Naina gupta ; compensation plan in indian airwaysNaina gupta ; compensation plan in indian airways
Naina gupta ; compensation plan in indian airways
 
Ch. 4 FIT5, CIS 110 13F
Ch. 4 FIT5, CIS 110 13FCh. 4 FIT5, CIS 110 13F
Ch. 4 FIT5, CIS 110 13F
 
Layer session
Layer sessionLayer session
Layer session
 
Práctica cero a la oportunidad de empresa
Práctica cero a la oportunidad de empresaPráctica cero a la oportunidad de empresa
Práctica cero a la oportunidad de empresa
 

Similar to Ch. 2 HTML5, CIS 110 13F

Chapter2
Chapter2Chapter2
Chapter2
DeAnna Gossett
 
Ch. 3 HTML5, CIS 110 13F
Ch. 3 HTML5, CIS 110 13FCh. 3 HTML5, CIS 110 13F
Ch. 3 HTML5, CIS 110 13F
mh-108
 
Basic of HTML
Basic of  HTMLBasic of  HTML
Basic of HTML
DipakKumar122
 
chapter-17-web-designing2.pdf
chapter-17-web-designing2.pdfchapter-17-web-designing2.pdf
chapter-17-web-designing2.pdf
study material
 
Web designing
Web designingWeb designing
Web designing
Prof. Dr. K. Adisesha
 
WEB DESIGNING.pdf
WEB DESIGNING.pdfWEB DESIGNING.pdf
WEB DESIGNING.pdf
Prof. Dr. K. Adisesha
 
Html 5 Session 2
Html 5 Session 2Html 5 Session 2
Html 5 Session 2
Muhammad Ehtisham Siddiqui
 
DSC, html and CSS basics.pptx
DSC, html and CSS basics.pptxDSC, html and CSS basics.pptx
DSC, html and CSS basics.pptx
DiffouoFopaEsdras
 
Html
HtmlHtml
Hyper Text Markup Language, Cascading Style Sheet
Hyper Text Markup Language, Cascading Style SheetHyper Text Markup Language, Cascading Style Sheet
Hyper Text Markup Language, Cascading Style Sheet
NitinShelake4
 
Html b smart
Html b smartHtml b smart
Html b smart
NaumanShekh
 
Lecture1_WT.pdf
Lecture1_WT.pdfLecture1_WT.pdf
Lecture1_WT.pdf
kingVox
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
VaibhavSingh887876
 
Practicals it
Practicals itPracticals it
Practicals it
Gulbir Chaudhary
 
Html5 tags
Html5 tagsHtml5 tags
Html5 tags
Tahira Sadaf
 
HTML, CSS and XML
HTML, CSS and XMLHTML, CSS and XML
HTML, CSS and XML
Aashish Jain
 
HTML5: features with examples
HTML5: features with examplesHTML5: features with examples
HTML5: features with examples
Alfredo Torre
 
web design
web designweb design
web design
grace6497
 

Similar to Ch. 2 HTML5, CIS 110 13F (20)

Chapter2
Chapter2Chapter2
Chapter2
 
Ch. 3 HTML5, CIS 110 13F
Ch. 3 HTML5, CIS 110 13FCh. 3 HTML5, CIS 110 13F
Ch. 3 HTML5, CIS 110 13F
 
Basic of HTML
Basic of  HTMLBasic of  HTML
Basic of HTML
 
chapter-17-web-designing2.pdf
chapter-17-web-designing2.pdfchapter-17-web-designing2.pdf
chapter-17-web-designing2.pdf
 
Web designing
Web designingWeb designing
Web designing
 
WEB DESIGNING.pdf
WEB DESIGNING.pdfWEB DESIGNING.pdf
WEB DESIGNING.pdf
 
Html 5 Session 2
Html 5 Session 2Html 5 Session 2
Html 5 Session 2
 
DSC, html and CSS basics.pptx
DSC, html and CSS basics.pptxDSC, html and CSS basics.pptx
DSC, html and CSS basics.pptx
 
Html
HtmlHtml
Html
 
Hyper Text Markup Language, Cascading Style Sheet
Hyper Text Markup Language, Cascading Style SheetHyper Text Markup Language, Cascading Style Sheet
Hyper Text Markup Language, Cascading Style Sheet
 
Html b smart
Html b smartHtml b smart
Html b smart
 
HTML/CSS Lecture 1
HTML/CSS Lecture 1HTML/CSS Lecture 1
HTML/CSS Lecture 1
 
Lecture1_WT.pdf
Lecture1_WT.pdfLecture1_WT.pdf
Lecture1_WT.pdf
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
 
Practicals it
Practicals itPracticals it
Practicals it
 
Html5 tags
Html5 tagsHtml5 tags
Html5 tags
 
HTML 5
HTML 5HTML 5
HTML 5
 
HTML, CSS and XML
HTML, CSS and XMLHTML, CSS and XML
HTML, CSS and XML
 
HTML5: features with examples
HTML5: features with examplesHTML5: features with examples
HTML5: features with examples
 
web design
web designweb design
web design
 

More from mh-108

Ch. 16 Database Case Study: XML/XSLT
Ch. 16 Database Case Study: XML/XSLTCh. 16 Database Case Study: XML/XSLT
Ch. 16 Database Case Study: XML/XSLTmh-108
 
Ch. 15 FIT5, CIS 110 13F
Ch. 15 FIT5, CIS 110 13FCh. 15 FIT5, CIS 110 13F
Ch. 15 FIT5, CIS 110 13Fmh-108
 
Ch. 10 FIT5, CIS 110 13F
Ch. 10 FIT5, CIS 110 13FCh. 10 FIT5, CIS 110 13F
Ch. 10 FIT5, CIS 110 13Fmh-108
 
Ch. 12 FIT5, CIS 110 13F
Ch. 12 FIT5, CIS 110 13FCh. 12 FIT5, CIS 110 13F
Ch. 12 FIT5, CIS 110 13F
mh-108
 
Ch. 7 FIT5, CIS 110 13F
Ch. 7 FIT5, CIS 110 13FCh. 7 FIT5, CIS 110 13F
Ch. 7 FIT5, CIS 110 13F
mh-108
 
Ch. 3 FIT5, CIS 110 13F
Ch. 3 FIT5, CIS 110 13FCh. 3 FIT5, CIS 110 13F
Ch. 3 FIT5, CIS 110 13F
mh-108
 
FIT5 Ch. 5, CIS 110 13F
FIT5 Ch. 5, CIS 110 13FFIT5 Ch. 5, CIS 110 13F
FIT5 Ch. 5, CIS 110 13F
mh-108
 

More from mh-108 (7)

Ch. 16 Database Case Study: XML/XSLT
Ch. 16 Database Case Study: XML/XSLTCh. 16 Database Case Study: XML/XSLT
Ch. 16 Database Case Study: XML/XSLT
 
Ch. 15 FIT5, CIS 110 13F
Ch. 15 FIT5, CIS 110 13FCh. 15 FIT5, CIS 110 13F
Ch. 15 FIT5, CIS 110 13F
 
Ch. 10 FIT5, CIS 110 13F
Ch. 10 FIT5, CIS 110 13FCh. 10 FIT5, CIS 110 13F
Ch. 10 FIT5, CIS 110 13F
 
Ch. 12 FIT5, CIS 110 13F
Ch. 12 FIT5, CIS 110 13FCh. 12 FIT5, CIS 110 13F
Ch. 12 FIT5, CIS 110 13F
 
Ch. 7 FIT5, CIS 110 13F
Ch. 7 FIT5, CIS 110 13FCh. 7 FIT5, CIS 110 13F
Ch. 7 FIT5, CIS 110 13F
 
Ch. 3 FIT5, CIS 110 13F
Ch. 3 FIT5, CIS 110 13FCh. 3 FIT5, CIS 110 13F
Ch. 3 FIT5, CIS 110 13F
 
FIT5 Ch. 5, CIS 110 13F
FIT5 Ch. 5, CIS 110 13FFIT5 Ch. 5, CIS 110 13F
FIT5 Ch. 5, CIS 110 13F
 

Recently uploaded

Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 

Recently uploaded (20)

Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 

Ch. 2 HTML5, CIS 110 13F

  • 1. WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts Copyright © Terry Felke-Morris Wednesday, October 23, 13 1
  • 2. HTML ELEMENTS  containers <p>Fourscore and 20 years ago...</p>  empty elements <hr> <img src=”../images/anna.png”> Copyright © Terry Felke-Morris Wednesday, October 23, 13 4
  • 3. WHAT IS HTML5 ? Newest draft version of HTML/XHTML Intended to be backwards compatible Adds many new elements Copyright © Terry Felke-Morris Wednesday, October 23, 13 7
  • 4. DOCUMENT TYPE DEFINITION Document Type Definition (DTD) doctype statement identifies the version of HTML contained in your document. placed at the top of a web page document Copyright © Terry Felke-Morris Wednesday, October 23, 13 8
  • 5. EXAMPLE HTML5 WEB PAGE <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Page Title Goes Here</title> </head> <body> ... body text and more HTML5 tags go here ... </body> </html> Copyright © Terry Felke-Morris Wednesday, October 23, 13 11
  • 6. HEAD & BODY SECTIONS Head Section describes the document <head> …head section info goes here </head> Body Section Contains the content <body> …body section info goes here </body> Copyright © Terry Felke-Morris Wednesday, October 23, 13 12
  • 7. TITLE ELEMENT META ELEMENT Copyright © Terry Felke-Morris Wednesday, October 23, 13 13
  • 8. THE HEADING ELEMENT <h1>Heading Level 1</h1> <h2>Heading Level 2</h2> <h3>Heading Level 3</h3> <h4>Heading Level 4</h4> <h5>Heading Level 5</h5> <h6>Heading Level 6</h6> Copyright © Terry Felke-Morris Wednesday, October 23, 13 14
  • 9. PARAGRAPH ELEMENT Paragraph element <p> …paragraph goes here… </p>  Configures a blank line above and below the paragraph => block display elements vs. => inline display elements Copyright © Terry Felke-Morris Wednesday, October 23, 13 15
  • 10. LINE BREAK ELEMENT Line Break element  empty element  XHTML syntax: <br />  HTML syntax: <br> …text goes here <br> This starts on a new line….  Causes the next element or text to display on a new line Copyright © Terry Felke-Morris Wednesday, October 23, 13 16
  • 11. BLOCKQUOTE ELEMENT Blockquote element Indents a block of text for special emphasis <blockquote> …text goes here… </blockquote> Copyright © Terry Felke-Morris Wednesday, October 23, 13 17
  • 12. PHRASE ELEMENTS  Indicate the context and meaning of the text Copyright © Terry Felke-Morris Wednesday, October 23, 13 18
  • 13. HTML LISTS Unordered List Ordered List Description List formerly called a definition list Copyright © Terry Felke-Morris Wednesday, October 23, 13 19
  • 15. ORDERED LIST EXAMPLE <ol> <li>Apply to school</li> <li>Register for course</li> <li>Pay tuition</li> <li>Attend course</li> </ol> Copyright © Terry Felke-Morris Wednesday, October 23, 13 23
  • 16. DESCRIPTION LIST EXAMPLE <dl> <dt>IP</dt> <dd>Internet Protocol</dd> <dt>TCP</dt> <dd>Transmission Control Protocol</dd> </dl> Copyright © Terry Felke-Morris Wednesday, October 23, 13 25
  • 17. SPECIAL CHARACTERS  Display special characters such as quotes, copyright symbol, etc. Character © < > & Copyright © Terry Felke-Morris Wednesday, October 23, 13 Code &copy; &lt; &gt; &amp; &nbsp; 27
  • 18. DIV ELEMENT Configures a structural block or “division” on a web page with empty space above and below. Can contain other block display elements (including div elements) <div>Home Services Contact</div> Copyright © Terry Felke-Morris Wednesday, October 23, 13 28
  • 19. ANCHOR ELEMENT  hyperlink <a href="contact.html">Contact Us</a> ^ landing page ^anchor text Copyright © Terry Felke-Morris Wednesday, October 23, 13 29
  • 20. ABSOLUTE & RELATIVE HYPERLINKS Absolute link  Link to other websites <a href="http://yahoo.com">Yahoo</a> Relative link  Link to pages on your own site <a href="index.htm">Home</a> Copyright © Terry Felke-Morris Wednesday, October 23, 13 30
  • 21. WRITING VALID HTML Check your code for syntax errors Valid code  displays the same in all browsers W3C HTML Validation Tool  http://validator.w3.org Copyright © Terry Felke-Morris Wednesday, October 23, 13 34
  • 22. WRITING VALID HTML Hands On Practice, 2.8, p. 43  http://validator.w3.org Copyright © Terry Felke-Morris Wednesday, October 23, 13 34
  • 23. Ch. 2 Assessment: Learning Outcomes - Know the following Copyright © Terry Felke-Morris Wednesday, October 23, 13 35