Page 65 - HTML5
P. 65
<!DOCTYPE html>
Case Insensitivity
Per the W3.org HTML 5 DOCTYPE Spec:
A DOCTYPE must consist of the following components, in this order:
1. A string that is an ASCII case-insensitive match for the string "<!DOCTYPE".
therefore the following DOCTYPEs are also valid:
<!doctype html>
<!dOCtyPe html>
<!DocTYpe html>
This SO article discusses the topic extensively: Uppercase or lowercase doctype?
Old Doctypes
HTML 3.2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
HTML 3.2 is well supported by most browsers in use. However, HTML 3.2 has limited support for
style sheets and no support for HTML 4 features such as frames and internationalization.
HTML 2.0
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
HTML 2.0 is widely supported by browsers but lacks support for tables, frames, and
internationalization, as well as many commonly used presentation elements and attributes.
Read Doctypes online: https://riptutorial.com/html/topic/806/doctypes
https://riptutorial.com/ 49

