0

Are these block tags ?

hr and br tags starts from new line and they don't contain any content within...So can I consider those tags as blocktag (I m bit confused bcoz they don't contain any content)

16th Feb 2017, 1:12 AM
Arjun Reddy
Arjun Reddy - avatar
5 Answers
+ 2
<br> <hr> have default 'display' value of 'block'... so, they are block level element ( and also they don't flow with text content as inline level elements ). More informations on the differents CSS display values on differents elements on this clear page: https://www.impressivewebs.com/default-css-display-values-html-elements/
17th Feb 2017, 3:53 PM
visph
visph - avatar
+ 1
No because they are not considered as a box like the others, they are used to skip line for text content most of the time in the <p>.
16th Feb 2017, 2:24 AM
Christophe Nadeau
Christophe Nadeau - avatar
0
What time of tags they are ?
16th Feb 2017, 2:41 AM
Arjun Reddy
Arjun Reddy - avatar
0
I can't put a name on it but they are used to skip line in a text content
16th Feb 2017, 2:43 AM
Christophe Nadeau
Christophe Nadeau - avatar
0
k thanks :)
16th Feb 2017, 2:47 AM
Arjun Reddy
Arjun Reddy - avatar