|
The following question was asked on public-rdfa mailing list: Is it possible to use html5 doctype with rdfa being able to use xhtml style syntax and staying in strict mode? |
|
The answer is yes. I'm copying the answer I gave on public-rdfa mailing-list so it will be accessible for others in the future here. Strict Mode
will put your browser into strict mode. Proposed syntax for adding RDFaBe careful it is still a working draft at the time of this writing: RDFa in HTML
Syntax Style (aka pseudo-xhtml)You can write mostly with xhtml syntax style without issues. But be aware that your document will not be necessary xhtml mime-type ready. So basically, you can in html5
There is a document, HTML Polyglot, explaining the syntax if you want to serve
documents using both |



done. I moved the answer.
Thanks, much better!