малко помощ за валидация

tukanov

Registered
някои може ли да ми подскаже как така ми се получават тези грешки и как да ги премахна

първате грешка е:
Line 84, Column 5: document type does not allow element "HR" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

<hr />



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 95, Column 33: document type does not allow element "DIV" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

border: 1px black solid;">



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>").


ето и линиите от 82 до 100

<a href="happened.php" class="SubLink">
• Случи се тук</a>
<hr />
<a href="contacts.php" class="SubLink">

• Контакти</a></span></div></div>
<hr>
<a href="certified.php" >
<div style="background-image: url(./images/Certified.jpg);
height:109px; width:165px;
color=#ffcf00; font-weight: bold; vertical-align: bottom;
line-height:200px;
overflow:hidden;
font-family: Verdana;
border: 1px black solid;">

</div>
</a>
<hr>
<a href="spa.php" >

благодаря предварително
 
<a href="happened.php" class="SubLink"> Случи се тук</a>
<hr />
<a href="contacts.php" class="SubLink"> Контакти</a></span></div></div>
<hr />
<a href="certified.php">
<div style="background-image: url(./images/Certified.jpg);
height:109px; width:165px;
color=#ffcf00; font-weight: bold; vertical-align: bottom;
line-height:200px;
overflow:hidden;
font-family: Verdana;
border: 1px black solid;">

</div>
</a>
<hr />
<a href="spa.php" >
 
<a href="happened.php" class="SubLink">
• Случи се тук</a>
<hr />
<a href="contacts.php" class="SubLink">

• Контакти</a></span></div></div>
<hr>
<a href="certified.php" >
<div style="background-image: url(./images/Certified.jpg);
height:109px; width:165px;
color=#ffcf00; font-weight: bold; vertical-align: bottom;
line-height:200px;
overflow:hidden;
font-family: Verdana;
border: 1px black solid;">

</div>
</a>
<hr>
<a href="spa.php" >

Вкарваш в инлайн елемент като <a> блоков (<div>)
Трябва да стане <div><a></a></div>
Ако продължава да има грешки вкарай линковете в блоков елемент като <p> или <div>
 

Горе