Re: Object Tags

>    Here's a question thought. The HTML code within the <OBJECT> </OBJECT> 
> block is used as the ALTERNATE if the browser cannot use the object being 
> referred to. CAN ANOTHER OBJECT TAG BE USED WITHIN <OBJECT> </OBJECT>? 

Absolutely.  The spec allows that explicitly.

>     <OBJECT data=TheEarth.avi type="application/avi">
>     <OBJECT data=TheEarth.gif>
>     <H1>The Earth</H1>
>     </OBJECT>
>     </OBJECT>

But this is a very bad idea.  <H1> is a structural element of
the document, not just a font size.  Coding it this way means
that your document has different structure depending on what
browser (or search engine, or conversion software...) is
reading it.  What you want is to make the text stand out, but
not make it logically a heading.  Either use <strong>, <big>,
<em class="imagealt"> with a style sheet (probably best), or
(gasp!) <font> (still better than H1 in this case).

After all, do want your document indexed by its picture
descriptions or by its real headings?

Received on Friday, 12 July 1996 16:59:41 UTC