Smallest Valid XHTML5 Document

Q

What is a Smallest Valid XHTML5 Document?

✍: FYIcenter.com

A

If you are interested to see the smallest, but valid, XHTML5 document, look at this one:

<?xml version="1.0" ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Hello</title></head><body><footer>World!</footer></body>
</html>

Note that the "footer" element is a new markup element introduced in HTML5.

 

Validating XHTML5 Documents Online

Top Level Structure of XHTML5 Documents

Introduction of HTML5

⇑⇑ HTML Tutorials

2024-03-17, 1625🔥, 0💬