However , if the markup is to be processed as both XML and HTML , a DOCTYPE should be used .
The DOCTYPE is optional in XHTML5 and may simply be omitted .
If the markup is to be processed as both XML and HTML , a DOCTYPE should be used .
The DOCTYPE is optional in XHTML5 and may simply be omitted .