+ 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?

5th May 2020, 5:03 PM
Python piper
Python piper - avatar
2 Respuestas
+ 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.
5th May 2020, 5:40 PM
Nova
Nova - avatar
+ 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.
5th May 2020, 5:10 PM
Dasarath Singh