1 / 11

HTML Tutorial 9: Working With XHTML

CIS 1315. HTML Tutorial 9: Working With XHTML. Document Type Definition (DTD). Content & Structure Rules Transitional Supports: Presentational Features of HTML Deprecated Elements Deprecated Attributes Strict No Support For: Presentational Features of HTML Deprecated Elements

nevin
Download Presentation

HTML Tutorial 9: Working With XHTML

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. CIS 1315 HTMLTutorial 9: Working With XHTML

  2. Document Type Definition (DTD) • Content & Structure Rules • Transitional • Supports: • Presentational Features of HTML • Deprecated Elements • Deprecated Attributes • Strict • No Support For: • Presentational Features of HTML • Deprecated Elements • Deprecated Attributes • Frames

  3. Well-formed Documents

  4. Well-formed Documents

  5. Well-formed Documents • Prohibited Attributes

  6. Well-formed Documents • Required Attributes

  7. Well-formed Documents • Use Correct Structure • XHTML • html • head • title • body

  8. <?xml> • Indicates Document Adheres to XML • Attributes • version=“value” • encoding=“type” • Indicates Character Set • standalone=“yes | no” • DTD Within Document <?xml version=“1.0” encoding=“UTF-8” standalone=“no” ?>

  9. <!DOCTYPE> • Indicates what DTD is Associated with Document • XHTML Transitional<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> • XHTML Strict<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

  10. Namespace Attribute • Attribute of <html> • Unique Identifier of a Particular Document Type • XHTML <html xmlns="http://www.w3.org/1999/xhtml">

  11. Validation • http://validator.w3.org • Indicates Whether Page is XHTML Valid • http://jigsaw.w3.org/css-validator/ • Indicates Whether Page is CSS Valid

More Related