When do i put the slash before and after? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

When do i put the slash before and after?

<html/> ....</i>

14th Jan 2019, 1:32 PM
Omar Hamada
4 Answers
+ 3
Here's a list of the void (self-closing) elements from the main HTML elements, in case it helps. https://developer.mozilla.org/en-US/docs/Glossary/Empty_element SVG and MathML have their own sets, but these are not explicitly broken out.
14th Jan 2019, 6:13 PM
Janningā­
Janningā­ - avatar
+ 2
I am sorry ,but I am a total beginner ,what are close tags?
14th Jan 2019, 1:40 PM
Omar Hamada
+ 2
Thanks ALOT
14th Jan 2019, 1:52 PM
Omar Hamada
+ 2
Thanks ALOT
14th Jan 2019, 1:52 PM
Omar Hamada