亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

directory search
Attributes accesskey (attribute) class (attribute) contenteditable (attribute) contextmenu (attribute) data-* (attribute) dir (attribute) draggable (attribute) dropzone (attribute) Global attributes hidden (attribute) id (attribute) itemid (attribute) itemprop (attribute) itemref (attribute) itemscope (attribute) itemtype (attribute) lang (attribute) slot (attribute) spellcheck (attribute) style (attribute) tabindex (attribute) title (attribute) translate (attribute) Elements a abbr address area article aside audio b base bdi bdo blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 head header hr html i iframe img input input type="button" input type="checkbox" input type="color" input type="date" input type="datetime"-local input type="email" input type="file" input type="hidden" input type="image" input type="month" input type="number" input type="password" input type="radio" input type="range" input type="reset" input type="search" input type="submit" input type="tel" input type="text" input type="time" input type="url" input type="week" ins kbd label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt rtc ruby s samp script section select slot small source span strong style sub summary sup table tbody td template textarea tfoot th thead time title tr track u ul var video wbr Miscellaneous Attributes Block-level elements CORS enabled image CORS settings attributes Element Inline elements Kinds of HTML content Link types Microdata Optimizing your pages for speculative parsing Preloading content Reference Supported media formats Using the application cache Obsolete acronym applet basefont big blink center command content dir element font frame frameset hgroup image input type="datetime" isindex keygen listing marquee nextid noframes plaintext strike tt xmp
characters

內(nèi)容類別

流量內(nèi)容,可觸及的內(nèi)容。

允許的內(nèi)容

流內(nèi)容,但沒有嵌套的<address>元素,沒有標題內(nèi)容(<hgroup>,<h1>,<h2>,<h3>,<h4>,<h5>,<h6>), article>,<aside>,<section>,<nav>),并且沒有<header>或<footer>元素。

標記遺漏

沒有,起始和結(jié)束標簽都是強制性的。

允許父母

任何接受流內(nèi)容但不包含<address>元素的元素(根據(jù)對稱性的邏輯原理,如果<address>標記作為父元素不能具有嵌套的<address>元素,則相同的<address>內(nèi)容可以沒有<address>標簽作為其父項)。

允許ARIA角色

沒有

DOM界面

HTMLElement在Gecko 2.0之前(Firefox 4),Gecko使用HTMLSpanElement接口實現(xiàn)了這個元素

屬性

這個元素只有全局屬性。

使用說明

  • 為了表示一個任意地址,一個與聯(lián)系人信息無關的地址,使用一個<p>元素而不是<address>元素。

  • 該元素不應包含比聯(lián)系信息更多的信息,例如發(fā)布日期(屬于<time>元素)。

  • 通常,<address>元素可以放置在<footer>當前節(jié)的元素中,如果有的話。

示例

  <address>
    You can contact author at <a href="http://www.somedomain.com/contact">www.somedomain.com</a>.<br>
    If you see any bugs, please <a href="mailto:webmaster@somedomain.com">contact webmaster</a>.<br>
    You may also want to visit us:<br>
    Mozilla Foundation<br>    1981 Landings Drive<br>
    Building K<br>
    Mountain View, CA 94043-0801<br>
    USA  </address>

上面的HTML的輸出如下:

雖然<address>元素使用<i>或者<em>元素的默認樣式渲染文本,但是當處理聯(lián)系信息時使用<address>元素更合適,因為它表達了額外的語義信息。

規(guī)范

規(guī)范

狀態(tài)

評論

HTML生活標準該規(guī)范中'<地址>'的定義。

生活水平


HTML5該規(guī)范中'<address>'的定義。

建議


HTML 4.01規(guī)范該規(guī)范中'<address>'的定義。

建議


瀏覽器兼容性

Feature

Chrome

Edge

Firefox

Internet Explorer

Opera

Safari

Basic Support

(Yes)

(Yes)

1

(Yes)

5.12

1

Feature

Android

Chrome for Android

Edge mobile

Firefox for Android

IE mobile

Opera Android

iOS Safari

Basic Support

(Yes)

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

Previous article: Next article: