W3C home > Mailing lists > Public > www-validator@w3.org > December 2016

Re: Google searchbox is not validating as HTML5

From: David Dorward <david@dorward.me.uk>
Date: Mon, 05 Dec 2016 14:27:30 +0000
To: "Bigdata Sharma" <10bigdata@gmail.com>
Cc: validator@w3.org, www-validator@w3.org
Message-ID: <8E23DA7B-484B-4010-94BC-84F7A2ECC33B@dorward.me.uk>
On 5 Dec 2016, at 10:40, Bigdata Sharma wrote:

> Google searchbox is not validating as HTML 5.

Correct. Google’s default code is not valid HTML 5.

> When I check this in the W3C validator it shows an error : "element 
> gcse:search not allowed as child of
> element div in this context". How to solve it out.

This is something you should take up with Google, not with the 

You could even just read Google’s documentation: 
Received on Monday, 5 December 2016 14:28:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 5 December 2016 14:28:32 UTC