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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:07:40+00:00 2026-05-13T08:07:40+00:00

many doctype use a url link like this <!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN

  • 0

many doctype use a url link

like this

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

and this dtd file is on live url http://www.w3.org/TR/html4/strict.dtd

What is the use of this online live dtd and how any page (which use this doctype) will render properly according to this doctype without having access to this url (i mean if internet access is not available?)

update : I found this info from wikipedia http://en.wikipedia.org/wiki/System_identifier

In HTML and XML, a system identifier
is a fragmentless URI reference. It
typically occurs in a Document Type
Declaration. In this context, it is
intended to identify a document type
which is used exclusively in one
application, whereas a public
identifier is meant to identify a
document type that may span more than
one application.

In the following example, the system
identifier is the text contained
within quotes:

update 2 : is it only to use for Validators? how some software like dreamweaver provides offline validation?

update 3: i found this info from w3c site http://www.w3.org/QA/Tips/Doctype

Why specify a doctype? Because it
defines which version of (X)HTML your
document is actually using (version
for what browser or validator?)
, and
this is a critical piece of
information needed by some tools
(which tools? any other tools then validator?) processing the document.

For example, specifying the doctype of
your document allows you to use tools
such as the Markup Validator to check
the syntax of your (X)HTML. Such tools
won’t be able to work if they do not
know what kind of document you are
using.

But the most important thing is that
with most families of browsers, a
doctype declaration will make a lot of
guessing unnecessary, and will thus
trigger a “standard” rendering mode.

  • 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-13T08:07:41+00:00Added an answer on May 13, 2026 at 8:07 am

    No, no browsers actually fetch or validate against the doctype. See DTDs Don’t Work on the Web for a good argument for why fetching and validating DTDs is a bad idea.

    The doctype is there, in theory, to tell what version of the standard the document uses. The browsers generally don’t use this information, other than to switch between quirks and standards mode. All modern browsers accept the simplest possible doctype, with no URL or version information, <!DOCTYPE html>, for this purpose; because of this, HTML5 has adopted this as the recommended doctype.

    Validators sometimes use this information to tell what DTD to validate against, but DTDs embedded in the document aren’t actually a very good way of specifying validation information. The problem with validating against a DTD referenced within a document is that the consumer of that document doesn’t really care all that much whether the document is self-consistent, but whether it follows a schema that the consumer knows how to interpret reliably. Instead, it’s generally better to validate against an external schema, in a more powerful schema language like RELAX NG.

    When validators use this information, they frequently use the URI as an identifier only, not as a locator. That means that the validator already knows about all of the common HTML doctypes, and uses that knowledge for validation, instead of downloading from the URI referred to. This is in part to avoid the problem of having to download the DTD every time, and also because a DTD doesn’t actually specify enough information to provide very good validation and error messages, so some parts of the validator may be specified in custom code or a more powerful schema language. For more information, see Henri Sivonen’s thesis on his implementation of the validator.nu HTML5 conformance checker.

    Some validators may also download and then cache DTDs, so they would need to be online once to download it, but will later work from the cached version.

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

Sidebar

Related Questions

<!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd> I have written my HTML and
<?xml version=1.0?> <!DOCTYPE hibernate-mapping PUBLIC -//Hibernate/Hibernate Mapping DTD 3.0//EN http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd> <hibernate-mapping package=org.lexiclan.orm.dao> <class name=Address
Many beginning programmers write code like this: sub copy_file ($$) { my $from =
Can anyone tell me what this is: <!DOCTYPE html> <!--[if lt IE 7]> <html
I'd like to use the same ibatis sqlMapConfig on many modules. Unfortunatly only classpath-resources
Many frameworks seek to abstract away from HTML (custom tags, JSFs component system) in
Many people use Mock Objects when they are writing unit tests. What is a
Many websites, including this one, add what are apparently called slugs - descriptive but
Why on the earth there is always a chance that if we use Doctype
I have looked at many examples for validating an XML file against a DTD,

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.