Question
-
Hello all,
I’m pretty new to WordPress, I’ve been playing with it and reading through the Codex for about a month now. I’m also just as new to HTML and CSS in general, only been learning about it for about 6 months. I’ve started going through the template files one by one and spotted the doctype declaration which has left me with a question.
In TwentyTen before the opening of the <html> tag the doctype declaration is just <!DOCTYPE html>. Is this some form of shorthand that I just haven’t learned yet? Or is it something specific to WordPress? I was under the assumption that doctypes have to be declared like:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”>
I’ve done the usual searching in Google and here in the forums and codex and can’t seem to find an explanation.
Any help would be greatly appreciated.
The topic ‘Question’ is closed to new replies.