html - HTML5 with XHTML 1.0 syntax what does it mean? -


out teacher told us, use html5 xhtml 1.0 syntax. mean? possible? write <!doctype> on top of *.html valid? (in html5, yes, what's xhtml part?)

you can think that, xhtml blend of html , xml.

https://en.wikipedia.org/wiki/xhtml

you declare <!doctype html> ie better render document. more on that, can refer following document: https://hsivonen.fi/doctype/

i think teacher meant like:

when you're writing html document, must keep note on xml standards too.

for example,

<p>start , end element.</p> 

and other xml rules.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -