Kodları lütfen aşağıdaki butonları kullanarak renklendirin. Örnek: <php> echo "Selam Dünya"; </php>
Yardım
karakter kaldı

validator.w3.org dan aldığım hata

http://validator.w3.org dan aldığım hata aşağıda. Neden böyle bir hata veriyor anlamadım.



document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag
…rc" id="registerol" ><div class="link"><div class="menuimg"><img src="resimler…

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





<div id="menu">
       <a href="javascript:;" class="imgsrc" id="loginol" ><div class="link"><div class="menuimg"><img src="resimler/uyegirisi.png" alt="" /></div>Kullanıcı Girişi</div></a>
       <a href="javascript:;" class="imgsrc" id="registerol" ><div class="link"><div class="menuimg"><img src="resimler/uyekaydi.png" alt="" /></div>Kullanıcı Kaydı</div></a>
</div>
+0
-0
Cevaba KatılıyorumKatılmıyorum
Cevap Yaz Yorum Yaz Arşivime Ekle Takip Et

Doğru Cevap

  • muratmoon adlı üyenin fotoğrafı
    11 yıl önce yazılmış
    38 cevap - 1 soru
    a inline elementdir. div ise block. Inline icinde block kullanamazsiniz.

Cevaplar

Hiç cevap bulunamadı.