0

About HTML tags

What is the difference between the tags <hr> and <hr /> ? However both acts as same .

25th Nov 2020, 8:31 AM
Aditya Kumar
Aditya Kumar - avatar
1 Respuesta
+ 2
Some HTML elements have no content (like the <hr> element). These elements are called empty elements. Empty elements do not have an end tag, It is recommended to use such tags as close like </hr>.
25th Nov 2020, 9:36 AM
Yaser Dadafarid
Yaser Dadafarid - avatar