The interpretation of assignment, which seems to make the most sense, is that you should use the XHTML HTML5 linearization , also known as XHTML5. It just means that you use HTML5, like everyone else, but you do it using common XML principles.
In an example case, this would mean the following markup:
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body id="index" class="home"> <header id="banner" class="body"> <h1><a href="#">Header1 </a></h1> <nav><ul> <li class="active"><a href="#">home</a></li> <li><a href="#">portfolio</a></li> <li><a href="#">blog</a></li> <li><a href="#">contact</a></li> </ul></nav> </header> </body> </html>
The doctrines of XHTML 1.0 are completely different. They define fixed versions of HTML, so you can’t use in static markup everything that is not allowed by these versions, that is, something new in HTML5 compared to XHTML 1.0 and HTML 4.01 (which is what the “HTML5 function” is probably , means the appointment). The requirement "XHTML-compliant (Strict or Transitional)" is unclear, but if it is specifically intended to reference XHTML 1.0, then the assignment is self-consistent (unless you use client-side scripts to go to the "HTML5 functions").
(This answer has been largely rewritten thanks to comments by @Alohcis.)
source share