1 / 8

Tutorial 9 – Session 2

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.

ganesa
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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tutorial 9 – Session 2 Working with HTML

  2. 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

  3. 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

  4. Testing an XHTML Document New Perspectives on HTML and XHTML, Comprehensive

  5. Successful Validation Under XHTML Transitional New Perspectives on HTML and XHTML, Comprehensive

  6. Testing an XHTML Document To test under another DTD, you’ll need to change the DOCTYPE declaration New Perspectives on HTML and XHTML, Comprehensive

  7. 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

  8. Summary Test under transitional DTD Test under strict DTD Character and parsed character data

More Related