I need some help with web programming. I have to do this assignment from school and the prof has given details on the structuring. One of them is that my site should be XHTM
Depending on your assignment's definition of "HTML5", this is impossible with markup alone. A document cannot use a new HTML5 element while remaining compliant with any of the XHTML 1.0 doctypes.
However if you're allowed to use JavaScript APIs that were introduced with HTML5, such as localStorage, you may be able to get away with writing a script to access those APIs while not using any new HTML5 elements like or . Those APIs are not tied to HTML5 markup and so can be used with any flavor of markup, but are generally called "HTML5 features" anyway.