1 / 8

Introduction to XHTML

Introduction to XHTML. Professor Stephen Kwan. XHTML. Structure. Format. Content. Style Sheets. HTML. Dynamic. XML. Scripts & Document Object Model (DOM). Cascading Style Sheets (CSS). Extensible Stylesheet Language (XSL). Three DTD’s for Compliance.

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

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