Bonjour,
Voila je débute dans la création de site web et je dois rendre un site web sans érreures dans 48h...Le problème c'est qu'une érreur persiste quand je passe mon site au Validator W3c. Il me marque les choses suivantes :
"Line 14, Column 51: document type does not allow element "a" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "pre", "address", "fieldset", "ins", "del" start-tag
<a href="file:///E:/site_internet/test_5bis.html#"><h1 class="gt2">Esprit9</h1></a>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Line 14, Column 67: document type does not allow element "h1" here; missing one of "object", "ins", "del", "map", "button" start-tag
…E:/site_internet/test_5bis.html#"><h1 class="gt2">Esprit9</h1></a>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). "
Et le début de mon code est le suivant :
<link rel="stylesheet" type="text/css" media="screen" href="ecran.css" />
</head>
<body>
<a href="file:///E:/site_internet/test_5bis.html#"><h1 class="gt2">Esprit9</h1></a>
<ul id="navigation">
<li><a href="file:///E:/site_internet/test_5bis.html#" title="Acceuil">Acceuil</a></li>
<li><a href="file:///E:/site_internet/3eme_page.html#" title="Bureau">Le bureau</a></li>
<li><a href="file:///E:/site_internet/4eme_page.html#" title="Inscription">Inscription</a></li>
<li><a href="file:///E:/site_internet/2eme_page.html#" title="Musique">Musique</a></li>
</ul>
Merci d'avance pour votre précieuse aide !
Ps : désolé ma souris a du mal donc je n'ai pas put mettre en avant mon code.
Voila je débute dans la création de site web et je dois rendre un site web sans érreures dans 48h...Le problème c'est qu'une érreur persiste quand je passe mon site au Validator W3c. Il me marque les choses suivantes :
"Line 14, Column 51: document type does not allow element "a" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "pre", "address", "fieldset", "ins", "del" start-tag
<a href="file:///E:/site_internet/test_5bis.html#"><h1 class="gt2">Esprit9</h1></a>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Line 14, Column 67: document type does not allow element "h1" here; missing one of "object", "ins", "del", "map", "button" start-tag
…E:/site_internet/test_5bis.html#"><h1 class="gt2">Esprit9</h1></a>
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>"). "
Et le début de mon code est le suivant :
<link rel="stylesheet" type="text/css" media="screen" href="ecran.css" />
</head>
<body>
<a href="file:///E:/site_internet/test_5bis.html#"><h1 class="gt2">Esprit9</h1></a>
<ul id="navigation">
<li><a href="file:///E:/site_internet/test_5bis.html#" title="Acceuil">Acceuil</a></li>
<li><a href="file:///E:/site_internet/3eme_page.html#" title="Bureau">Le bureau</a></li>
<li><a href="file:///E:/site_internet/4eme_page.html#" title="Inscription">Inscription</a></li>
<li><a href="file:///E:/site_internet/2eme_page.html#" title="Musique">Musique</a></li>
</ul>
Merci d'avance pour votre précieuse aide !
Ps : désolé ma souris a du mal donc je n'ai pas put mettre en avant mon code.