05_XHTML_DTD - CSI 3540 Structures, techniques et normes du...

Info iconThis preview shows pages 1–14. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CSI 3540 Structures, techniques et normes du Web Friday, January 22, 2010 Objectif: tre en mesure de lire et de comprendre la grammaire DTD de XHTML Lectures: Web Technologies (2007) pages 98106 La grammaire DTD de XHTML Friday, January 22, 2010 Plan 1. Concepts de base du langage XML 2. Dclaration dun lment 3. Dclaration dune liste dattributs 4. Dclaration dune entit 5. Fichiers DTD 6. Exemple du cellier Friday, January 22, 2010 Cette semaine Youtube (Google), puis Vimeo dbutent lutilisation dHTML5 (en particulier la balise VIDEO et son API) Firefox lance sa version 3.6 du populaire navigateur, apportant un support pour... HTML5 Friday, January 22, 2010 Motd Examen partiel repouss au 23 fvrier (en classe) Friday, January 22, 2010 XHTML 1.1 (Strict) <?xml version="1.1" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd "> <html xmlns="http://www.w3.org/1999/xhtml " xml:lang="en"> <head> <title>CSI3540 : XHTML et son DTD</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <p>Contenu dun lément de type P</p> </body> </html> Friday, January 22, 2010 XHTML 1.0 3 saveurs de DTD : < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd " > < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd " > < !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd " > Friday, January 22, 2010 Concepts XHTML est un langage de balisage largement utilis pour la conception de pages Web XML , et plus particulirement une grammaire DTD (dfnition de type de document), dcrit la syntaxe du langage XHTML Pourquoi un mtalangage ? Friday, January 22, 2010 Concepts La validation dun document dtermine sil est bien form , si lordre et les contraintes dimbrication des lments respectent les rgles spcifques au vocabulaire Formalismes : DTD et XML Schema (notation alternative : Relax NG) Des outils : diteurs tels que <oXygen/> ou encore des analyseurs syntaxiques Xerces Friday, January 22, 2010 XML Friday, January 22, 2010 Documents bien forms Un document se compose de donnes textuelles et de balisage Balisage : balises + appels Balises : dbutent par < et se terminent par > Friday, January 22, 2010 Documents bien forms 3 types de balises : ouverture, fermeture et lment vide (ne peut contenir des donnes) Les balises douverture et de fermeture doivent tre parfaitement apparies (cet enchevtrement nest pas valide : < a >< b ></ a ></ b >) En consquent, il y a toujours une seule balise la racine de larbre danalyse Friday, January 22, 2010 Documents bien forms Appels : & + appel de caractre + ; ou & + appel dentit + ;...
View Full Document

Page1 / 61

05_XHTML_DTD - CSI 3540 Structures, techniques et normes du...

This preview shows document pages 1 - 14. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online