📄 media_tagref.asp
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Multimedia Tag Reference</title>
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />
<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<link rel="stylesheet" type="text/css" href="../stdtheme.css" />
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</head>
<body>
<a name="top"></a>
<table cellpadding="0" cellspacing="0" width="100%" bgcolor="#808080">
<tr>
<td width="234" valign="top">
<a href="../default.htm"><img src="../images/w3default80.jpg" border="0" alt="W3Schools" /></a>
</td>
<th valign="middle" align="left" class="right">
<iframe style="background-color:#808080" src="../banners/bannerframe.asp@adpartner=aspall2" height="90" width="728"
marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
<br /></th>
</tr>
</table>
<table style="margin-left:1px" width="800px" border="0" cellpadding="0" cellspacing="2">
<tr>
<td width="137" class="content" valign="top"><br />
<a class="left" href="../default.asp" target="_top">
<img src="../images/homeicon.gif" border="0" alt="home" /></a>
<a class="left" href="../default.asp" target="_top">
<b>HOME</b></a>
<br /><br />
<b>Media Basic</b><br />
<a class="left" target="_top" href="default.asp" >Media HOME</a><br />
<a class="left" target="_top" href="media_intro.asp" >Media Intro</a><br />
<a class="left" target="_top" href="media_soundformats.asp" >Sound Formats</a><br />
<a class="left" target="_top" href="media_videoformats.asp" >Video Formats</a><br />
<a class="left" target="_top" href="media_browsersounds.asp" >Playing Sounds</a><br />
<a class="left" target="_top" href="media_browservideos.asp" >Playing Videos</a><br />
<a class="left" target="_top" href="media_windowsformats.asp" >Windows Formats</a><br />
<br />
<b>Object Element</b><br />
<a class="left" target="_top" href="media_object.asp" >Object Intro</a><br />
<a class="left" target="_top" href="media_quicktime.asp" >Object QuickTime</a><br />
<a class="left" target="_top" href="media_realvideo.asp" >Object RealVideo</a><br />
<br />
<b>References</b><br />
<a class="left" target="_top" href="media_tagref.asp" style='font-weight:bold;'>Tag Reference</a><br />
<a class="left" target="_top" href="media_playerref.asp" >Media Player Ref</a><br />
<a class="left" target="_top" href="media_mimeref.asp" >MIME Reference</a><br /><br />
<b>Selected Reading</b><br />
<a class="left" target="_top" href="../browsers/browsers_stats.asp">Web Statistics</a><br />
<a class="left" target="_top" href="../site/site_glossary.asp">Web Glossary</a><br />
<a class="left" target="_top" href="../hosting/default.asp">Web Hosting</a><br />
<a class="left" target="_top" href="../quality/default.asp">Web Quality</a><br /><br />
<a class="left" target="_top" href="../forum/default.asp">W3Schools Forum</a><br /><br />
<a class="left" target="_top" href="../about/about_helping.asp">Helping W3Schools</a><br /><br />
<script type="text/javascript"><!--
google_ad_client = "pub-3440800076797949";
/*LeftLinkUnit*/
google_ad_slot = "4854527104";
google_ad_width = 120;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="../../pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
<td valign="top">
<table style="border: 1px solid gray" width="100%" bgcolor="#FFFFFF" border="0" cellpadding="5" cellspacing="0">
<tr>
<td>
<h1>Web Multimedia Element Reference</h1>
<a href="media_realvideo.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="media_playerref.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>
<hr />
<h2>The <bgsound> Element</h2>
<table class="ex" border="1" width="100%">
<tr>
<th width="20%" align="left">Attribute</th>
<th align="left">Function</th>
</tr>
<tr>
<td valign="top">id</td>
<td valign="top">A unique id for the element.</td>
</tr>
<tr>
<td valign="top">src</td>
<td valign="top">The location (URL) of the source file.</td>
</tr>
<tr>
<td valign="top">balance</td>
<td>The balance. (-10000=left, +10000=right).</td>
</tr>
<tr>
<td valign="top">loop</td>
<td>The number of loops. (-1=infinite).</td>
</tr>
<tr>
<td valign="top">volume</td>
<td>The volume. (0=max, -10000=min).</td>
</tr>
</table>
<br />
<hr />
<h2>The <embed> Element</h2>
<table class="ex" border="1" width="100%">
<tr>
<th width="20%" align="left">Attribute</th>
<th align="left">Defines</th>
</tr>
<tr>
<td valign="top">autostart</td>
<td>Automatic start. (true | false).</td>
</tr>
<tr>
<td valign="top">height</td>
<td>The height of the element in pixels or %.</td>
</tr>
<tr>
<td valign="top">hidden</td>
<td>The visibility of the element. (true | false).</td>
</tr>
<tr>
<td valign="top">src</td>
<td valign="top">The location (URL) of the source file.</td>
</tr>
<tr>
<td valign="top">width</td>
<td>The width of the element in pixels or %.</td>
</tr>
</table>
<p>See also styling attributes, common HTML attributes and Event attributes at
the bottom of this page.</p>
<hr />
<h2>The <applet> Element</h2>
<table class="ex" border="1" width="100%">
<tr>
<th width="20%" align="left">Attribute</th>
<th align="left">Defines</th>
</tr>
<tr>
<td valign="top">alt</td>
<td valign="top">An alternate text.</td>
</tr>
<tr>
<td valign="top">archive</td>
<td valign="top">The locations (URLs) of archive files.</td>
</tr>
<tr>
<td valign="top">code</td>
<td valign="top">The location (URL) of the applet code.</td>
</tr>
<tr>
<td valign="top">codebase</td>
<td valign="top">The base location (default URL) for all files.</td>
</tr>
<tr>
<td valign="top">height</td>
<td valign="top">The height of the applet in pixels or %.</td>
</tr>
<tr>
<td valign="top">name</td>
<td>The name of the applet.</td>
</tr>
<tr>
<td valign="top">object</td>
<td>A saved representation of the applet. Do not use.</td>
</tr>
<tr>
<td valign="top">width</td>
<td>The width of the applet in pixels or %.</td>
</tr>
</table>
<p>See also styling attributes, common HTML attributes and Event attributes at
the bottom of this page.</p>
<hr />
<h2>The <object> Element</h2>
<table class="ex" border="1" width="100%">
<tr>
<th width="20%" align="left">Attribute</th>
<th align="left">Defines</th>
</tr>
<tr>
<td valign="top">archive</td>
<td valign="top">The locations (URLs) of archive files.</td>
</tr>
<tr>
<td valign="top">classid</td>
<td valign="top">The location (URL) of the object.</td>
</tr>
<tr>
<td valign="top">codebase</td>
<td valign="top">The base path used to resolve relative URIs specified by
the classid, data, and archive attributes.</td>
</tr>
<tr>
<td valign="top">codetype</td>
<td valign="top">The content type of the code. </td>
</tr>
<tr>
<td valign="top">data</td>
<td valign="top">The location (URL) of object data.</td>
</tr>
<tr>
<td valign="top">declare</td>
<td valign="top">Do not instantiate (execute) the object.</td>
</tr>
<tr>
<td valign="top">height</td>
<td valign="top">The height of the object in pixels or %.</td>
</tr>
<tr>
<td valign="top">name</td>
<td>The object's name.</td>
</tr>
<tr>
<td valign="top">standby</td>
<td>Text to display while object is loading.</td>
</tr>
<tr>
<td valign="top">tabindex</td>
<td>The position in the tab order</td>
</tr>
<tr>
<td valign="top">type</td>
<td>The content type of the object.</td>
</tr>
<tr>
<td valign="top">usemap</td>
<td>The location (URL) of an image map.</td>
</tr>
<tr>
<td valign="top">width</td>
<td>The width of the player in pixels or %.</td>
</tr>
</table>
<p>See also styling attributes, common HTML attributes and Event attributes at the
bottom of this page.</p>
<hr />
<h2>The <param> Element</h2>
<p>The param element defines parameters to the object or applet elements.</p>
<table class="ex" border="1" width="100%">
<tr>
<th width="20%" align="left">Attribute</th>
<th align="left">Defines</th>
</tr>
<tr>
<td valign="top">id</td>
<td valign="top">A unique id for the element.</td>
</tr>
<tr>
<td valign="top">name</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -