Complete XHTML Tags list

admin

Administrator
Staff member
I have serached around the net and yet havn't been able to find a complete list of all the XHTML 1.0 tags and their attributes. Does anyone know of a site with this - I would be very greatful. Also I noticed that some sites say <applet> is depricated and that <object> should be used instead. However some sites say that <object> is not available in Netscape. Which tag should I use. I am also making a poll to see on a whole what most people use - though which is more "correct".<br />
Thanks very much<br />
Benoni<!--content-->XHTML &trade; 1.0 is simply an XML version of HTML 4.01 and XHTML &trade; 1.1 is XHTML &trade; 1.0 Strict. The HTML 4.01 elements are listed at <!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/index/elements.html">http://www.w3.org/TR/html4/index/elements.html</a><!-- m -->. XHTML (<!-- m --><a class="postlink" href="http://www.w3.org/TR/xhtml-basic/">http://www.w3.org/TR/xhtml-basic/</a><!-- m -->) is just the reformulation of HTML 4.01 (<!-- m --><a class="postlink" href="http://www.w3.org/TR/html401/">http://www.w3.org/TR/html401/</a><!-- m -->) in XML, you are going to want to look at the HTML 4.01 specs on objects (<!-- m --><a class="postlink" href="http://www.w3.org/TR/html401/struct/objects.html">http://www.w3.org/TR/html401/struct/objects.html</a><!-- m -->) and you will see that the tag you should be using is the <object> (<!-- m --><a class="postlink" href="http://www.w3.org/TR/html401/struct/objects.html#h-13.3">http://www.w3.org/TR/html401/struct/objects.html#h-13.3</a><!-- m -->) tag.<!--content-->I thought XHTML was replacing HTML. Am I wrong?<br />
Thanks<br />
Benoni<!--content-->Yes, in a way XHTML is the next version of HTML, though more of a modification to the current version, than an actual new verion. Though HTML 4.01 will still be around for a while, and isn't necessarily outdated. Also, read this quote from the W3C:<br />
<br />
The XHTML 1.0 spec relies on HTML 4.01 for the meanings of XHTML elements and attributes.So, as both Charles and I have said, XHTML is, in essence, HTML 4.01.<!--content-->So would you advise I use HTML 4.01 or XHTML??<!--content-->Probably XHTML, as that is where the future is headed, though I see nothing wrong with a valid HTML 4.01 Strict page, for the time being...<!--content-->You might as well learn one of the XHTML Families as XHTML 1.0 is easier to learn than HTML 4.01 and <object> has been available for a long time even Netscape 4.7x understood it to some degree.<!--content-->Originally posted by Robert Wellock <br />
You might as well learn one of the XHTML Families as XHTML 1.0 is easier to learn than HTML 4.01 and <object> has been available for a long time even Netscape 4.7x understood it to some degree. The only way XHTML &trade; 1.0 is easier to learn than HTML 4.01 is that HTML has a lot of things that are optional. But most people who write HTML include those optional things anyway, never knowing that they could be omitted. <br />
<br />
2) MSIE still doesn't get the OBJECT element right. And a recent security patch made it get it even more wrong.<!--content-->Thanks I will use XHTML.<br />
How badly does IE mess up the <object> tag. I am quite worried about using it incase it doesn't work on certian browsers.<br />
Thanks<br />
Benoni<!--content-->
 
Back
Top