martedì 29 maggio 2012

DOCTYPE XHTML 1.0 Strict

XHTML 1.0 Strict rispetto alla versione Transitional non accetta i tag HTML definiti deprecati, non è tollerante a non conformità sintattiche e prevede controlli più rigorosi anche rispetto al valore di alcuni attributi dei tag (per esempio, l'attributo id deve avere valori univoci all'interno dello stesso documento).

Fonte: Wikipedia
<!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">

 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>DTD XHTML 1.0 Strict</title>
 </head>

 <body>
  <p>CONTENUTO</p>
 </body>

</html>

Nessun commento:

Posta un commento