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

目錄 搜尋
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
文字

HTML 元素 換行 <br> 在文本中產(chǎn)生一個(gè)換行(回車鍵)。這對(duì)于寫詩或?qū)懸粋€(gè)地址來說顯得很有用。它可以將行明顯地分開。

內(nèi)容類別

流量?jī)?nèi)容,措辭內(nèi)容。

允許的內(nèi)容

沒有,這是一個(gè)空的元素。

標(biāo)記遺漏

必須有一個(gè)開始標(biāo)記,并且不能有結(jié)束標(biāo)記。在XHTML文檔中,將這個(gè)元素寫成<br />。

允許父母

任何接受短語內(nèi)容的元素。

允許ARIA角色

任何

DOM界面

HTMLBRElement

屬性

該元素包含所有全局特性。

clear自HTML4.01起棄用,HTML5以來已過時(shí),表示中斷后下一行的開始位置。

用法說明:此屬性在HTML5中已過時(shí),不應(yīng)由作者使用。改用CSS clear屬性。

不要<br>用來增加文本之間的差距; 使用CSS margin屬性或<p>元素。

示例

Mozilla Foundation<br>1981 Landings Drive<br>Building K<br>Mountain View, CA 94043-0801<br>USA

以上的HTML輸出:

Mozilla Foundation

1981 Landings Drive

Building K

Mountain View, CA 94043-0801

USA

規(guī)范

規(guī)范

狀態(tài)

評(píng)論

WHATWG HTML生活標(biāo)準(zhǔn)該規(guī)范中“<br>”的定義。

生活水平


HTML5該規(guī)范中“<br>”的定義。

建議


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

建議


瀏覽器兼容性

Feature

Chrome

Edge

Firefox (Gecko)

Internet Explorer

Opera

Safari (WebKit)

Basic support

1.0

(Yes)

(Yes)

(Yes)

(Yes)

(Yes)

Feature

Android

Edge

Firefox Mobile (Gecko)

IE Phone

Opera Mobile

Safari Mobile

Basic support

(Yes)

(Yes)

(Yes)

(Yes)

(Yes)

(Yes)

上一篇: 下一篇: