Download presentation
Presentation is loading. Please wait.
1
HTML & XHTML Computers in Principle & Practice Deena Engel
2
XHTML Dreamweaver supports both HTML and XHTML. (Use File/New/HTML and select the filetype you wish and then use the code view to see the tags.) Note: The DOCTYPE tag spells out where to find the DTD.
3
XML and XHTML: document structure HTML structure - and in an page. An XML document contains the prolog, the root element, and sub elements.
4
HTML vs XHTML FeatureHTML (4.0 or before)XHTML Case sensitivityHTML is not case sensitive. and are the same tag. Since XML is case sensitive, so is XHTML. Only is permitted Invalid tagsMost browsers are “ forgiving ” Browsers are less forgiving; e.g. a missing could cause a page not to display at all Empty elementsThere are some HTML tags that do not require a closing tag (e.g., etc XML and XHTML require some indication of a closing tag, e.g. or Quotes in attribute values Quotation marks are optional: OR Quotation marks are required for all attributes.
5
HTML and XHTML Further details on differences from W3 are found at: http://www.w3.org/MarkUp/2004/xhtml-faq
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.