3 ms·
Wouldn't <html/> be the smallest?
by DiabloD3 15y ago
Wouldn't <html/> be the smallest?
- eliam 15y agoSmallest what? There's no DOCTYPE.
- knowtheory 15y agoIt's worth adding that the DOCTYPE is what specifies what HTML rendering engine IE 7 and 8 use. A document without the DOCTYPE directive will render in quirks mode, and nobody wants that.
- tomelders 15y agoI would have thought that <!DOCTYPE html>0 would be the smallest.
- pdw 15y agoThe shortest HTML4 (and earlier) document is <title//x This uses the never-implemented but legal shorttag syntax for the required title element, and the "x" character serves as the body content.