SlideShare uma empresa Scribd logo
1 de 23
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

Why Portability matters (full presentation)
Why Portability matters (full presentation)Why Portability matters (full presentation)
Why Portability matters (full presentation)
Ian Forrester
 
Internet basics
Internet basicsInternet basics
Internet basics
osuchin
 
New microsoft-word-document1
New microsoft-word-document1New microsoft-word-document1
New microsoft-word-document1
Usman Javaid
 

Mais procurados (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
 

Destaque

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
promptinfotech
 
Ch. 17 FIT5, CIS 110 13F
Ch. 17 FIT5, CIS 110 13FCh. 17 FIT5, CIS 110 13F
Ch. 17 FIT5, CIS 110 13F
mh-108
 
Eligibility Criteria for Agri Consultants
Eligibility Criteria for Agri Consultants Eligibility Criteria for Agri Consultants
Eligibility Criteria for Agri Consultants
promptinfotech
 
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
 
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
Naina Gupta
 
Ch. 4 FIT5, CIS 110 13F
Ch. 4 FIT5, CIS 110 13FCh. 4 FIT5, CIS 110 13F
Ch. 4 FIT5, CIS 110 13F
mh-108
 

Destaque (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
 

Semelhante a Ch. 2 HTML5, CIS 110 13F

Semelhante 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
 

Mais 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

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.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