w3pop.com :: ÍøÂçѧԺ :: HTML DOM :: DOM Base ¶ÔÏó
The Base object represents an HTML base element. For each instance of an HTML <base> tag in a document, a Base object is created.
Base¶ÔÏó´ú±í×ÅHTMLµÄbaseÔªËØ,ÿµ±ÓÐÒ»¸öHTMLµÄ<base>±êÇ©½¨Á¢£¬Ò»¸öBase¶ÔÏóÒ²¾Í±»ËæÖ®½¨Á¢
IE: Internet Explorer, F: Firefox, N: Netscape, W3C: World Wide Web Consortium (Internet Standard).
| Property ÊôÐÔ |
Description ÃèÊö |
IE | F | O | W3C |
|---|---|---|---|---|---|
| href | Sets or returns a base URL for all the links in a page ÉèÖûò·µ»ØÒ³ÃæÖÐËùÓÐÁ¬½ÓµÄbase URL |
5 | 1 | 9 | Yes |
| id | Sets or returns the id of the <base> element ÉèÖûò·µ»Ø<base>ÔªËØµÄid |
4 | 1 | 9 | Yes |
| target | Sets or returns the default target frame for all the links in a page ÉèÖûò·µ»ØÕë¶ÔÒ³ÃæÖÐËùÓÐÁ¬½ÓµÄĬÈÏÄ¿±ê¿ò¼Ü |
5 | 1 | 9 | Yes |
ÆÀÂÛ (0)
All