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:
- Can PUBLIC be replaced with other values and what does it mean?
- Why does the url need to be surrounded with quotes?
- What is the "-"?
- Why is the first string separated by two slashes rather than 1?
- Does the EN stand for English? If so, why do websites also use
lang=en
?