Does specifying the DOCTYPE tag slow down the loading of your page in
general?
With:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
will the browser visit that URL first? 13 1911
On Tue, 14 Dec 2004 12:10:11 +0000, Cool Guy <co*****@abc.xyz> wrote: Does specifying the DOCTYPE tag slow down the loading of your page in general?
With:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
will the browser visit that URL first?
No. At least in this case, browsers have that info ready to go.
On Tue, 14 Dec 2004 12:10:11 +0000, Cool Guy <co*****@abc.xyz> wrote: Does specifying the DOCTYPE tag slow down the loading of your page in general?
It adds a few bytes to the filesize, but otherwise no.
With:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
will the browser visit that URL first?
No.
Steve
Neal <ne*****@yahoo.com> wrote: With:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
will the browser visit that URL first?
No. At least in this case, browsers have that info ready to go.
Thanks.
In our last episode,
<1i***************@cool.guy.abc.xyz>,
the lovely and talented Cool Guy
broadcast on comp.infosystems. www.authoring.html: Does specifying the DOCTYPE tag slow down the loading of your page in general?
In *general* it might, but since most browsers do not really
parse according to the stated DTD - and parsers or browsers
that do parse will almost certainly have local copies of common
DTDs such as the one below, you won't be delayed unless you
are using an odd DTD. If the name of the DTD isn't recognized,
then a proper parser should look up the url -- in other words,
you should be able to write your own DTD and put it on the
web with an appropriate name. Don't hold your breath until
common browsers pay attention to your personal DTD.
If you want to omit the url for common DTDs, you can do it.
It just won't make any difference.
With:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
will the browser visit that URL first?
--
Lars Eighner -finger for geek code- ei*****@io.com http://www.io.com/~eighner/
WWJD: What Would Jenna Drink?
Lars Eighner wrote: If you want to omit the url for common DTDs, you can do it. It just won't make any difference.
Omitting the URL will throw many browsers into quirks mode.
Previously in comp.infosystems. www.authoring.html, Leif K-Brooks
<eu*****@ecritters.biz> said: Omitting the URL will throw many browsers into quirks mode.
In most cases only on a Transitional doctype, not Strict.
--
Mark Parnell http://www.clarkecomputers.com.au
In article <1g*******************************@markparnell.com .au>,
Mark Parnell <we*******@clarkecomputers.com.au> wrote: Previously in comp.infosystems.www.authoring.html, Leif K-Brooks <eu*****@ecritters.biz> said:
Omitting the URL will throw many browsers into quirks mode.
In most cases only on a Transitional doctype, not Strict.
Mac IE 5, HTML 4.01 Strict without URL => quirks
--
Henri Sivonen hs******@iki.fi http://iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html
Previously in comp.infosystems. www.authoring.html, Henri Sivonen
<hs******@iki.fi> said: Mac IE 5, HTML 4.01 Strict without URL => quirks
Fair enough. That's why I said *most* - I figured there'd be at least
one where that wasn't the case. :-)
Certainly at least for Mozilla and IE6 a Strict doctype triggers
"Standards" mode, regardless of whether the URI is included. I'm sure
there are several others, too (including Opera I think).
Anyway, best to include the URI, if even one browser goes into Quirks
mode without it.
--
Mark Parnell http://www.clarkecomputers.com.au
Henri Sivonen <hs******@iki.fi> writes: Mark Parnell <we*******@clarkecomputers.com.au> wrote: Leif K-Brooks <eu*****@ecritters.biz> said:
Omitting the URL will throw many browsers into quirks mode.
In most cases only on a Transitional doctype, not Strict.
Mac IE 5, HTML 4.01 Strict without URL => quirks
I wouldn't exactly grant a dead browser that admittedly will be kept
alive for a while on legacy installations of a dead minority OS the
status of covering 'most cases'.
--
| ) Più Cabernet,
-( meno Internet.
| ) http://bednarz.nl/
Eric B. Bednarz wrote: Henri Sivonen <hs******@iki.fi> writes:
Mark Parnell <we*******@clarkecomputers.com.au> wrote:
Leif K-Brooks <eu*****@ecritters.biz> said:
Omitting the URL will throw many browsers into quirks mode.
In most cases only on a Transitional doctype, not Strict.
Mac IE 5, HTML 4.01 Strict without URL => quirks
I wouldn't exactly grant a dead browser that admittedly will be kept alive for a while on legacy installations of a dead minority OS the status of covering 'most cases'.
Mac IE 5 has been pretty much supplanted by Safari and Firefox, but the
Mac OS, though certainly minority, is hardly dead.
Eric B. Bednarz wrote: Henri Sivonen <hs******@iki.fi> writes:
Mark Parnell <we*******@clarkecomputers.com.au> wrote:
Leif K-Brooks <eu*****@ecritters.biz> said:
Omitting the URL will throw many browsers into quirks mode.
In most cases only on a Transitional doctype, not Strict.
Mac IE 5, HTML 4.01 Strict without URL => quirks
I wouldn't exactly grant a dead browser that admittedly will be kept alive for a while on legacy installations of a dead minority OS the status of covering 'most cases'.
Mac IE 5 has been pretty much supplanted by Safari and Firefox, but the
Mac OS, though certainly minority, is hardly dead.
"Andrew Glasgow" <am***@cornell.edu> writes: Eric B. Bednarz wrote:
[Mac IE 5] I wouldn't exactly grant a dead browser that admittedly will be kept alive for a while on legacy installations of a dead minority OS the status of covering 'most cases'.
Mac IE 5 has been pretty much supplanted by Safari and Firefox, but the Mac OS, though certainly minority, is hardly dead.
You *want* to misunderstand that, don't you?-)
The Mac 'classic OS' (hence 'legacy installations') *is* completely
utterly dead. That's where IE Mac usually is the 'browser of choice'
(not to say the browser of no choice).
I actually do know a lot of people in real life who use OS X, and I've
never seen anyone using IE Mac (why in &deity;'s name would anybody even
want to?).
--
| ) Più Cabernet,
-( meno Internet.
| ) http://bednarz.nl/
Eric B. Bednarz wrote: "Andrew Glasgow" <am***@cornell.edu> writes:
Eric B. Bednarz wrote: [Mac IE 5]
I wouldn't exactly grant a dead browser that admittedly will be
kept alive for a while on legacy installations of a dead minority OS
the status of covering 'most cases'.
Mac IE 5 has been pretty much supplanted by Safari and Firefox, but
the Mac OS, though certainly minority, is hardly dead.
You *want* to misunderstand that, don't you?-) The Mac 'classic OS' (hence 'legacy installations') *is* completely utterly dead. That's where IE Mac usually is the 'browser of choice' (not to say the browser of no choice).
Hey, there's always iCab!
I actually do know a lot of people in real life who use OS X, and
I've never seen anyone using IE Mac (why in &deity;'s name would anybody
even want to?).
Very good question. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: CMAR |
last post by:
I create my website using Front Page 2000. I notice that none of my pages
have a DocType statement at the top.
I have read that if you want IE6 to use "Standards mode" rather than the
"Quirks...
|
by: Patrick |
last post by:
Hi
I am fairly new to CSS and the web.I am trying to build a site more to
practice my skills than for the site itself.
I have been focusing on CSS and try my best to make it work in I.E
6.0,...
|
by: DartmanX |
last post by:
I doubt this is possible, but I want to ask, just in case it is.
I have a project going using Google Maps. This project spits out an
HTML page template for people to post to their website and...
|
by: Viken Karaguesian |
last post by:
Hello all,
I'm somewhat of a newbie to webscripting. I've made a couple of websites in
the past with WYSIWYG software, but now I'm much more interested in manual
scripting. I have some...
|
by: PapaRandy |
last post by:
Hello,
I am trying to validate the following .py webpage as HTML (through
W3C).
I put:
-----------------------------------------------------------------------------
print "Content-type:...
|
by: Jim Michaels |
last post by:
I can't get any "universal" code working that tries to detect whether the
document it's in is xhtml or html.
I found this, which tells me I have a hill to climb with no equipment....
|
by: Rolf Welskes |
last post by:
Hello,
if I have for example:
<table style="width: 100%; height: 100%;" border="1">
<tr>
<td style="width: 100px">k
</td>
<td style="width: 100px">k
</td>
</tr>
|
by: drhowarddrfine |
last post by:
The Doctype or DTD
Many coders get confused by all the talk of doctypes and how they affect browsers and the display of their web pages. This article will get right to the point about doctypes...
|
by: rfr |
last post by:
When I add a transitional doctype to the weather page on my community
website, I loose certain Js scripts, but not all of them.
This puzzles me.
The main menu is powered by a js script and...
|
by: WT |
last post by:
Hello,
I am searching for a way to generate automatically from codebehind the
<!Doctype....for asp.net pages using .net 3.5 c# and vs2008.
Subidiary question: if I do a server transfert in my...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |