W3C home > Mailing lists > Public > www-validator@w3.org > September 2014

Re: [VE][73] Add Subject Here

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Tue, 23 Sep 2014 10:01:29 +0300
Message-ID: <54211AC9.9050804@cs.tut.fi>
To: Luca Leoni <kamaalove@gmail.com>, www-validator@w3.org
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
Received on Tuesday, 23 September 2014 07:01:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:11 UTC