亚洲国产日韩欧美一区二区三区,精品亚洲国产成人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

HTML<hr> 元素表示段落級元素之間的主題轉(zhuǎn)換(例如,一個故事中的場景的改變,或一個章節(jié)的主題的改變)。在HTML的早期版本中,它是一個水平線?,F(xiàn)在它仍能在可視化瀏覽器中表現(xiàn)為水平線,但目前被定義為語義上的,而不是表現(xiàn)層面上。

內(nèi)容類別

流量內(nèi)容。

允許的內(nèi)容

沒有,這是一個空的元素。

標(biāo)記遺漏

它必須有開始標(biāo)記,但不能有結(jié)束標(biāo)記。

允許的父母

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

允許ARIA角色

介紹

DOM界面

HTMLHRElement

特性

該元素包含全局屬性

align設(shè)置對齊方式. 如果沒有值, 默認(rèn)值為 left。

color使用顏色名或十六進制設(shè)置顏色。

noshade去除陰影。

size使用像素設(shè)置高度。

width使用像素或者百分比設(shè)置寬度。

示例

<p>
  This is the first paragraph of text.
  This is the first paragraph of text.
  This is the first paragraph of text.
  This is the first paragraph of text.</p><hr><p>
  This is the second paragraph of text.
  This is the second paragraph of text.
  This is the second paragraph of text.
  This is the second paragraph of text.</p>

輸出:

這是文本的第一段。這是文本的第一段。這是文本的第一段。這是文本的第一段。

這是文本的第二段。這是文本的第二段。這是文本的第二段。這是文本的第二段。

規(guī)范

規(guī)范

狀態(tài)

評論

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

生活水平

hr元素的定義

HTML生活標(biāo)準(zhǔn)

生活水平

hr元素的建議默認(rèn)渲染

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

建議


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

建議

align,noshade,size和width屬性已被棄用

瀏覽器兼容性

Feature

Chrome

Edge

Firefox

Internet Explorer

Opera

Safari

Basic Support

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

align

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

color

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

noshade

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

size

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

width

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

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)

align

(Yes)

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

color

(Yes)

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

noshade

(Yes)

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

size

(Yes)

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

width

(Yes)

(Yes)

(Yes)

1

(Yes)

(Yes)

(Yes)

Previous article: Next article: