w3pop.com :: ÍøÂçѧԺ :: HTML DOM :: DOM ²Î¿¼
Follow the links to learn more about the objects and their collections, properties, methods and events.
¸úËæÏÂÃæµÄÁ¬½ÓÀ´Ñ§Ï°¸ü¶àÓйضÔÏóÒÔ¼°ËüÃǵļ¯ºÏ£¬ÊôÐÔ£¬·½·¨ÒÔ¼°Ê¼þ¡£
| ¶ÔÏó | ÃèÊö |
|---|---|
| Anchor | Represents an HTML a element (a hyperlink) ´ú±íÁËHTMLµÄ a ÔªËØ (³¬¼¶Á´½Ó) |
| Applet | Represents an HTML applet element. The applet element is used to place executable content on a page ´ú±íÁËHTMLµÄappletÔªËØ£¬appletÔªËØ¿ÉÓÃÀ´·ÅÖÃÒ³ÃæÄÚ¿ÉÖ´ÐеÄÄÚÈÝ |
| Area | Represents an area of an image-map. An image-map is an image with clickable regions ´ú±íÁËͼÏóÓ³ÉäÇøÓò¡£´øÓпɵã»÷µÄͼƬ¿É³ÆÎªÍ¼ÏóÓ³Éä |
| Base | Represents an HTML base element ´ú±íÁËHTMLµÄ baseÔªËØ |
| Basefont | Represents an HTML basefont element HTMLµÄbasefontÔªËØ |
| Body | Represents the body of the document (the HTML body) ÎĵµµÄÖ÷Ìå(body) |
| Button | Represents a push button on an HTML form. For each instance of an HTML <input type="button"> tag on an HTML form, a Button object is created HTML±íµ¥Éϵİ´Å¥¡£HTML±íµ¥ÖÐÖ»Òª³öÏÖÁË<input type="button">±êÇ©£¬Ò»¸öButton¶ÔÏó¾Í½¨Á¢ÁË |
| Checkbox | Represents a checkbox on an HTML form. For each instance of an HTML <input type="checkbox"> tag on an HTML form, a Checkbox object is created HTML±íµ¥Öеĸ´Ñ¡¿ò¡£Ö»ÒªHTML±íµ¥ÖгöÏÖÁË<input type="checkbox">±êÇ©£¬¾Í»á½¨Á¢ÆðCheckbox¶ÔÏó |
| Document | Used to access all elements in a page ¿ÉÓÃÀ´·ÃÎÊËùÓÐÔÚÒ³ÃæÖеÄÔªËØ |
| Event | Represents the state of an event, such as the element in which the event occurred, the state of the keyboard keys, the location of the mouse, and the state of the mouse buttons ´ú±íʼþµÄ״̬£¬±ÈÈçij¸öÔªËØµÄʼþ·¢ÉúÁË£¬¼üÅ̰´¼üµÄ״̬£¬Êó±êµÄλÖã¬Êó±ê°´Å¥µÄ״̬ |
| FileUpload | For each instance of an HTML <input type="file"> tag on a form, a FileUpload object is created µ±HTML±íµ¥ÖÐÓÐ<input type="file">,FileUpload¶ÔÏó¾Í½¨Á¢ÆðÀ´ÁË |
| Form | Forms are used to prompt users for input. Represents an HTML form element ±íµ¥¿ÉÓÃÓÚÓû§ÐÅÏ¢µÄÊäÈëµÝ½»¡£¿É´ú±íHTMLÖеÄformÔªËØ |
| Frame | Represents an HTML frame ´ú±íÁËHTMLÖеĿò¼Ü |
| Frameset | Represents an HTML frameset HTMLµÄ¿ò¼Ü¼¯ |
| Hidden | Represents a hidden field on an HTML form. For each instance of an HTML <input type="hidden"> tag on a form, a Hidden object is created ÔÚHTMLÖеÄÒþ²ØÇøÓò¡£Ã¿µ±HTML±íµ¥ÖгöÏÖ<input type="hidden">±êÇ©£¬Hidden¶ÔÏó¾Í½¨Á¢ÆðÀ´ÁË |
| History | A predefined object which can be accessed through the history property of the Window object. This object consists of an array of URLs. These URLs are all the URLs the user has visited within a browser window ͨ¹ýWindow¶ÔÏóµÄhistoryÊôÐÔËù·ÃÎʵÄÔ¤ÏÈÈ·¶¨¶ÔÏó¡£Õâ¸ö¶ÔÏóÓÉÒ»×éURLsËù¹¹³É¡£ÕâЩURLsÊÇËùÓÐÓû§Ôø¾ÔÚä¯ÀÀÆ÷ÖзÃÎʹýµÄURLs¡£ |
| Iframe | Represents an HTML inline-frame HTMLÖеÄÄÚÁª¿ò¼Ü |
| Image | Represents an HTML img element HTMLµÄimgÔªËØ |
| Link | Represents an HTML link element. The link element can only be used within the <head> tag HTMLµÄlinkÔªËØ¡£Ö»ÄÜÔÚ<head>±êÇ©ÀïʹÓÃlinkÔªËØ |
| Location | Contains information about the current URL º¬Óе±Ç°URLµÄÐÅÏ¢ |
| Meta | Represents an HTML meta element HTMLµÄmetaÔªËØ |
| Navigator | Contains information about the client browser º¬Óпͻ§¶ËÐÅÏ¢ |
| Option | Represents an option in a selection list on an HTML form. For each instance of an HTML <option> tag in a selection list on a form, an Option object is created ÔÚHTML±íµ¥ÖеÄÑ¡ÔñÏÿµ±HTML±íµ¥ÖгöÏÖ<option>±êÇ©£¬Option¶ÔÏó¾Í½¨Á¢ÁË |
| Password | Represents a password field on an HTML form. For each instance of an HTML <input type="password"> tag on a form, a Password object is created ´ú±íÁËHTML±íµ¥ÖеÄpasswordÇøÓò¡£Ã¿µ±HTML±íµ¥ÖгöÏÖ<input type="password"> ±êÇ©£¬¾Í»á½¨Á¢¸Ã¶ÔÏó |
| Radio | Represents radio buttons on an HTML form. For each instance of an HTML <input type="radio"> tag on a form, a Radio object is created ´ú±íÁËHTML±íµ¥Öеĵ¥Ñ¡°´Å¥¡£Ã¿µ±±íµ¥ÖгöÏÖÁË<input type="radio">±êÇ©£¬¾Í»á½¨Á¢¸Ã¶ÔÏó |
| Reset | Represents a reset button on an HTML form. For each instance of an HTML <input type="reset"> tag on a form, a Reset object is created ´ú±íÁËHTML±íµ¥ÖеÄreset°´Å¥¡£Ã¿µ±±íµ¥³öÏÖÁË<input type="reset"> ±êÇ©¾Í»á½¨Á¢¸Ã¶ÔÏó |
| Screen | Automatically created by the JavaScript runtime engine and it contains information about the client's display screen »áÓÉJS¹¤×÷»·¾³ÒýÇæ×Ô¶¯½¨Á¢£¬Ëü°üº¬ÁËÓйؿͻ§ÏÔʾÆÁÄ»µÄÐÅÏ¢ |
| Select | Represents a selection list on an HTML form. For each instance of an HTML <select> tag on a form, a Select object is created ´ú±íÁËHTML±íµ¥ÖеÄÑ¡ÔñÁÐ±í¡£Ã¿µ±±íµ¥ÖгöÏÖ<select>±êÇ©¾Í»á½¨Á¢¸Ã¶ÔÏó |
| Style | Represents an individual style statement. This object can be accessed from the document or from the elements to which that style is applied ´ú±íÁ˶ÀÁ¢µÄÑùʽÉùÃ÷¡£ÎÒÃÇ¿ÉÒÔ·ÃÎÊÕâ¸ö¶ÔÏó¶ÔÏ󣬿ÉÒªÎĵµ»òÊÇ±íµ¥ÖеÄÔªËØÖ§³Östyle |
| Submit | Represents a submit button on an HTML form. For each instance of an HTML <input type="submit"> tag on a form, a Submit object is created ´ú±íÁËHTML±íµ¥ÖеÄÌá½»°´Å¥¡£Ã¿µ±±íµ¥ÖгöÏÖ<input type="submit"> ±êÇ©¸Ã¶ÔÏó¾Í½¨Á¢ÆðÀ´ÁË |
| Table | Represents an HTML table element ´ú±íÁËHTMLµÄ±í¸ñÔªËØ |
| TableData | Represents an HTML td element ´ú±íÁËHTMLÀïµÄtdÔªËØ |
| TableHeader | Represents an HTML th element ´ú±íÁËHTMLÀïµÄthÔªËØ |
| TableRow | Represents an HTML tr element ´ú±íÁËHTMLÀïµÄtrÔªËØ |
| Text | Represents a text field on an HTML form. For each instance of an HTML <input type="text"> tag on a form, a Text object is created ´ú±íÁË±íµ¥ÖеÄÎÄ×ÖÊäÈëÇøÓò¡£Ã¿µ±±íµ¥ÖгöÏÖ<input type="text">±êÇ©¸Ã¶ÔÏó¾Í½¨Á¢ÆðÀ´ÁË |
| Textarea | Represents an HTML textarea element ´ú±íÁËHTMLµÄtextareaÔªËØ |
| Window | Corresponds to the browser window. A Window object is created automatically with every instance of a <body> or <frameset> tag µ±³öÏÖ<body>»òÊÇ<frameset>±êÇ©£¬Õâ¸ö¶ÔÏó¾Í»á×Ô¶¯½¨Á¢ÆðÀ´¡£ |
ÆÀÂÛ (0)
All