HTML and XHTML

XHTML is really just a newer version of HTML. The X stands for extendable, which allows new tags to be defined. XHTML also has stricter rules for coding pages. Here are the major restrictions:

HTML 5

While it hasn't been officially adopted yet, many browsers are starting to support HTML 5, the next version of HTML. It supports a variety of new tags (e.g. footer, article, section, nav) for indicating logical elements on a page. It is also less strict than XHTML and has a simplified Doc Type declaration: <!DOCTYPE html>

For our class projects, follow the XHTML guidelines, which will continue to work with HTML 5.