Re: Google searchbox is not validating as HTML5

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 
Validator.

You could even just read Google’s documentation: 
https://developers.google.com/custom-search/docs/element#html5

Received on Monday, 5 December 2016 14:28:28 UTC