⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 media_object.asp@output=print

📁 W3Schools tutorial..web designing
💻 ASP@OUTPUT=PRINT
字号:
<!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 Object Element</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" />

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

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>

<h1>The Object Element</h1>
<a href="media_windowsformats.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="media_quicktime.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>
<hr />

<table>
<tr>
<td valign="top"><img border="0" src="pic_beatles.gif" alt="Beatles" /></td>
<td valign="top"><p class="intro">The &lt;object&gt; element can support many different media types, 
like:</p>
<ul>
	<li><p class="intro">Pictures</p></li>
	<li><p class="intro">Sounds</p></li>
	<li><p class="intro">Videos</p></li>
	<li><p class="intro">Other Objects</p></li>
</ul>
</td>
</tr></table>
<hr />

<h2>Displaying A Picture</h2>

<p>You can display a picture:</p>

<table width="100%" border="1" class="ex" cellspacing="0">
  <tr>
    <td>
      <pre>&lt;object height=&quot;100%&quot; width=&quot;100%&quot;
type=&quot;image/jpeg&quot; data=&quot;audi.jpeg&quot;&gt;
&lt;/object&gt;</pre>
    </td>
  </tr>
</table>

<p><a target="_blank" href="tryit.asp@filename=trymedia_pictureobject">Click here to 
try it yourself</a> </p>

<hr />

<h2>Displaying A Web Page</h2>

<p>You can display a web page:</p>

<table width="100%" border="1" class="ex" cellspacing="0">
  <tr>
    <td>
      <pre>&lt;object type=&quot;text/html&quot; height=&quot;100%&quot; width=&quot;100%&quot;
data=&quot;http://www.w3schools.com&quot;&gt;
&lt;/object&gt;</pre>
    </td>
  </tr>
</table>

<p><a target="_blank" href="tryit.asp@filename=trymedia_webpageobject">Click here to 
try it yourself</a> </p>

<hr />

<h2>Displaying A Sound</h2>

<p>You can display a sound:</p>

<table width="100%" border="1" class="ex" cellspacing="0">
  <tr>
    <td>
      <pre>&lt;object
classid=&quot;clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95&quot;&gt;
&lt;param name=&quot;FileName&quot; value=&quot;liar.wav&quot; /&gt;
&lt;/object&gt;</pre>
    </td>
  </tr>
</table>

<p><a target="_blank" href="tryit.asp@filename=trymedia_soundwaveobject">Click here to 
try it yourself</a> </p>

<hr />

<h2>Displaying A Video</h2>

<p>You can display a video:</p>

<table width="100%" border="1" class="ex" cellspacing="0">
  <tr>
    <td>
      <pre>&lt;object
classid=&quot;clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95&quot;&gt;
&lt;param name=&quot;FileName&quot; value=&quot;3d.wmv&quot; /&gt;
&lt;/object&gt;</pre>
    </td>
  </tr>
</table>

<p><a target="_blank" href="tryit.asp@filename=trymedia_videoaviobject">Click here to 
try it yourself</a> </p>

<hr />

<h2>Displaying A Calendar</h2>

<p>You can display a calendar:</p>

<table width="100%" border="1" class="ex" cellspacing="0">
  <tr>
    <td>
      <pre>&lt;object width=&quot;100%&quot; height=&quot;80%&quot;
classid=&quot;clsid:8E27C92B-1264-101C-8A2F-040224009C02&quot;&gt;
&lt;param name=&quot;BackColor&quot; value=&quot;14544622&quot;&gt;
&lt;param name=&quot;DayLength&quot; value=&quot;1&quot;&gt;
&lt;/object&gt;</pre>
    </td>
  </tr>
</table>

<p><a target="_blank" href="tryit.asp@filename=trymedia_calendarobject">Click here to 
try it yourself</a> </p>

<hr />

<h2>Displaying Graphics</h2>

<p>You can display graphics:</p>

<table width="100%" border="1" class="ex" cellspacing="0">
  <tr>
    <td>
      <pre>&lt;object width=&quot;200&quot; height=&quot;200&quot;
classid=&quot;CLSID:369303C2-D7AC-11D0-89D5-00A0C90833E6&quot;&gt;
&lt;param name=&quot;Line0001&quot;
value=&quot;setFillColor(255, 0, 255)&quot;&gt;
&lt;param name=&quot;Line0002&quot;
value=&quot;Oval(-100, -50, 200, 100, 30)&quot;&gt;
&lt;/object&gt;</pre>
    </td>
  </tr>
</table>

<p><a target="_blank" href="tryit.asp@filename=trymedia_graphicobject">Click here to 
try it yourself</a> </p>

<hr />

<h2>Displaying Flash</h2>

<p>You can display a flash animation:</p>

<table width="100%" border="1" class="ex" cellspacing="0">
  <tr>
    <td>
      <pre>&lt;object width=&quot;400&quot; height=&quot;40&quot;
classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;
codebase=&quot;http://download.macromedia.com
/pub/shockwave/cabs/flash/swflash.cab#4,0,0,0&quot;&gt;
&lt;param name=&quot;SRC&quot; value=&quot;bookmark.swf&quot;&gt;
&lt;embed src=&quot;bookmark.swf&quot; width=&quot;400&quot; height=&quot;40&quot;&gt;&lt;/embed&gt;
&lt;/object&gt;</pre>
    </td>
  </tr>
</table>

<p><a target="_blank" href="tryit.asp@filename=trymedia_flashobject">Click here to 
try it yourself</a> </p>

<p><a target="_blank" href="tryit.asp@filename=trymedia_w3flashobject">Click here to 
try a fancy flash</a> </p>

<hr />

<a href="media_windowsformats.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="media_quicktime.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -