SlideShare a Scribd company logo
 
Your audience may view your site with many different devices and browser types.
The browser is not print!
No fixed page size No fixed page length User can change the font size User can link to her/his own local style sheet Screen size can be tiny or huge
 
Created by Tim Berners-Lee at CERN Open standard developed under supervision of the World Wide Web Consortium ( www.w3c.org ) Works to ensure the full potential of the Web for shared, integrated functionality is realized
HTML files Text files Contain mark-up tags Tags direct how page is to be displayed by browser Can be created from a simple text editor File extension  .htm  or  .html
HTML was never intended to contain tags for formatting a document.  HTML was intended to define the content of a document, like: <h1>This is a heading</h1> <p>This is a paragraph.</p> When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large web sites, where fonts and color information were added to every single page, became a long and expensive process
Competing versions of browsers introduced features beyond the standards Inconsistent implementations of display engines and scripting Content and presentation mixed together Layout often done with tables Each element had many presentation attributes, resulting in laborious maintenance The “Slop Code Era”
XHTML is a version of HTML modified to conform to the XML standard Designed to separate content from presentation Content in XHTML Presentation controlled by Cascading Style Sheets (CSS) Extensible – Additional elements can be defined XML Compatible – Other XML based languages can be embedded in XHTML documents Like a programming language Specific syntax to use Validators help you get it right
Case is significant All elements must have begin tags and end tags  <p>Hello</p> Empty elements contain their own end tag  <br /> Attribute values must be enclosed in quotation marks More specfics available at http://www.w3.org/TR/xhtml1/#diffs
<!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;>   <html>   <head>   <title>   My Home Page </title>   </head>   <body>   <h1> My Home Page  </h1>  <p>   Welcome to my home page </p>   </body>   </html>
Declares the specific version of HTML or XHTML being used on the page Used by the browser to decide how to process the page Three types Transitional - Forgiving Strict – Requires adherence to standards Frameset – Use if page has frames Always first in file
Enter exactly as below <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN“ &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;>   Using Strict encourages standards based coding Validators will flag logical errors in your methods Your CSS will work better and more predictably
Are used to control how elements are presented in the Web page Use a different syntax that HTML/XHTML Work with the common visual browsers (Internet Explorer, FireFox, Opera) Used properly, can great simplify visual design, site management and content maintenance
HTML-Kit  editor – http://chami.com/ Amaya  editor – http://www.w3c.org/Amaya W3schools  XHTML and CSS tutorials – http://www.w3schools.com/ Web Head Start  tutorials – http://www.webheadstart.org/ Tidy  Web Interface - http://www.washington.edu/webinfo/tidy.cgi CSS Validator  - http://jigsaw.w3.org/css-validator/ Dave Raggett  XHTML and CSS tutorials - http://www.w3.org/MarkUp/Guide/Overview.html Web Accessibility in Mind  (WebAIM) - http://www.webaim.org/ Color contrast analyzer  - http://www.visionaustralia.org.au/info.aspx?page=628 Stylin’ With CSS, A Designer’s Guide , Second Edition by Charles Wyke-Smith

More Related Content

What's hot (20)

PPS
Xhtml
Samir Sabry
 
PPT
Xhtml
Manav Prasad
 
PPTX
Front-end development introduction (JavaScript). Part 2
Oleksii Prohonnyi
 
PPT
Xhtml 2010
guest0f1e7f
 
PPTX
HTML to FTP
Keira Dooley
 
PPT
Hour 02
dpd
 
PPTX
Dhtml
Sadhana28
 
PPT
Introduction to html55
subrat55
 
PPT
1.1 xhtml basics
Bulldogs83
 
PPTX
HTML- Hyper Text Markup Language
Trinity Dwarka
 
PPT
Week 2
Rowena LI
 
PPTX
Basic HTML
coachhahn
 
PPTX
Top frontend web development tools
Benji Harrison
 
PPT
Html5
Jetti Chowdary
 
PPTX
Introduction to HTML
ShreyaShetty92
 
PPTX
Xhtml
sana mateen
 
PDF
Front End Development in Magento
Eric Landmann
 
PPT
Gwt Presentation 1
Jetti Chowdary
 
PPTX
Front-End Development
Hein Htet Aung
 
PDF
Html ( 1 )
Simplife EG
 
Front-end development introduction (JavaScript). Part 2
Oleksii Prohonnyi
 
Xhtml 2010
guest0f1e7f
 
HTML to FTP
Keira Dooley
 
Hour 02
dpd
 
Dhtml
Sadhana28
 
Introduction to html55
subrat55
 
1.1 xhtml basics
Bulldogs83
 
HTML- Hyper Text Markup Language
Trinity Dwarka
 
Week 2
Rowena LI
 
Basic HTML
coachhahn
 
Top frontend web development tools
Benji Harrison
 
Introduction to HTML
ShreyaShetty92
 
Front End Development in Magento
Eric Landmann
 
Gwt Presentation 1
Jetti Chowdary
 
Front-End Development
Hein Htet Aung
 
Html ( 1 )
Simplife EG
 

Viewers also liked (6)

PDF
New Zealand international student film enrolment form
SAEIndiaOffice
 
PPTX
HTML5 & CSS3 -- UPA Iowa
Ian Lintner
 
PDF
Tables and forms with HTML, CSS
Yaowaluck Promdee
 
PPTX
Lecture 1 introduction to flash
poleyseugenio
 
PPT
Adobe Flash History and Basics
Tasawr Interactive
 
PPTX
Adobe Flash Presentation
guestf24e830
 
New Zealand international student film enrolment form
SAEIndiaOffice
 
HTML5 & CSS3 -- UPA Iowa
Ian Lintner
 
Tables and forms with HTML, CSS
Yaowaluck Promdee
 
Lecture 1 introduction to flash
poleyseugenio
 
Adobe Flash History and Basics
Tasawr Interactive
 
Adobe Flash Presentation
guestf24e830
 
Ad

Similar to Html xhtml css (20)

PPT
Xhtml 2010
Cathie101
 
PPT
XHTML and CSS
peak3
 
PPT
Html For Beginners 2
Sriram Raj
 
PPT
Design Tools Html Xhtml
Ahsan Uddin Shan
 
PPT
HTML & CSS Workshop Notes
Pamela Fox
 
PDF
Rc064 010d Core Html 1
troopergreen
 
PDF
Standardizing the Web: A Look into the Why of Web Standards
Tim Wright
 
PPTX
Web technology Unit-II Part A
SSN College of Engineering, Kalavakkam
 
PPT
Web publishing and XHTML
bjornh
 
PPTX
Web1O1 - Intro to HTML/CSS
NYCSS Meetup
 
PPT
xhtml_css.ppt
fakeaccount225095
 
PPTX
Markup Documents
Steven Cahill
 
PPT
Lecture 4
uccwebcourses
 
PPT
Supplement web design
shelly3160
 
PPTX
(Fast) Introduction to HTML & CSS
Dave Kelly
 
PPT
Web Development From the Ground Up, a Series for Novice ...
webhostingguy
 
PDF
HTML standards
Sukh Sandhu
 
PDF
Html
Peter Kaleta
 
PPT
Web Standards
ChrisF1502010
 
Xhtml 2010
Cathie101
 
XHTML and CSS
peak3
 
Html For Beginners 2
Sriram Raj
 
Design Tools Html Xhtml
Ahsan Uddin Shan
 
HTML & CSS Workshop Notes
Pamela Fox
 
Rc064 010d Core Html 1
troopergreen
 
Standardizing the Web: A Look into the Why of Web Standards
Tim Wright
 
Web technology Unit-II Part A
SSN College of Engineering, Kalavakkam
 
Web publishing and XHTML
bjornh
 
Web1O1 - Intro to HTML/CSS
NYCSS Meetup
 
xhtml_css.ppt
fakeaccount225095
 
Markup Documents
Steven Cahill
 
Lecture 4
uccwebcourses
 
Supplement web design
shelly3160
 
(Fast) Introduction to HTML & CSS
Dave Kelly
 
Web Development From the Ground Up, a Series for Novice ...
webhostingguy
 
HTML standards
Sukh Sandhu
 
Web Standards
ChrisF1502010
 
Ad

More from L15338 (8)

PPT
Task 2 planning
L15338
 
PPT
Testing and evaluation
L15338
 
PPT
Task 2 planning
L15338
 
PPT
Task 2 planning
L15338
 
PPT
Task 1 - Conventions of a portfolio website
L15338
 
PPT
Seo of apple.com
L15338
 
PPT
Before and after apple uk
L15338
 
PPTX
Web accessibility
L15338
 
Task 2 planning
L15338
 
Testing and evaluation
L15338
 
Task 2 planning
L15338
 
Task 2 planning
L15338
 
Task 1 - Conventions of a portfolio website
L15338
 
Seo of apple.com
L15338
 
Before and after apple uk
L15338
 
Web accessibility
L15338
 

Recently uploaded (20)

PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Python basic programing language for automation
DanialHabibi2
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 

Html xhtml css

  • 1.  
  • 2. Your audience may view your site with many different devices and browser types.
  • 3. The browser is not print!
  • 4. No fixed page size No fixed page length User can change the font size User can link to her/his own local style sheet Screen size can be tiny or huge
  • 5.  
  • 6. Created by Tim Berners-Lee at CERN Open standard developed under supervision of the World Wide Web Consortium ( www.w3c.org ) Works to ensure the full potential of the Web for shared, integrated functionality is realized
  • 7. HTML files Text files Contain mark-up tags Tags direct how page is to be displayed by browser Can be created from a simple text editor File extension .htm or .html
  • 8. HTML was never intended to contain tags for formatting a document. HTML was intended to define the content of a document, like: <h1>This is a heading</h1> <p>This is a paragraph.</p> When tags like <font>, and color attributes were added to the HTML 3.2 specification, it started a nightmare for web developers. Development of large web sites, where fonts and color information were added to every single page, became a long and expensive process
  • 9. Competing versions of browsers introduced features beyond the standards Inconsistent implementations of display engines and scripting Content and presentation mixed together Layout often done with tables Each element had many presentation attributes, resulting in laborious maintenance The “Slop Code Era”
  • 10. XHTML is a version of HTML modified to conform to the XML standard Designed to separate content from presentation Content in XHTML Presentation controlled by Cascading Style Sheets (CSS) Extensible – Additional elements can be defined XML Compatible – Other XML based languages can be embedded in XHTML documents Like a programming language Specific syntax to use Validators help you get it right
  • 11. Case is significant All elements must have begin tags and end tags <p>Hello</p> Empty elements contain their own end tag <br /> Attribute values must be enclosed in quotation marks More specfics available at http://www.w3.org/TR/xhtml1/#diffs
  • 12. <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;> <html> <head> <title> My Home Page </title> </head> <body> <h1> My Home Page </h1> <p> Welcome to my home page </p> </body> </html>
  • 13. Declares the specific version of HTML or XHTML being used on the page Used by the browser to decide how to process the page Three types Transitional - Forgiving Strict – Requires adherence to standards Frameset – Use if page has frames Always first in file
  • 14. Enter exactly as below <!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN“ &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;> Using Strict encourages standards based coding Validators will flag logical errors in your methods Your CSS will work better and more predictably
  • 15. Are used to control how elements are presented in the Web page Use a different syntax that HTML/XHTML Work with the common visual browsers (Internet Explorer, FireFox, Opera) Used properly, can great simplify visual design, site management and content maintenance
  • 16. HTML-Kit editor – http://chami.com/ Amaya editor – http://www.w3c.org/Amaya W3schools XHTML and CSS tutorials – http://www.w3schools.com/ Web Head Start tutorials – http://www.webheadstart.org/ Tidy Web Interface - http://www.washington.edu/webinfo/tidy.cgi CSS Validator - http://jigsaw.w3.org/css-validator/ Dave Raggett XHTML and CSS tutorials - http://www.w3.org/MarkUp/Guide/Overview.html Web Accessibility in Mind (WebAIM) - http://www.webaim.org/ Color contrast analyzer - http://www.visionaustralia.org.au/info.aspx?page=628 Stylin’ With CSS, A Designer’s Guide , Second Edition by Charles Wyke-Smith