+ 1
Question on <hr> tag
"In HTML5, the <hr> tag defines a thematic break." What does thay mean? An example will be highly appreciated. Do <hr> and <hr /> tags have any kinda relation?
2 ответов
+ 14
<hr> tag will create a horizontal line on your webpage. Thematic break just means that there is a change of topic that was being discussed.
HTML5 just gives it a semantic meaning.
<hr> and <hr /> refer to the same element. Both are valid in HTML, though the latter is from XHTML. Any of them can be used.
+ 1
hr tag :--->>It is use to create horizontal line on a web page.
draw a line across the entire width of the container, which can be the entire body of the container or a child element.