Re: Object Tags

Lee Daniel Crocker (lcrocker@calweb.com)
Fri, 12 Jul 1996 13:55:04 -0700 (PDT)


Message-Id: <199607122055.NAA14451@web1.calweb.com>
Subject: Re: Object Tags
To: dgdela01@homer.louisville.edu (Dan Delaney)
Date: Fri, 12 Jul 1996 13:55:04 -0700 (PDT)
From: "Lee Daniel Crocker" <lcrocker@calweb.com>
Cc: www-html@w3.org
In-Reply-To: <Pine.HPP.3.91.960712162305.18185D-100000@homer.louisville.edu> from "Dan Delaney" at Jul 12, 96 04:38:55 pm

>    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?