Add custom attribute to <html> element for structured data

Hi guys,

I need to add some custom attributes to the html element. The final result should look like this:

<html itemscope itemtype="https://schema.org/FAQPage">

Is there any way to achieve this? It’s needed for the structured data markup.

Thanks a lot in advance!

1 Like