What is a Smallest Valid XHTML Dodument

Q

What is a Smallest Valid XHTML Dodument? - XHTML 1.0 Tutorials - Document Structure and Head Level Tags

✍: FYIcenter.com

A

If you are interested to see the smallest, but valid, XHTML document, check this one:

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head><title/></head><body><p/></body></html>

But it is not that useful. It has an empty title and an empty body.

2007-05-12, 4691👍, 0💬