1 / 8

Comprehensive Guide to XHTML: Structure, Compliance, and Scripting Techniques

This resource offers an in-depth overview of XHTML, covering its essential components including structure, formatting, and stylesheets. Learn about the differences between XHTML and HTML, including case sensitivity, attribute quotation requirements, and proper element closure and nesting. Explore the significance of Document Type Definitions (DTD) such as Strict, Transitional, and Frameset. Delve into the Document Object Model (DOM), dynamic scripting, and cascading style sheets (CSS), providing a complete understanding of modern web development practices.

yuri-lowery
Télécharger la présentation

Comprehensive Guide to XHTML: Structure, Compliance, and Scripting Techniques

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. Introduction to XHTML Professor Stephen Kwan

  2. XHTML Structure Format Content Style Sheets HTML Dynamic XML Scripts & Document Object Model (DOM) Cascading Style Sheets (CSS) Extensible Stylesheet Language (XSL)

  3. Three DTD’s for Compliance Document Type Definitions Transitional Strict Frameset XHTML

  4. Differences between XHTML and HTML • XHTML is case-sensitive, all attribute values must be in quotes, cannot minimize attribute values • XHTML elements must be in lower case • All XHTML elements must be closed • All XHTML elements must be properly nested. <title> must be first element in <head> • A DOCTYPE of Strict, Transitional or Frameset DTD must be specified • A namespace must be specified for the document’s schema

  5. XHTML Document Prototype <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN“ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- Author: Stephen Kwan File Name: deitel.htm Description: Study Notes for Deitel, Deitel and Nieto Date Last Update: 09/16/2001 --> <head> <title> </title> </head> <body> </body> </html>

  6. HTML Document Prototype <html> <!-- Author: Stephen Kwan File Name: deitel.htm Description: Study Notes for Deitel, Deitel and Nieto Date Last Update: 09/16/2001 --> <head> <title> </title> </head> <body> </body> </html>

  7. HTML Document Preparation TextPad,

  8. Dynamic HTML Netscape DHTML Microsoft I.E. DHTML • Use HTML and Scripting - use Browser only • Cross platform • and browser • Enhance the visual appeal and interactivity of document CSS Level 1 JavaScript 1.2 CSS-P Visual Filters Dynamic CSS Layers JSS Cross-Browser DHTML

More Related