LogoSI

Corso XHTML

-Autore: Mirko V.    -Link: http://www.simpleinformatica.it

Regole di base


La struttura gerarchica:

Gli elementi di un documento HTML devono essere organizzati secondo una struttura gerarchica.

struttura gerarchica

La struttura di base di un documento:

Informazioni
sulla versione
HTML
utilizzata.

<!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" xml:lang="it" lang="it" >

Intestazione:
informazione
sul contenuto.

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>TITOLO PAGINA </title>
</head>

Corpo:
il documento
vero e
proprio.

   <body>

   </body>
</html>


Informazione sulla versione:


La sezione <head>

<head>
  <title>Titolo della pagina</title>
   <meta http-equiv="Cntent-Type& content="text/html; charset=iso-8859-1" />
   <meta name="author" content="NOME COGNOME" />
   <meta name="copyright" content="" />
   <meta name="description" content="descrizione della pagina" />
   <meta name="keywords" xml:lang="en" lang="en" content=""one,two,three" />
   <meta name="keywords" xml:lang="it" lang="it" content=""uno,due,tre" />
   <meta name="date" content="2007-01-11T17:01:37+00:00" />
   <meta http-equiv="Expires& content="Tue, 20 Sep 2008 14:25:27 GMT" />
</head>


matte@simpleinformatica.it  |  mirko@simpleinformatica.it

Torna all'inizio della pagina