Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8841

Ad-hoc HTML lang attribute

$
0
0
I am creating one Ad-hoc page with no page nesting. I open it in fancyobx popup. When I validate it for Accessibility it throws @Document language not identified.@ error.Below is the @Fix Suggestion@Repair: For HTML documents add the lang attribute and a valid ISO-639-1 two letter language code to the opening HTML element. For XHTML documents add both the lang and xmllang attributes with a valid ISO-639-1 two letter language code to the opening HTML element.Can we add lang attribute and its value to Ad-hoc generated HTML tag?Note: I don't want to set master template to this page as there are some elements on master page which I don't want to show on this page.I can simply set root master to this page and hide unwanted elements by targeting fancybox classes but just looking for what we can do with Kentico.

Viewing all articles
Browse latest Browse all 8841

Trending Articles