0
What does this /symbol indicate.
i mean the slash symbol
3 Answers
+ 6
It represents the end of the code/element/line.
It is also useful in another way > helps you to read code in a less confusing manner.
For example, I show you :
<p>Hello<p><p>this<p><p>is pretty confusing<p><!--with all--><p>the<p><p>p<p><p>isnt it?<p>
Which is why we do this instead :
<p>Hello</p><p>this</p><p>is pretty confusing</p><!--with all--><p>the</p><p>p</p><p>isnt it?</p>
So that the system and you can easily read it with lesser trouble
+ 1
It is indicating closing tag. Every tag you open, you have to close aswell. For example <body></body>
- 1
it's a leaning stick