Why in HTML language the ending code has first" / " this sign and then the same tag also please tell how it works | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why in HTML language the ending code has first" / " this sign and then the same tag also please tell how it works

27th Oct 2018, 11:20 AM
&hubham Gawade
&hubham Gawade - avatar
2 Answers
+ 2
Well its pretty simple. For example if you want to write “yee” you would use <p>yee</p>. The slash terminates the statement, sort of like a semicolon in other languages
27th Oct 2018, 8:19 PM
NipIsTrue
0
But internally how it works
4th Apr 2019, 10:21 AM
&hubham Gawade
&hubham Gawade - avatar