SlideShare a Scribd company logo
Markup Languages: HTMLHTML – Hypertext Markup LanguageThe set of markup symbols or codes placed in a file intended for display on a web browser.
Markup Languages: XMLXML – eXtensible Markup LanguageA text-based language designed to describe, deliver, and exchange structured information. It is not intended to replace HTML – it is intended to extend the power of HTML by separating data from presentation.
Markup Languages: XHTMLXHTML – eXtensible Hypertext Markup LanguageDeveloped by the W3C as the reformulation of HTML 4.0 as an application of XML. It combines the formatting strengths of HTML 4.0 and the data structure and extensibility strengths of XML.
Markup Language RelationsThe relationship between XHTML, HTML, and XMLDocumentType Definition (DTD)W3C Recommendation: Use a Document Type Definition to identify the type of markup language used in a web page. XHTML 1.0 TransitionalThis is the least strict specification for XHTML 1.0. It allows the use of both Cascading Style Sheets and traditional formatting instructions such as fonts. We will use this DTD in this textXHTML 1.0 StrictRequires exclusive use of Cascading Style Sheets. We will not use this.XHTML 1.0 FramesetRequired for pages using XHTML frames. We will use not use this.
XHTML 1.0 Transitional DTD<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"   http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html >  an opening tag.... page info goes here</html> a closing tagFirst Web Page
Head & Body SectionsHeadSectionContains information that describes the Web page document <head>…head section info goes here</head>BodySectionContains text and elements that display in the Web page document<body>…body section info goes here</body>
XHTML<title> and <meta /> tags<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html  xmlns="http://www.w3.org/1999/xhtml"  lang="en" xml:lang="en">    <head> <title>My First Web Page</title>      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />     </head>     <body>     .... Body info goes here</body></html>
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>
XHTML<p> tagParagraph element<p>…paragraph goes here…</p>Groups sentences and sections of text together.
Configures a blank line above and below the paragraphXHTML<br /> tagLine Break elementStand-alone tag…text goes here <br />This starts on a new line….Causes the next element or text to display on a new line
XHTML<blockquote> tagBlockquote elementIndents a block of text for special emphasis<blockquote>   …text goes here…</blockquote>
XHTML List BasicsDefinition ListOrdered ListUnordered List
XHTMLOrdered ListConveys information in an ordered fashion<ol>Contains the ordered listtype attribute determinesnumbering scheme of list, default is numerals<li>Contains an item in the list
XHTMLOrdered List Example<ol>   <li>Apply to school</li>   <li>Register for course</li>   <li>Pay tuition</li>   <li>Attend course</li> </ol>
XHTMLUnordered ListDisplays information with bullet points<ul>Contains the unordered listtype attribute determines the type of bullet pointdefault type is disc (but depends on the browser used)<li>Contains an item in the list
XHTMLUnordered List Example<ul>   <li>Apple</li>   <li>Orange</li>   <li>Pear</li>   <li>Grape</li> </ul>  Apple
  Orange
  Pear
  GrapeXHTMLLogical Style ElementsIndicate the logical style of the text displayCommon Logical Style Tags <strong></strong>To cause text to be emphasized or to "stand out" from surrounding text. <strong>This is important</strong><em></em>To cause text to be emphasized in relation to other text on the page. Usually italics.	<em>Please note</em>
XHTMLPhysical Style ElementsProvide browser font configuration infoUseful for browsers – but not always applicable for other devices or user agents such as screen readersCommon Physical Style Tags<b></b>To display as bold text<b>This is important</b><i></i>To display text in italics	<i>Please note</i>
Display special characters such as quotes, copyright symbol, etc. Character     	Code		      © 		&copy;		      <                	&lt;		      >                	&gt;		      &	       	&amp;			       		&nbsp;XHTMLSpecial Characters
Checkpoint Provide a reason for using logical style tags rather than physical style tags.Describe the purpose of special characters.
XHTML<a> tagThe anchor elementSpecifies a hyperlink reference (href) to a fileText between the <a> and </a> is displayed on the web page.<a href=“contact.html”>contact</a>href AttributeIndicates the file name or URLWeb page document, photo, pdf, etc.23
XHTML<a> tagAbsolute linkLink to other Web sites	<a href="http://yahoo.com">Yahoo</a>Relative linkLink to pages on your own site	<a href="index.htm">Home</a>24
Hyperlinks25Hands-On Practice
XHTML Email Links using the <a> tagAutomatically launch the default mail program configured for the browserIf no browser default is configured, a message is displayed     <a  href=“mailto:me@hotmail.com”>me@hotmail.com</a>26
CheckpointDescribe when to use an absolute link. Is the http protocol used in the href value?Describe when to use a relative link. Is the http protocol used in the href value?What happens when a web site visitor clicks on an e-mail link?27
Writing Valid XHTMLCheck your code for syntax errorsBenefit:Valid code  more consistent browser displayW3C XHTML Validation Toolhttp://validator.w3.org
SummaryThis chapter provided an introduction to XHTML.It began with an introduction to the HTML, discussed the transition to XHTML, continued with the anatomy of a web page, introduced inline and block-level formatting, and demonstrated the XHTML techniques used to create hyperlinks. You will use these skills over and over again as you create Web pages.
Anatomy of a Websitehttp://www.csszengarden.com/

More Related Content

PPTX
The Difference between HTML, XHTML & HTML5 for Beginners
PPTX
HTML (Hyper Text Markup Language)
DOCX
INTRODUCTION TO HTML
PPTX
Hypertext markup language (html)
PPT
Xhtml
PPT
Hyper Text Mark-up Language
PPTX
HTML Basic, CSS Basic, JavaScript basic.
The Difference between HTML, XHTML & HTML5 for Beginners
HTML (Hyper Text Markup Language)
INTRODUCTION TO HTML
Hypertext markup language (html)
Xhtml
Hyper Text Mark-up Language
HTML Basic, CSS Basic, JavaScript basic.

What's hot (20)

PDF
[Basic HTML/CSS] 1. html - basic tags
PPT
Html basic
PPT
Basic html
PPTX
Lecture 2 introduction to html basics
PPTX
Markup language classification, designing static and dynamic
PPT
PPT
Understanding THML
PPTX
HTML Text formatting tags
PPT
Introduction to html
PPTX
Html ppt
PPT
Html Slide Part-1
PPTX
Basic Html Knowledge for students
PPT
HTML Introduction
PPTX
Basics Of Html
PPTX
Introduction to basic HTML [Librarian edition]
PPT
Presentation on HTML
PPT
Introduction to html5
PPTX
Basic HTML
PPT
Intro Html
PPT
Html for beginners part I
[Basic HTML/CSS] 1. html - basic tags
Html basic
Basic html
Lecture 2 introduction to html basics
Markup language classification, designing static and dynamic
Understanding THML
HTML Text formatting tags
Introduction to html
Html ppt
Html Slide Part-1
Basic Html Knowledge for students
HTML Introduction
Basics Of Html
Introduction to basic HTML [Librarian edition]
Presentation on HTML
Introduction to html5
Basic HTML
Intro Html
Html for beginners part I
Ad

Viewers also liked (20)

PPTX
Rapid HTML Prototyping with Bootstrap 4
PPT
Web Issues
PDF
Website design and devlopment
PPTX
Intro to Front-End Web Devlopment
PPT
Struts2 course chapter 1: Evolution of Web Applications
PDF
The Evolution of the Web
PPTX
Issues of web design and structure
PPT
Introduction to XML
PPT
Web evolution (Part I)
PPTX
Client side and server side scripting
PPT
Markup Languages
PPTX
Website Design Issues
PPTX
Web1, web2 and web 3
PPTX
Web Evolution Nova Spivack Twine
PPT
Web 1.0 to Web 3.0 - Evolution of the Web and its Various Challenges
PDF
Fundamentals of Web for Non-Developers
PPT
Basic Web Concepts
PPT
Web Application Development Fundamentals
Rapid HTML Prototyping with Bootstrap 4
Web Issues
Website design and devlopment
Intro to Front-End Web Devlopment
Struts2 course chapter 1: Evolution of Web Applications
The Evolution of the Web
Issues of web design and structure
Introduction to XML
Web evolution (Part I)
Client side and server side scripting
Markup Languages
Website Design Issues
Web1, web2 and web 3
Web Evolution Nova Spivack Twine
Web 1.0 to Web 3.0 - Evolution of the Web and its Various Challenges
Fundamentals of Web for Non-Developers
Basic Web Concepts
Web Application Development Fundamentals
Ad

Similar to Class2 (20)

PPT
Xhtml 2010
PPT
Xhtml 2010
PDF
Introduction to XHTML
PPT
Html For Beginners 2
PPT
Design Tools Html Xhtml
PPT
Xhtml Part1
PDF
HTML Basics.pdf
PPTX
02 From HTML tags to XHTML
PPT
Static web documents
PPT
Web publishing and XHTML
PPT
Web Development From the Ground Up, a Series for Novice ...
PPS
Lecture1
PPT
Html for translators
PPT
Lecture 1 - Comm Lab: Web @ ITP
PDF
Rc064 010d Core Html 1
PPT
IntroHTMzczczscasasaklahduasihiaSUJScgGJKKL.ppt
PPT
IntrotoHTMLpowerpointeverythingyouneed.ppt
PPT
Introduction to HTML
PPT
Html for Beginners
Xhtml 2010
Xhtml 2010
Introduction to XHTML
Html For Beginners 2
Design Tools Html Xhtml
Xhtml Part1
HTML Basics.pdf
02 From HTML tags to XHTML
Static web documents
Web publishing and XHTML
Web Development From the Ground Up, a Series for Novice ...
Lecture1
Html for translators
Lecture 1 - Comm Lab: Web @ ITP
Rc064 010d Core Html 1
IntroHTMzczczscasasaklahduasihiaSUJScgGJKKL.ppt
IntrotoHTMLpowerpointeverythingyouneed.ppt
Introduction to HTML
Html for Beginners

More from Jiyeon Lee (20)

PPTX
Cultural conflict resolution
PPTX
Class22
PPTX
Class 21
PPTX
Class 21
PPTX
Class 20
PPTX
Class19
PPTX
Class18
PPTX
Class 17
PPTX
Class14
PPTX
Class15
PPTX
Class 12
PPTX
Class13
PPTX
Class11
PPTX
Class 10
PPTX
Class8
PPTX
Class7
PPTX
Class6
PPTX
Class5
PPTX
Class4
PPTX
Class 3
Cultural conflict resolution
Class22
Class 21
Class 21
Class 20
Class19
Class18
Class 17
Class14
Class15
Class 12
Class13
Class11
Class 10
Class8
Class7
Class6
Class5
Class4
Class 3

Recently uploaded (20)

PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
My India Quiz Book_20210205121199924.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
1_English_Language_Set_2.pdf probationary
PDF
Empowerment Technology for Senior High School Guide
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PPTX
Introduction to Building Materials
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PPTX
Introduction to pro and eukaryotes and differences.pptx
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
B.Sc. DS Unit 2 Software Engineering.pptx
My India Quiz Book_20210205121199924.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
1_English_Language_Set_2.pdf probationary
Empowerment Technology for Senior High School Guide
TNA_Presentation-1-Final(SAVE)) (1).pptx
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Introduction to Building Materials
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
Chinmaya Tiranga quiz Grand Finale.pdf
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Paper A Mock Exam 9_ Attempt review.pdf.
Introduction to pro and eukaryotes and differences.pptx
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
A powerpoint presentation on the Revised K-10 Science Shaping Paper
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
History, Philosophy and sociology of education (1).pptx
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
Weekly quiz Compilation Jan -July 25.pdf

Class2

  • 1. Markup Languages: HTMLHTML – Hypertext Markup LanguageThe set of markup symbols or codes placed in a file intended for display on a web browser.
  • 2. Markup Languages: XMLXML – eXtensible Markup LanguageA text-based language designed to describe, deliver, and exchange structured information. It is not intended to replace HTML – it is intended to extend the power of HTML by separating data from presentation.
  • 3. Markup Languages: XHTMLXHTML – eXtensible Hypertext Markup LanguageDeveloped by the W3C as the reformulation of HTML 4.0 as an application of XML. It combines the formatting strengths of HTML 4.0 and the data structure and extensibility strengths of XML.
  • 4. Markup Language RelationsThe relationship between XHTML, HTML, and XMLDocumentType Definition (DTD)W3C Recommendation: Use a Document Type Definition to identify the type of markup language used in a web page. XHTML 1.0 TransitionalThis is the least strict specification for XHTML 1.0. It allows the use of both Cascading Style Sheets and traditional formatting instructions such as fonts. We will use this DTD in this textXHTML 1.0 StrictRequires exclusive use of Cascading Style Sheets. We will not use this.XHTML 1.0 FramesetRequired for pages using XHTML frames. We will use not use this.
  • 5. XHTML 1.0 Transitional DTD<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
  • 6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html > an opening tag.... page info goes here</html> a closing tagFirst Web Page
  • 7. Head & Body SectionsHeadSectionContains information that describes the Web page document <head>…head section info goes here</head>BodySectionContains text and elements that display in the Web page document<body>…body section info goes here</body>
  • 8. XHTML<title> and <meta /> tags<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>My First Web Page</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> .... Body info goes here</body></html>
  • 9. 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>
  • 10. XHTML<p> tagParagraph element<p>…paragraph goes here…</p>Groups sentences and sections of text together.
  • 11. Configures a blank line above and below the paragraphXHTML<br /> tagLine Break elementStand-alone tag…text goes here <br />This starts on a new line….Causes the next element or text to display on a new line
  • 12. XHTML<blockquote> tagBlockquote elementIndents a block of text for special emphasis<blockquote> …text goes here…</blockquote>
  • 13. XHTML List BasicsDefinition ListOrdered ListUnordered List
  • 14. XHTMLOrdered ListConveys information in an ordered fashion<ol>Contains the ordered listtype attribute determinesnumbering scheme of list, default is numerals<li>Contains an item in the list
  • 15. XHTMLOrdered List Example<ol> <li>Apply to school</li> <li>Register for course</li> <li>Pay tuition</li> <li>Attend course</li> </ol>
  • 16. XHTMLUnordered ListDisplays information with bullet points<ul>Contains the unordered listtype attribute determines the type of bullet pointdefault type is disc (but depends on the browser used)<li>Contains an item in the list
  • 17. XHTMLUnordered List Example<ul> <li>Apple</li> <li>Orange</li> <li>Pear</li> <li>Grape</li> </ul> Apple
  • 20. GrapeXHTMLLogical Style ElementsIndicate the logical style of the text displayCommon Logical Style Tags <strong></strong>To cause text to be emphasized or to "stand out" from surrounding text. <strong>This is important</strong><em></em>To cause text to be emphasized in relation to other text on the page. Usually italics. <em>Please note</em>
  • 21. XHTMLPhysical Style ElementsProvide browser font configuration infoUseful for browsers – but not always applicable for other devices or user agents such as screen readersCommon Physical Style Tags<b></b>To display as bold text<b>This is important</b><i></i>To display text in italics <i>Please note</i>
  • 22. Display special characters such as quotes, copyright symbol, etc. Character Code © &copy; < &lt; > &gt; & &amp; &nbsp;XHTMLSpecial Characters
  • 23. Checkpoint Provide a reason for using logical style tags rather than physical style tags.Describe the purpose of special characters.
  • 24. XHTML<a> tagThe anchor elementSpecifies a hyperlink reference (href) to a fileText between the <a> and </a> is displayed on the web page.<a href=“contact.html”>contact</a>href AttributeIndicates the file name or URLWeb page document, photo, pdf, etc.23
  • 25. XHTML<a> tagAbsolute linkLink to other Web sites <a href="http://yahoo.com">Yahoo</a>Relative linkLink to pages on your own site <a href="index.htm">Home</a>24
  • 27. XHTML Email Links using the <a> tagAutomatically launch the default mail program configured for the browserIf no browser default is configured, a message is displayed <a href=“mailto:me@hotmail.com”>me@hotmail.com</a>26
  • 28. CheckpointDescribe when to use an absolute link. Is the http protocol used in the href value?Describe when to use a relative link. Is the http protocol used in the href value?What happens when a web site visitor clicks on an e-mail link?27
  • 29. Writing Valid XHTMLCheck your code for syntax errorsBenefit:Valid code  more consistent browser displayW3C XHTML Validation Toolhttp://validator.w3.org
  • 30. SummaryThis chapter provided an introduction to XHTML.It began with an introduction to the HTML, discussed the transition to XHTML, continued with the anatomy of a web page, introduced inline and block-level formatting, and demonstrated the XHTML techniques used to create hyperlinks. You will use these skills over and over again as you create Web pages.
  • 31. Anatomy of a Websitehttp://www.csszengarden.com/
  • 32. Assignment: Due 9/20/2010p.59 Hands-on Exercise #9, 109. Create a Web Page about your favorite musical group. Include the name of the group, the individuals in the group, a hyperlink to the group’s Website, your favorite three (or fewer if the group is new) CD releases, and a brief review of each CD.Use an unordered list to organize the names of the individuals.Use a ordered list for the names of the CDs in chronological order.Ave the page as band.html. Attach your file to an email10.Create a Web page about your favorite recipe. Use an unordered list for the ingredients and an ordered list to describe the steps needed to prepare the food. Include a hyperlink to a Web site that offers free recipes. Save the page as recipe.html.