Click to See Complete Forum and Search --> : The Periodic Table of HTML Elements
Mr Initial Man
01-13-2006, 06:55 PM
I am doing a project that will tie into my HTML tutorial, called the The Periodic Table of HTML Elements (http://coachrandom.furtopia.org/tutorial/elements/elements.html). This will be amongst the optional documents at the end of my tutorial, and lists every element, if they are inline, block, head, or other types of elements, and whether or not they are empty. The W3Schools do not do the last part well.
What this will contain is EVERY element ever used in HTML. I have elements that are current, deprecated, obsolete, and even elements that were never standard (like marquee and blink.) For the last two groups, I have a big-ass warning on the footnotes against these elements.
I've got a lot of them so far. I'd like to know if there are more elements that I have missed, and how to explain them better.
NogDog
01-13-2006, 07:22 PM
Well, they're all already listed here: http://www.w3.org/TR/html4/index/elements.html
And you can find all the attributes here: http://www.w3.org/TR/html4/index/attributes.html
Oh, and all the CSS properties here: http://www.w3.org/TR/CSS21/propidx.html
Mr Initial Man
01-13-2006, 07:42 PM
What this will contain is EVERY element ever used in HTML. ...elements that are current, deprecated, obsolete, and even elements that were never standard (like marquee and blink.)...
There are four on my table that don't appear on that list: <blink>, <marquee>, <plaintext>, and <xmp>
The above elements do have warnings that they're no longer supported or are deprecated, BUT they do exist.
Cytael
01-13-2006, 07:59 PM
for the record, <marquee> in IE takes attributes direction="left|up|right|down" and behavior="scroll|slide|alternate". The default is left/scroll. Slide causes the marquee to traverse the page and stop at the opposite edge. Alternate makes it bounce back and forth. I've never personally seen direction="down" in use, but I assume it exists since i know the other 3 do ^_^
Mr Initial Man
01-13-2006, 08:04 PM
Thanks!
Daniel T
01-13-2006, 08:06 PM
Just off the top of my head: DIR, APPLET, EMBED
Oh, and to my knowledge (and Dave's) LEGEND is not deprecated.
Mr Initial Man
01-14-2006, 12:07 AM
W3C Schools said it was, and I was going by them.
Are DIR, APPLET and EMBED deprecated or obsolete?
felgall
01-14-2006, 04:20 PM
Are DIR, APPLET and EMBED deprecated or obsolete?
Yes they are no longer part of HTML.
blink, marquee, plaintext never were part of HTML they are a part of Microsoft's proprietary language that looks like HTML
xmp is no longer part of HTML.
The list at http://www.w3.org/TR/html4/index/elements.html is the official list of what tags are formally recognised in HTML and are the only ones that all browsers support.
Mr Initial Man
01-14-2006, 10:32 PM
...plaintext never were part of HTML they are a part of Microsoft's proprietary language that looks like HTML
Not quite...
<!ELEMENT PLAINTEXT - O %literal>
<!-- <PLAINTEXT> Plain text passage -->
<!ATTLIST PLAINTEXT
%SDAFORM; "Lit"
>
That's from the HTML 2.0 DTD. It was part of HTML at one time.
And <blink> isn't MSIE, it's from Netscape
I also checked <embed>, that turned out to be a poser element (something that pretended to be HTML, but wasn't.)
Sometimes I talk about the levels of deprecation to people I know online. I might here, so here's what I consider the levels of deprecation:
0 - Current element
1 - Deprecated
2 - Obsolete
3 - Poser Element
Which reminds me, I once used an <h> element, which worked with HTML 4.01. Does anyone have a clue where that one comes from?
felgall
01-15-2006, 03:10 PM
Some browsers were set to assume that <h> was meant to be an <h1> but that you forgot to type the 1. Just part of how old browsers tried to make sense of whatever was fed to them rather than trying to make you write it properly - and since each interpreted the garbage in different ways you got completely different results in different browsers.
Mr Initial Man
01-15-2006, 05:06 PM
So as far as HTML is concerned, <h> is a poser element?
*Grins, remembers that in XHTML 2.0, <h> is THE header element.*
jalarie
01-16-2006, 12:58 PM
What about the "ruby" tag?
felgall
01-16-2006, 05:12 PM
Lots of changes in XHTML 2.0 to what tags are valid. Wonder which version of the browsers will start supporting them - maybe version 10 or perhaps we'll have to wait for 11.
Mr Initial Man
01-16-2006, 05:52 PM
What about the "ruby" tag?
I've never heard of it. Is it XHTML? *Is not including XHTML elements in the table.*
ShrineDesigns
01-16-2006, 08:59 PM
yes, ruby is xhtml
considering the fact that HTML 4.01 and XHTML 1.0 have been in REC (recommendation) for several years, using/following the "strict" DTD instead of the "transitional" DTD, ESP. if your are doing tutorials/articles on HTML/XHTML
Mr Initial Man
01-16-2006, 09:06 PM
The tutorial will focus mostly on HTML 4.01 Strict. The Periodic Table of HTML elements goes up to HTML 4.01 and ends there. I will redo the table, and split it into four: Current Elements, Deprecated Elements, Obsolete Elements, and False Elements (i.e. never in the HTML spec)
I will touch on XHTML, and say if the reader wants to learn it, they really have to start from scratch, since it's so different from regular HTML