Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Do we need to put down system identifier when writing html?
For example, in case of this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd%22%3E
What if I only wrote this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
What (bad) effect will this have?
Thanks in advance for the answers!
@nookkin: Thanks for your answer. Whatever it is called, the "View Page Source" in Firefox in one of the page I wrote had this comment:
"No system identifier in emitted doctype".
(Because I only had the doctype part but not the http:// --- part.)
I've always wonder what would happen if I put other "system identifier" in there.
@Geoff: LOL, that won't work!
2 Answers
- nookkinLv 61 decade agoFavorite Answer
It's called a doctype, not a "system identifier".
You should NOT modify the doctype. It won't have any noticeable effect, unless you are using an older browser that for some reason misinterprets your doctype and puts the browser in quirks mode (read: IE6); however, modifying it will break the standards-compliance of your HTML.