Tutorial 9 session 2
This presentation is the property of its rightful owner.
Sponsored Links
1 / 8

Tutorial 9 – Session 2 PowerPoint PPT Presentation


  • 56 Views
  • Uploaded on
  • Presentation posted in: General

Tutorial 9 – Session 2. Working with HTML. Objectives. Test an XHTML document under the transitional DTD Test an XHTML document under the strict DTD Explore the use of character and parsed character data. Testing an XHTML Document.

Download Presentation

Tutorial 9 – Session 2

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Tutorial 9 session 2

Tutorial 9 – Session 2

Working with HTML


Objectives

Objectives

Test an XHTML document under the transitional DTD

Test an XHTML document under the strict DTD

Explore the use of character and parsed character data

New Perspectives on HTML and XHTML, Comprehensive


Testing an xhtml document

Testing an XHTML Document

To test your document, you need to send the file to an XML parser

Several are available on the Web

Sometimes the same mistake results in several errors noted in the report

Fixing one mistake can solve several errors

New Perspectives on HTML and XHTML, Comprehensive


Testing an xhtml document1

Testing an XHTML Document

New Perspectives on HTML and XHTML, Comprehensive


Successful validation under xhtml transitional

Successful Validation Under XHTML Transitional

New Perspectives on HTML and XHTML, Comprehensive


Testing an xhtml document2

Testing an XHTML Document

To test under another DTD, you’ll need to change the DOCTYPE declaration

New Perspectives on HTML and XHTML, Comprehensive


Using style sheets and xhtml

Using Style Sheets and XHTML

Parsed character data (PCDATA) is text parsed by a browser or parser

Unparsed character data (CDATA) is text not processed by the browser or parser

A CDATA section marks a block of text as CDATA so that parsers ignore any text within it

New Perspectives on HTML and XHTML, Comprehensive


Summary

Summary

Test under transitional DTD

Test under strict DTD

Character and parsed character data


  • Login