0

Why is slash important abter br tag and many more?

as i found the same output without using them.....

21st Dec 2017, 3:51 AM
Pratik Kunder
Pratik Kunder - avatar
1 Answer
+ 4
In HTML 5, the closing slash is optionalon void elements img tags are Void Elements so they do not need an end tag. Void elements area, base, br, col, command, embed, hr, img, input, keygen, link, meta, param, source, track, wbr ... Void elements only have a start tag; end tags must not be specified for void elements.
21st Dec 2017, 4:22 AM
GAWEN STEASY
GAWEN STEASY - avatar