Smallest Valid XHTML5 Dodument

Q

What is a Smallest Valid XHTML5 Dodument?

✍: 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.

 

Introduction of HTML5

⇒⇒HTML Tutorials

2017-02-20, 217👍, 0💬