Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8900837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:11:51+00:00 2026-06-15T01:11:51+00:00

From what I’ve read, the correct way to start an HTML5 page is: <!DOCTYPE

  • 0

From what I’ve read, the correct way to start an HTML5 page is:

<!DOCTYPE html>
<html>

With nothing more in those lines. Is this true? (I’m asking because Visual Studio has more than that.)

(Also, I’m wondering if HTML5 is really the current standard or should I be using XHTML5 or some other version.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T01:11:53+00:00Added an answer on June 15, 2026 at 1:11 am

    According to the HTML living standard and the W3C spec, the doctype is the required preamble but required for legacy reasons. I quote:

    1. A string that is an ASCII case-insensitive match for the string
      "<!DOCTYPE".
    2. One or more space characters.
    3. A string that is an ASCII case-insensitive match for the string
      “html”.
    4. Optionally, a DOCTYPE legacy string or an obsolete permitted DOCTYPE
      string (defined below).
    5. Zero or more space characters.
    6. A U+003E GREATER-THAN SIGN character (>).

    In other words, <!DOCTYPE html>, case-insensitively.

    And <html></html> for a valid document

    (Also, I’m wondering if HTML5 is really the current standard or should
    I be using XHTML5 or some other version.)

    It is not the current standard IMHO because it is not finished yet. But this article explains very well 10 reasons for using it now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

From this context: import itertools lines = itertools.cycle(open('filename')) I'm wondering how I can implement
From the paper of bigtable. bigtable I read this: Each METADATA row stores approximately
For some reason, after submitting a string like this Jack’s Spindle from a text
From what I have seen, if you are building a OSX desktop HTML5 app
From PEP 8 : - Imports should usually be on separate lines, e.g.: Yes:
From c++ FAQ: http://www.parashift.com/c++-faq-lite/dtors.html#faq-11.9 Remember: delete p does two things: it calls the destructor
From http://www.parashift.com/c++-faq-lite/basics-of-inheritance.html#faq-19.5 A member (either data member or member function) declared in a protected
From what I've read, the iPhone 5 will use a new architecture, armv7s .
From the Writing R Extensions Manual , I read that As from R 2.14.0
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.