View Full Version : Html
08-01-2005, 11:16 AM
How many html tags are there? anyone know?
Is this a trick question? :p
The answer varies from browser to browser and version to version. Not to mention doctypes.
08-01-2005, 12:32 PM
oh, really? There isn't a set number?
No, certainly not. The browser defines the language. Therefore, each browser supports a slightly different (or, in the case of IE, very different) version of HTML. Obviously, this causes massive problems for web developers if browsers deviate too far from the norm (the W3C standard). This is why a lot of webdevs hate IE. :p HTML itself is just a load of text. It's entirely up to the browser how to parse it.
08-01-2005, 03:15 PM
To make matters more confusing, it is possible to define new tags in some browsers. Maybe we should make a poll for this post:
1 ) 0
2 ) 25
3 ) 100.5236
4 ) Pi
5 ) Ham Sandwich
Put me down for #5 with mustard.
I'll have pi. Steak and kidney, if you'd be so kind.
(totally unrelated link: http://www.pieism.tk)
08-01-2005, 03:42 PM
No, certainly not. The browser defines the language.I would disagree with that. HTML is well-defined and fixed to it's current set of elements and attributes. However, most browsers implement proprietary extensions (especially IE).
There are lists of elements (http://www.w3.org/TR/html4/index/elements.html) and attributes (http://www.w3.org/TR/html4/index/attributes.html).
Not so. A browser does define the language. Whatever the browser decides to render, the user sees. Browsers tend to conform (mostly) to the W3C's version of the language, but a language is defined by the speaker, not by the dictionary.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.