[VE][73] Add Subject Here

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[VE][73] Add Subject Here

Luca Leoni
Hi,

I don't understand why the validator give me error for <form> and <input> tag.

Thanks
Bye

Validating http://www.leoniaudiovideo.com/
Error [73]: "end tag for X which is not finished"
Reply | Threaded
Open this post in threaded view
|

Re: [VE][73] Add Subject Here

Jukka K. Korpela
2014-09-22 16:43, Luca Leoni wrote:

> I don't understand why the validator give me error for <form> and
> <input> tag.
>
> Thanks
> Bye
>
> Validating http://www.leoniaudiovideo.com/
> Error [73]: "end tag for X which is not finished"

Since the page declares HTML 4.01 Strict, a <form> element can have
block-level children only. The simplest fix in this case is to wrap the
<input> element in a <div> container:

<form ...><div><input ...></div></form>

Yucca