SlideShare a Scribd company logo
A Reformulation of HTML 4 in XML 1.0
(Yes, I am a nerd)
XHTML
 What is it?
 Why use it?
 How do I use it correctly?
What is XHTML?
 Extensible HyperText Markup
Language
 Combination of HTML and XML
 The elements from HTML
 The syntax from XML
Why should I care?
 Based on industry standards
 Cross browser support
 Validated and proper code
 Will run properly on all XML devices
Basic Structure
 One root element per document
 Properly nested elements
 Closed elements
 lowercase elements
 More syntax
One root element
 The basic mandatory structure
<!DOCTYPE – more in a second>
<html>
<head>
<title></title>
</head>
<body>
</body>
</html>
Properly Nested
 BAD
<p>
This
<strong><em>
is</strong></em>
fun.
</p>
 HAPPY FUN TIME
<p>
This
<strong><em>
is
</em></strong>
fun.
</p>
Closed Elements
 BAD
<p>Paragraph 1
<p>Paragraph 2
<br>
<hr>
<img src=“pic.jpg”>
 HAPPY FUN TIME
<p>Paragraph 1</p>
<p>Paragraph 2</p>
<br />
<hr />
<img src=“pic.jpg” />
lowercase elements
 BAD
<P> another
paragraph
with an image
<Img Src=“pic.jpg” />
</p>
 HAPPY FUN TIME
<p> another
paragraph
with an image
<img src=“pic.jpg” />
</p>
 HAPPY FUN TIME
<table width=“100%”>
</table>
<input checked=“checked” />
<option selected=“selected”>
</option>
 BAD
<table WIDTH=100%>
</table>
<input checked>
<option SELECTED>
</option>
More syntax
 Attribute names must be lowercase, their
values quoted, and no “minimization”
DOCTYPE
 Only really have to worry about this if
you create the page from scratch
 Don’t really worry about what
everything means except for…
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0
Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/
xhtml1-transitional.dtd">
Now What?
 XHTML Cheat Sheet v1.03 -
http://floele.flyspray.org/htmlcheatsheet.pdf
 Official HTML 4 page –
http://www.w3.org/TR/html4/
 Official list of elements (HTML 4) -
http://www.w3.org/TR/html4/index/elements.html
 Official list of attributes (HTML 4) -
http://www.w3.org/TR/html4/index/attributes.html
 Official XHTML 1 page –
http://www.w3.org/TR/xhtml1/
Who am I?
 C. Todd Barber
 Webmaster
 University of Tennessee Health Science Center
 Memphis, TN 38163
 http://www.utmem.edu
 Also at
 http://ctbarber.com
 http://twitter.com/ctbarber

More Related Content

What's hot

Introduction to Html
Introduction to HtmlIntroduction to Html
Introduction to Html
Joni
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
sunmitraeducation
 
Html
HtmlHtml
Basic HTML
Basic HTMLBasic HTML
Basic HTML
Sayan De
 
Learning Html
Learning HtmlLearning Html
Learning Html
Damian Gonz
 
Html5 structure tags
Html5 structure tagsHtml5 structure tags
Html5 structure tags
SEO SKills
 
Html1
Html1Html1
Html1
learnt
 
Introduction To HTML
Introduction To HTMLIntroduction To HTML
Introduction To HTML
Mehul Patel
 
Building A Website
Building A WebsiteBuilding A Website
Building A Websitemarabeas
 
PHP Code And Search Engine Optimation
PHP Code And Search Engine OptimationPHP Code And Search Engine Optimation
PHP Code And Search Engine Optimation
Seo Indonesia
 
Intro to HTML (Kid's Class at TIY)
Intro to HTML (Kid's Class at TIY)Intro to HTML (Kid's Class at TIY)
Intro to HTML (Kid's Class at TIY)
Marjorie Sample
 
Getting into HTML
Getting into HTMLGetting into HTML
Getting into HTML
ispkosova
 
HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
jeroenvdmeer
 
HTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifitsHTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifits
Pro Guide
 
HyperText Markup Language - HTML
HyperText Markup Language - HTMLHyperText Markup Language - HTML
HyperText Markup Language - HTML
Sun Technlogies
 

What's hot (19)

Introduction to Html
Introduction to HtmlIntroduction to Html
Introduction to Html
 
Xhtml
XhtmlXhtml
Xhtml
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Html
HtmlHtml
Html
 
Learning HTML
Learning HTMLLearning HTML
Learning HTML
 
Basic HTML
Basic HTMLBasic HTML
Basic HTML
 
Learning Html
Learning HtmlLearning Html
Learning Html
 
Html5 structure tags
Html5 structure tagsHtml5 structure tags
Html5 structure tags
 
Html1
Html1Html1
Html1
 
Common html
Common htmlCommon html
Common html
 
Introduction To HTML
Introduction To HTMLIntroduction To HTML
Introduction To HTML
 
SEO Mistakes
SEO MistakesSEO Mistakes
SEO Mistakes
 
Building A Website
Building A WebsiteBuilding A Website
Building A Website
 
PHP Code And Search Engine Optimation
PHP Code And Search Engine OptimationPHP Code And Search Engine Optimation
PHP Code And Search Engine Optimation
 
Intro to HTML (Kid's Class at TIY)
Intro to HTML (Kid's Class at TIY)Intro to HTML (Kid's Class at TIY)
Intro to HTML (Kid's Class at TIY)
 
Getting into HTML
Getting into HTMLGetting into HTML
Getting into HTML
 
HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
 
HTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifitsHTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifits
 
HyperText Markup Language - HTML
HyperText Markup Language - HTMLHyperText Markup Language - HTML
HyperText Markup Language - HTML
 

Viewers also liked

Educational sites for summer help 2011
Educational sites for summer help 2011Educational sites for summer help 2011
Educational sites for summer help 2011Karen Brooks
 
Portland seattle computer_sales
Portland seattle computer_salesPortland seattle computer_sales
Portland seattle computer_sales
Melissa Kunde
 
Felicitacion Navidad 2008-2009 FEP-USO
Felicitacion Navidad 2008-2009 FEP-USOFelicitacion Navidad 2008-2009 FEP-USO
Felicitacion Navidad 2008-2009 FEP-USO
guestbcdfff0
 
Renasterea Vulturului
Renasterea VulturuluiRenasterea Vulturului
Renasterea VulturuluiSzasz Laszlo
 
Case Analysis Zlio 2008
Case Analysis   Zlio 2008Case Analysis   Zlio 2008
Case Analysis Zlio 2008
Eddie Lee
 
Radio Ads Reach Receptivity - A Smarter Mix 2013
Radio Ads Reach Receptivity - A Smarter Mix 2013 Radio Ads Reach Receptivity - A Smarter Mix 2013
Radio Ads Reach Receptivity - A Smarter Mix 2013 Melissa Kunde
 

Viewers also liked (7)

Educational sites for summer help 2011
Educational sites for summer help 2011Educational sites for summer help 2011
Educational sites for summer help 2011
 
Portland seattle computer_sales
Portland seattle computer_salesPortland seattle computer_sales
Portland seattle computer_sales
 
Where radio-fits-1
Where radio-fits-1Where radio-fits-1
Where radio-fits-1
 
Felicitacion Navidad 2008-2009 FEP-USO
Felicitacion Navidad 2008-2009 FEP-USOFelicitacion Navidad 2008-2009 FEP-USO
Felicitacion Navidad 2008-2009 FEP-USO
 
Renasterea Vulturului
Renasterea VulturuluiRenasterea Vulturului
Renasterea Vulturului
 
Case Analysis Zlio 2008
Case Analysis   Zlio 2008Case Analysis   Zlio 2008
Case Analysis Zlio 2008
 
Radio Ads Reach Receptivity - A Smarter Mix 2013
Radio Ads Reach Receptivity - A Smarter Mix 2013 Radio Ads Reach Receptivity - A Smarter Mix 2013
Radio Ads Reach Receptivity - A Smarter Mix 2013
 

Similar to XHTML basics

Summary of-xhtml-basics
Summary of-xhtml-basicsSummary of-xhtml-basics
Summary of-xhtml-basics
starlanter
 
HTML.ppt
HTML.pptHTML.ppt
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
Abhishek Kesharwani
 
Using HTML5 sensibly
Using HTML5 sensiblyUsing HTML5 sensibly
Using HTML5 sensibly
Christian Heilmann
 
Advance HTML
Advance HTMLAdvance HTML
Advance HTML
VijaySingh790398
 
Html
HtmlHtml
HTML guide for beginners
HTML guide for beginnersHTML guide for beginners
HTML guide for beginners
Thesis Scientist Private Limited
 
HTML (Basic to Advance)
HTML (Basic to Advance)HTML (Basic to Advance)
HTML (Basic to Advance)
Coder Tech
 
Html.docx
Html.docxHtml.docx
Html.docx
Noman Ali
 
Html basics-auro skills
Html basics-auro skillsHtml basics-auro skills
Html basics-auro skills
BoneyGawande
 
html.pdf
html.pdfhtml.pdf
html.pdf
ArianSS1
 
Html basics
Html basicsHtml basics
Html basics
mcatahir947
 
#1 HTML [know-how]
#1 HTML [know-how]#1 HTML [know-how]
#1 HTML [know-how]
Dalibor Gogic
 
Web Designing.docx
Web Designing.docxWeb Designing.docx
Web Designing.docx
AtulTiwari578750
 
Chapter 6 html
Chapter 6 htmlChapter 6 html
Chapter 6 html
home
 
More On Html 5
More On Html 5More On Html 5
More On Html 5
Darren Wood
 
Kick start @ html5
Kick start @ html5Kick start @ html5
Kick start @ html5
Umesh Agarwal
 

Similar to XHTML basics (20)

Summary of-xhtml-basics
Summary of-xhtml-basicsSummary of-xhtml-basics
Summary of-xhtml-basics
 
HTML.ppt
HTML.pptHTML.ppt
HTML.ppt
 
Xhtml
XhtmlXhtml
Xhtml
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
A109 base code html
A109 base code   htmlA109 base code   html
A109 base code html
 
Using HTML5 sensibly
Using HTML5 sensiblyUsing HTML5 sensibly
Using HTML5 sensibly
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 
Advance HTML
Advance HTMLAdvance HTML
Advance HTML
 
Html
HtmlHtml
Html
 
HTML guide for beginners
HTML guide for beginnersHTML guide for beginners
HTML guide for beginners
 
HTML (Basic to Advance)
HTML (Basic to Advance)HTML (Basic to Advance)
HTML (Basic to Advance)
 
Html.docx
Html.docxHtml.docx
Html.docx
 
Html basics-auro skills
Html basics-auro skillsHtml basics-auro skills
Html basics-auro skills
 
html.pdf
html.pdfhtml.pdf
html.pdf
 
Html basics
Html basicsHtml basics
Html basics
 
#1 HTML [know-how]
#1 HTML [know-how]#1 HTML [know-how]
#1 HTML [know-how]
 
Web Designing.docx
Web Designing.docxWeb Designing.docx
Web Designing.docx
 
Chapter 6 html
Chapter 6 htmlChapter 6 html
Chapter 6 html
 
More On Html 5
More On Html 5More On Html 5
More On Html 5
 
Kick start @ html5
Kick start @ html5Kick start @ html5
Kick start @ html5
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 

XHTML basics

  • 1. A Reformulation of HTML 4 in XML 1.0 (Yes, I am a nerd)
  • 2. XHTML  What is it?  Why use it?  How do I use it correctly?
  • 3. What is XHTML?  Extensible HyperText Markup Language  Combination of HTML and XML  The elements from HTML  The syntax from XML
  • 4. Why should I care?  Based on industry standards  Cross browser support  Validated and proper code  Will run properly on all XML devices
  • 5. Basic Structure  One root element per document  Properly nested elements  Closed elements  lowercase elements  More syntax
  • 6. One root element  The basic mandatory structure <!DOCTYPE – more in a second> <html> <head> <title></title> </head> <body> </body> </html>
  • 7. Properly Nested  BAD <p> This <strong><em> is</strong></em> fun. </p>  HAPPY FUN TIME <p> This <strong><em> is </em></strong> fun. </p>
  • 8. Closed Elements  BAD <p>Paragraph 1 <p>Paragraph 2 <br> <hr> <img src=“pic.jpg”>  HAPPY FUN TIME <p>Paragraph 1</p> <p>Paragraph 2</p> <br /> <hr /> <img src=“pic.jpg” />
  • 9. lowercase elements  BAD <P> another paragraph with an image <Img Src=“pic.jpg” /> </p>  HAPPY FUN TIME <p> another paragraph with an image <img src=“pic.jpg” /> </p>
  • 10.  HAPPY FUN TIME <table width=“100%”> </table> <input checked=“checked” /> <option selected=“selected”> </option>  BAD <table WIDTH=100%> </table> <input checked> <option SELECTED> </option> More syntax  Attribute names must be lowercase, their values quoted, and no “minimization”
  • 11. DOCTYPE  Only really have to worry about this if you create the page from scratch  Don’t really worry about what everything means except for… <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/ xhtml1-transitional.dtd">
  • 12. Now What?  XHTML Cheat Sheet v1.03 - http://floele.flyspray.org/htmlcheatsheet.pdf  Official HTML 4 page – http://www.w3.org/TR/html4/  Official list of elements (HTML 4) - http://www.w3.org/TR/html4/index/elements.html  Official list of attributes (HTML 4) - http://www.w3.org/TR/html4/index/attributes.html  Official XHTML 1 page – http://www.w3.org/TR/xhtml1/
  • 13. Who am I?  C. Todd Barber  Webmaster  University of Tennessee Health Science Center  Memphis, TN 38163  http://www.utmem.edu  Also at  http://ctbarber.com  http://twitter.com/ctbarber