w3pop.com :: ÍøÂçѧԺ :: Internet :: ÍøÂç¶àýÌåÔªËØ²Î¿¼
ÍøÂç¶àýÌåÔªËØ²Î¿¼
::
| Attribute ÊôÐÔ |
Function º¯Êý |
|---|---|
| id | A unique id for the element. Ϊʱ¼ä¶¨ÒåÒ»¸ö¶ÀÁ¢µÄid |
| src | The location (URL) of the source file. Ö¸¶¨Ô´ÎļþµÄµØÖ·£¨URL£© |
| balance | The balance. (-10000=left, +10000=right). Ö¸¶¨×óÓÒÉùµÀƽºâ¶È£¨-10000 = ×óÉùµÀ£¬+10000 = ÓÒÉùµÀ£© |
| loop | The number of loops. (-1=infinite). Ö¸¶¨Ñ»·´ÎÊý£¨-1 = ÎÞÏÞÑ»·£© |
| volume | The volume. (0=max, -10000=min). Ö¸¶¨ÒôÁ¿£¨0 = ×î´ó £¬ -10000 = ×îС£© |
| Attribute ÊôÐÔ |
Defines ¶¨Òå |
|---|---|
| autostart | Automatic start. (true | false). Ö¸¶¨ÊÇ·ñ×Ô¶¯¿ªÊ¼ £¨ÊôÐÔֵΪ true / flase£© |
| height | The height of the element in pixels or %. Ö¸¶¨ÔªËظ߶ȡ£µ¥Î»£ºÏñËØ »ò % |
| hidden | The visibility of the element. (true | false). Ö¸¶¨ÔªËØÊÇ·ñ¿ÉÊÓ £¨ÊôÐÔֵΪ true / flase£© |
| src | The location (URL) of the source file. Ö¸¶¨Ô´ÎļþµÄµØÖ·£¨URL£© |
| width | The width of the element in pixels or %. Ö¸¶¨ÔªËØ¿í¶È¡£µ¥Î»£ºÏñËØ »ò % |
See also styling attributes, common HTML attributes and Event attributes at the bottom of this page.
Ò²¿ÉÒԲο¼styling [ÀàÐÍ] ÊôÐÔ£¬Í¨Óà HTMLÊôÐÔ ºÍ ±¾Ò³Ä©Î²µÄEvent [ʼþ]ÊôÐÔ
| Attribute ÊôÐÔ |
Defines ¶¨Òå |
|---|---|
| alt | An alternate text. ¶¨ÒåÌæ»»Îı¾ |
| archive | The locations (URLs) of archive files. Ö¸¶¨µ±°´ÎļþµÄµØÖ·£¨URLs£© |
| code | The location (URL) of the applet code. Ö¸¶¨applet´úÂëµÄµØÖ·£¨URL£© |
| codebase | The base location (default URL) for all files. ΪËùÓÐÎļþÖ¸¶¨»ù×¼µØÖ·£¨Ä¬ÈÏURL£© |
| height | The height of the applet in pixels or %. Ö¸¶¨ÔªËظ߶ȡ£µ¥Î»£ºÏñËØ »ò % |
| name | The name of the applet. Ö¸¶¨applet µÄÃû³Æ |
| object | A saved representation of the applet. Do not use. Ö¸¶¨applet µÄ±£Áô³ÂÊö¡£¾¡Á¿²»ÒªÊ¹Óà |
| width | The width of the applet in pixels or %. Ö¸¶¨ÔªËØ¿í¶È¡£µ¥Î»£ºÏñËØ »ò % |
See also styling attributes, common HTML attributes and Event attributes at the bottom of this page.
Ò²¿ÉÒԲο¼styling [ÀàÐÍ] ÊôÐÔ£¬Í¨Óà HTMLÊôÐÔ ºÍ ±¾Ò³Ä©Î²µÄEvent [ʼþ]ÊôÐÔ¡£
| Attribute ÊôÐÔ |
Defines ¶¨Òå |
|---|---|
| archive | The locations (URLs) of archive files. Ö¸¶¨archiveÎļþµÄµØÖ·£¨URLs£© |
| classid | The location (URL) of the object. Ö¸¶¨¶ÔÏóµÄµØÖ·£¨URL£© |
| codebase | The base path used to resolve relative URIs specified by the classid, data, and archive attributes. Ö¸¶¨ÓÉclassid¡¢ data ºÍ archive ÊôÐÔËùÖÆ¶¨µÄÓÃÓÚ½â¾öÏà¶ÔURIsµÄ»ù׼·¾¶¡£ |
| codetype | The content type of the code. Ö¸¶¨´úÂëµÄcontent [ÄÚÈÝ]ÀàÐÍ |
| data | The location (URL) of object data. Ö¸¶¨¶ÔÏóÊý¾ÝµÄµØÖ·£¨URL£© |
| declare | Do not instantiate (execute) the object. ²»Ö´ÐжÔÏó |
| height | The height of the object in pixels or %. Ö¸¶¨ÔªËظ߶ȡ£µ¥Î»£ºÏñËØ »ò % |
| name | The object's name. Ö¸¶¨¶ÔÏóÃû³Æ |
| standby | Text to display while object is loading. µ±¼ÓÔØ¶ÔÏóʱ£¬Öƶ¨ËùÏÔʾµÄÎı¾ |
| tabindex | The position in the tab order Ö¸¶¨ÔÚ±í¸ñµÄÏÔʾλÖà |
| type | The content type of the object. Ö¸¶¨¶ÔÏóµÄcontent [ÄÚÈÝ]ÀàÐÍ |
| usemap | The location (URL) of an image map. Ö¸¶¨Í¼ÏñÓ³ÉäµÄµØÖ·£¨URL£© |
| width | The width of the player in pixels or %. Ö¸¶¨ÔªËØ¿í¶È¡£µ¥Î»£ºÏñËØ »ò % |
See also styling attributes, common HTML attributes and Event attributes at the bottom of this page.
Ò²¿ÉÒԲο¼styling [ÀàÐÍ] ÊôÐÔ£¬Í¨Óà HTMLÊôÐÔ ºÍ ±¾Ò³Ä©Î²µÄEvent [ʼþ]ÊôÐÔ¡£
The param element defines parameters to the object or applet elements.
paramÔªËØ¶¨ÒåÁ˶ÔÏó»òappletÔªËØµÄ²ÎÁ¿¡£
| Attribute ÊôÐÔ |
Defines ¶¨Òå |
|---|---|
| id | A unique id for the element. ÎªÔªËØÖ¸¶¨Ò»¸ö¶ÀÁ¢µÄid |
| name | Parameter name. Ö¸¶¨²ÎÁ¿Ãû³Æ |
| type | Parameter content type. Ö¸¶¨²ÎÁ¿ÄÚÈÝÀàÐÍ |
| value | Parameter value. Ö¸¶¨²ÎÁ¿Öµ |
| valuetype | Parameter value type. Ö¸¶¨²ÎÁ¿ÖµÀàÐÍ |
Note: These attributes are deprecated. Use styles instead.
×¢Ò⣺ÎÒÃDz»ÔÞ³ÉʹÓÃÕâÀàÊôÐÔ¡£¿ÉÒÔʹÓÃÀàÐͲÎÊý´úÌæËü¡£
| Attribute ÊôÐÔ |
Defines ¶¨Òå |
|---|---|
| align | The alignment of the object. Ö¸¶¨¶ÔÏóµÄÅÅÁз½Ê½ |
| border | The border with in pixels. Ö¸¶¨±ß¿ò¿í¶È¡£µ¥Î»£ºÏñËØ |
| hspace | The horizontal white-space (margin) in pixels. Ö¸¶¨Ë®Æ½Áô°×£¨±ß½ç£©¡£µ¥Î»£ºÏñËØ |
| vspace | The vertical white-space (margin) in pixels. Ö¸¶¨´¹Ö±Áô°×£¨±ß½ç£©¡£µ¥Î»£ºÏñËØ |
| Attribute ÊôÐÔ |
Defines ¶¨Òå |
|---|---|
| class | The element's class. Ö¸¶¨ÔªËصÄÀà |
| dir | The directionality of the element. Ö¸¶¨ÔªËصÄÖ¸Ïò |
| id | A unique id for the element. ÎªÔªËØÖ¸¶¨Ò»¸ö¶ÀÁ¢µÄid |
| lang | The language used by the element. Ö¸¶¨ÔªËØËùʹÓõÄÓïÑÔ |
| style | The element's style. Ö¸¶¨ÔªËصÄÀàÐÍ |
| title | The elements title. Ö¸¶¨ÔªËصıêÌâ |
| Event ʱ¼ä |
Handles ´¦Àí·½Ê½ |
|---|---|
| onclick | mouse clicked µã»÷Êó±ê |
| ondblclick | mouse double clicked Ë«»÷Êó±ê |
| onmousedown | mouse button pressed down °´ÏÂÊó±ê°´Å¥ |
| onmouseup | mouse button released Êó±ê°´Å¥ÊÍ·Å |
| onmouseover | cursor moved onto the element Ö¸ÕëÒÆ¶¯ÖÁÔªËØÉÏ·½ |
| onmousemove | cursor moved within the element Ö¸ÕëÒÆ¶¯ÖÁÔªËØÄÚ²¿ |
| onmouseout | cursor moved away from the element Ö¸¶¨´ÓÔªËØÉÏÒÆ¿ª |
| onkeypressed | key pressed and released over the element ÔÚÔªËØÉÏ·½°´Ï¼üÅ̼ü²¢ÊÍ·Å |
| onkeydown | key pressed down over the element ÔÚÔªËØÉÏ·½°´Ï¼üÅ̼ü |
| onkeyup | key released over the element ÔÚÔªËØÉÏ·½ÊͷżüÅ̼ü |
ÆÀÂÛ (0)
All