SlideShare una empresa de Scribd logo
1 de 23
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente

La actualidad más candente (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
 

Destacado

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 fundshousefunds57
 
The function of the heart
The function of the heartThe function of the heart
The function of the heartLouise 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 13Fmh-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
 
Ch. 8 FIT5, CIS 110 13F
Ch. 8 FIT5, CIS 110 13FCh. 8 FIT5, CIS 110 13F
Ch. 8 FIT5, CIS 110 13Fmh-108
 
Rtdna facebook 082313_final
Rtdna facebook 082313_finalRtdna facebook 082313_final
Rtdna facebook 082313_finalDonna 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
 
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 empresaMichael Julca Requejo
 

Destacado (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 a Ch. 2 HTML5, CIS 110 13F

Similar a 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
 

Más de 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 13Fmh-108
 
Ch. 7 FIT5, CIS 110 13F
Ch. 7 FIT5, CIS 110 13FCh. 7 FIT5, CIS 110 13F
Ch. 7 FIT5, CIS 110 13Fmh-108
 
Ch. 3 FIT5, CIS 110 13F
Ch. 3 FIT5, CIS 110 13FCh. 3 FIT5, CIS 110 13F
Ch. 3 FIT5, CIS 110 13Fmh-108
 
FIT5 Ch. 5, CIS 110 13F
FIT5 Ch. 5, CIS 110 13FFIT5 Ch. 5, CIS 110 13F
FIT5 Ch. 5, CIS 110 13Fmh-108
 

Más de 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
 

Último

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 

Último (20)

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 

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