0

Horizontal lines

Okay so does there have to be a space between r and /? Like is it <hr /> like how it shows me or could I have it <hr/> cause this also works on the code playground so I think its just a typo but Idk. It seems they both work so if it matters or not

14th Dec 2017, 11:16 PM
Xoomy
Xoomy - avatar
4 Réponses
+ 5
No, it works either way and you can have no "/" too.
14th Dec 2017, 11:36 PM
Learnsolo
+ 2
It doesn't matter; it will work with or without a space. <hr> also works.
14th Dec 2017, 11:16 PM
Jonathan Crozier
+ 2
It work with all the html code. It's just about convention.
14th Dec 2017, 11:23 PM
Arno Lothe
Arno Lothe - avatar
0
Okay, thanks
14th Dec 2017, 11:17 PM
Xoomy
Xoomy - avatar