| Spartanicus 2004-11-30, 11:16 pm |
| Crossposted and f-up set to: comp.infosystems.www.authoring.html for
going off topic in ciwas.
Andrew Poulos <ap_prog@hotmail.com> wrote:
>Ok, please excuse my ignorance. In the following XHTML Strict page with
>this code could you please point out or explain:
>1. Whether I need the XML prolog
It's not strictly needed, more importantly it kicks IE into quirks mode.
Note that serving xhtml on the web is frowned upon by a lot of people
here, myself included, both when served with the correct mime type, and
when served as text/html, albeit for different reasons. This also
applies to serving xhtml to clients that claim that they can handle it.
I'd recommend serving HTML 4.01 Strict.
>2. Whether I need the meta tag and, if I do, if it's correct
Using a meta tag to indicate encoding is a sub optimal solution, specify
the encoding you use via a http header by configuring your server.
>3. How to play the aiff in IE without the param
>4. How to play the aiff in MZ without the embed (I realise that the
>embed makes the XHTML not strict compliant).
Embedding media is bad practice, link instead:
http://www.spartanicus.utvinternet.ie/embed.htm
><object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
>
>codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
> standby="Loading..."
> type="application/x-oleobject">
> <param name="FileName" value="media/aif_sample.aif" />
>
> <embed type="audio/x-aiff"
> hidden="true"
> src="media/aif_sample.aif">
> </embed>
></object>
This fails on a number of levels, the usage of ActiveX, usage of the
embed element, no fall back provided etc.
--
Spartanicus
|