HTML and CSS Reference
In-Depth Information
Replace embed with object
Change all embed elements to object elements.
Code View:
<embed src="banner.swf" quality="high" bgcolor="#006699"
width="160" height="600" name="banner"
align="middle" allowScriptAccess="sameDomain"
pluginspage="" />
<embed src="" width="640" height="480"
autoplay="true" controller="false"
<embed src="wicked.rpm" width='200' height='134' />
<object type="application/x-shockwave-flash"
width="160" height="600" id="banner">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="banner.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#006699" />
<object width="640" height="480"
<param name="src" value="">
<param name="controller" value="false">
<param name="autoplay" value="true">
<object id='media23'
width='200' height='125'>
<param name='src' value='wicked.rpm'/>
Netscape invented the embed element to reference any sort of content that would be handled by external plug-
ins rather than the browser itself: Flash, RealMedia, QuickTime, PDF, and so on. If this tag were invented today,
namespaces would be used, but back then elements were just added to HTML willy-nilly. Netscape figured that
one tag for 100 formats would be better than 100 tags for 100 different formats, and they were almost right.
However, it did allow the embed element to have an indefinite number of undefined attributes, which makes it
impossible to validate.
Consequently, despite its broad adoption and support, embed has never been a part of any HTML specification.
However, because it is a nonstandard extension, browser support is inconsistent, even to the level of which
Search WWH ::

Custom Search