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 6350483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:49:08+00:00 2026-05-24T21:49:08+00:00

I do some coding in HTML, and was wondering what doc type header to

  • 0

I do some coding in HTML, and was wondering what doc type header to use. How do I know if I am coding in HTML 4.0.1 Strict or HTML 4.0.1 Transitional? (or any other type)

  • 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-05-24T21:49:08+00:00Added an answer on May 24, 2026 at 9:49 pm

    You should choose DOCTYPE depending on the HTML tags that you use and your HTML writing style. Let me clarify that.

    HTML 4.0.1 Strict – Basically allows zero style tags. For styling such pages you should only use CSS. Some tags that are not allowed in Strict: <center> <font> <u> etc. Also note that Strict requires closing tags for everything. You must use this:

    <img .... /> <br /> instead of this: <img ... ><br>
    

    Also in Strict all tags have to be nested correctly. Therefore, this style is cleaner and better formated. This makes it more reliable in the long run.

    HTML 4.0.1 Transitional – Allows all those style tags and some other deprecated HTML tags. Also it does not require to use closing tags everywhere. In my personal opinion Transitional is really the lazy coders choice and should only be used in very specific situations.

    You can read more about the differences between DOTCYPE’s here:

    Converting XHTML transitional to HTML 4.01 strict

    What is and what isn’t XHTML

    Also read more about DOCTYPE’s from W3Schools here:

    HTML !DOCTYPE Declaration

    HTML HTML 4.01 / XHTML 1.0 Reference

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

Sidebar

Related Questions

I'm new to HTML coding and I know HTML has some reserved characters for
I'm doing some coding in JSP/Java (without any framework, or other strange things) and
I've noticed in some coding people use icicle with the onCreate method, and I
I use emacs to do some coding, and text editing. When I create a
Often while coding view templates in html, my habit of adding some helpful comments
I usually don't use onclick, but was gonna do some debug coding for an
I am trying to use Regular Expressions to decode some HTML I retrieve from
I have some HTML errors in my output source code, coming from one of
We are currently going through the long process of writing some coding standards for
I'm coding some c# against Active Directory and have tried endlessly to get this

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.