There are plenty of threads explaining what Doctype to choose, but I can't find any explaining the actual syntax. Take for example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
In particular:
lang=en
?While it does not answer all of your questions, but I think it's a good start. Wikipedia is your friend. ;)
http://en.wikipedia.org/wiki/Document_Type_Declaration
p.s. For the double quote question being left out, I think the quotes are there in order to interpret the strings with whitespaces correctly
Nice question. I never really thought twice about it.
I found http://www.blooberry.com/indexdot/html/tagpages/d/doctype.htm that explains each section in detail.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With