Is there a subset or limitation of HTML5 that can be perfectly displayed in XHTML5 and vice versa?

I need to present the content in lingua franca, i.e. currently HTML5 standard - my goal is not to display the page in a web browser. I need to present only content , without an interface, without a layout, without logic (without Javascript).

As other questions (or questions of programmers ) and the recommendation of W3C HTML5, section "HTML vs XHTML" ,

DOM, HTML syntax, and XHTML syntax cannot represent the same content.

Ok, but ~ 90% can be the same (!), And if I don't need Javascript, styles, etc., and I can provide some restrictions, it will be 100% ... So, the question is what restrictions do I need use (?) to ensure that all HTML5 serialized as XHTML5 will be the same and vice versa (XSLT, which will return with the original HTML5 document).

Is there a subset of HTML5 elements "or a subset of" with some additional restrictions "that provides XHTML5 / HTML5 conversion reversibility ?

+4
source share
1 answer
+1

All Articles