Jump to content

[SOLVED] xhtml valid use of 'input' tag, in a table


joemamahunt

Recommended Posts

What is the proper use of the input tag in a td?

I get about 40 errors just for this.

 

		       <tr>
			<td style="font-size: small;">
				<br />
				<form style="position: relative; display: inline;" action="..." method="post">
				<input type="hidden" ... />
				<input type="hidden" ... />
				<input type="hidden" ... />
				<input type="hidden" ... />
				<input type="hidden" ... />
				<input type="hidden" ... />
				<input type="hidden" ... />
				<input type="hidden" ... />
				<input type="hidden" ... />
				<input type="submit" ... />
				</form>
			</td>
                       </tr>

Nevermind, I guess I gotta follow the advice of this error:

document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.

 

<p> works fine. (inside <form>)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.