• 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” “https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”&gt;

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • First: Extend your title a bit…”Question” doesn’t get too much attention.
    Secondly: This is the document type declaration, a DTD. Learn more here.

    Thread Starter humanshell

    (@humanshell)

    That’s weird, I set the title as “<!DOCTYPE> Question”. Maybe I can’t use those special characters in a title and the system removed them?

    I can’t edit it either, I’m logged in but the only link under my name by the post’s time is just the hash mark (#). Where do I edit the title?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Question’ is closed to new replies.