Open ismael-miguel opened 6 years ago
See https://mathiasbynens.be/notes/minimal-html#5 which is mentioned in the README.
If it is to be 100% standard compliant, HTML emails are far behind.
Heck, Microsoft Oulook 2007 and newer use the Microsoft Word engine to display the emails. (https://www.howto-outlook.com/faq/wordhtml.htm)
If it is "Smallest possible syntactically valid files of different types", do word processors rendering HTML count as a deciding factor on the syntax and implementation?
If they do, I propose the following: html5.html and html5-email.html as separated.
The current content of the HTML5 (
<!DOCTYPE html>
) has syntax errors:This means that there must be present a
<title>
element in the document, being this the final code:The same validates properly:
This was verified using https://html5.validator.nu/