0

Html <hr /> tag...

if i write like <hr> then also horizontal line is created so what this (/) sign signifies?

12th Jul 2017, 3:42 AM
LALIT NEGI
LALIT NEGI - avatar
1 ответ
+ 2
The slash (/) at end of empty tags (those which doesn't have closing </tag>s) is not valid in Html5, even if it's supported and auto-corrected... it remains from bad habits, for being XHtml compatible which was requiring it, even if XHtml was abandoned since outcome of Html5...
12th Jul 2017, 5:33 AM
visph
visph - avatar