Structure générale XHTML
Syntaxe : Structure générale
Syntaxe : Entête
CTRL+C pour copier, CTRL+V pour coller
1
<html xmlns="http://www.w3.org/1999/xhtml">
2
<head>
3
<title>...</title>
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
5
</head>
6
<body> ... </body>
7
</html>
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>...</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> </head> <body> ... </body> </html>
Syntaxe : Corps
CTRL+C pour copier, CTRL+V pour coller
1
<html xmlns="http://www.w3.org/1999/xhtml">
2
<head>
3
<title>...</title>
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5
</head>
6
<body>
7
<h1>...</h1>
8
<h2>...</h2>
9
<p>...</p>
10
</body>
11
</html>
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>...</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body> <h1>...</h1> <h2>...</h2> <p>...</p> </body> </html>
Complément :
Tutoriel XHTML : http://fr.html.net/tutorials/html/