Structure générale XHTML

SyntaxeStructure générale

1
<html xmlns="http://www.w3.org/1999/xhtml">
2
    <head> ... </head>
3
    <body> ... </body>
4
</html>

SyntaxeEntête

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>

SyntaxeCorps

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>