HTML DOM disabled 屬性
2017-08-06 HTML DOM disabled 屬性 HTML DOM Option 對(duì)象 定義和用法 disabled 屬性可設(shè)置或返回是否默認(rèn)地禁用某個(gè) option 元素。 注釋: 該 disabled 屬性在 IE 中不起作用。 如果該屬性為 true,則該 option 元素
HTML DOM defaultSelected 屬性
2017-08-06 HTML DOM defaultSelected 屬性 HTML DOM Option 對(duì)象 定義和用法 defaultSelected 屬性可返回 selected 屬性的初始值。 如果選擇了默認(rèn)的選項(xiàng),則返回 true,否則返回 fasle。 如果表單被重置,則 select
HTML DOM scheme 屬性
2017-08-06 HTML DOM scheme 屬性 HTML DOM Meta 對(duì)象 定義和用法 scheme 屬性設(shè)置或返回用于解釋 content 屬性的值的格式。 語法 metaObject.scheme=format 實(shí)例 本例返回用于解釋 content 屬性的值的格式: htmlheadm
HTML DOM name 屬性
2017-08-06 HTML DOM name 屬性 HTML DOM Meta 對(duì)象 定義和用法 name 屬性把 content 屬性連接到 name。 語法 metaObject.name=author|description|keywords|generator|revised|others 實(shí)例 本例的 meta 標(biāo)簽為搜索引擎定義了一些關(guān)
HTML DOM httpEquiv 屬性
2017-08-06 HTML DOM httpEquiv 屬性 HTML DOM Meta 對(duì)象 定義和用法 httpEquiv 屬性把 content 屬性連接到 HTTP 頭部。 語法 metaObject.httpEquiv=content-type|expires|refresh|set-cookie 實(shí)例 本例每 5 秒刷新頁面: htmlheadmeta
HTML DOM content 屬性
2017-08-06 HTML DOM content 屬性 HTML DOM Meta 對(duì)象 定義和用法 content 屬性設(shè)置或返回 meta 元素的 content 屬性的值。 語法 metaObject.content=text 實(shí)例 本例的 meta 標(biāo)簽為搜索引擎定義了一些關(guān)鍵詞。以下代碼
HTML DOM type 屬性
2017-08-06 HTML DOM type 屬性 HTML DOM Link 對(duì)象 定義和用法 The type property sets or returns the MIME type of the target URL (like text/css, text/javascript, image/gif, etc.). 語法 linkObject.type=MIME_type 實(shí)例 The following example ret
HTML DOM rev 屬性
2017-08-06 HTML DOM rev 屬性 HTML DOM Link 對(duì)象 定義和用法 The rev property sets or returns the relationship between the target URL and the current document. The rel and rev properties work together. Those two properties are used by search en
HTML DOM rel 屬性
2017-08-06 HTML DOM rel 屬性 HTML DOM Link 對(duì)象 定義和用法 The rel property sets or returns the relationship between the current document and the target URL. The rel and rev properties work together. Those two properties are used by search en
HTML DOM name 屬性
2017-08-06 HTML DOM name 屬性 HTML DOM Link 對(duì)象 定義和用法 The name property sets or returns the name of a element. 語法 linkObject.name=name 實(shí)例 The following example outputs the name of a link element: htmlheadlink rel=stylesheet type