Web Standartları (submit ve textarea)

Başlatan bijehr, 25 Kasım 2008 - 00:46:54

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

bijehr

Html/Css başlığı varmış görmedim. Oysa ki 5 dakika boyunca aradım. Tam bir körlük hakim bende. Yanlış yere başlık açtığım için kusura bakmayın.

Bir kod yazdım. W3school sitesi dahil bir ton site dolaştım ne yaptıysam ne ettiysem operanın kontrolünden geçemedim. Ve hep aynı hatalar. Kod aşağıda. Bilgisi olan varsa süper olur perişan haldeyim:)

<div id="formyaz">
<form action="deneme.php" method="POST">
<textarea rows="15" cols="100" name="yazi">asdsd</textarea>
<input type="submit" name="yolladim" value="Yolla">
</form>
</div><!--formyaz bitisi-->


Aşağıdaki hataları veriyor.

Alıntı YapValidation Output: 3 Errors
Line 82, Column 82: document type does not allow element "TEXTAREA" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
...area rows="15" cols="100" name="yazi">asdsd</textarea><input type="submit" na



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 82, Column 149: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.
...submit" name="yolladim" value="Yolla"></form>



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 82, Column 156: end tag for "FORM" which is not finished.
... name="yolladim" value="Yolla"></form>



Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.

feyyazesta

Opera kullanmadığım için bi fikrim yok fakat Doctype ını falan dogru tanımladın değilmi bide sayfaya bilgi veren meta taglarına falan bi bak sorun onlar olabilir. belkide....

KOLAY GELSİN...