Why some codes ends different. For example <body/> and <p/>. What difference between them? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why some codes ends different. For example <body/> and <p/>. What difference between them?

20th Nov 2016, 6:25 AM
Abdullokh
3 Answers
0
in html there are tow types of tags, opening tag and closing tag, some tags in html don't have closing tag like <img/> <br/> <meta/>. and like <p>.........</p> this is normal tags have opening <p> and closing </p>
20th Nov 2016, 7:35 AM
Mohamed Ali
Mohamed Ali - avatar
0
which come after / have apenning tag and this be in closeing one . which come before dont have openning and closeing . its on code like <br/>
6th Mar 2017, 7:38 AM
Mohamed Ali
Mohamed Ali - avatar
- 3
I mean why some words are coming after this symbol "/" and why some of them coming before that symbol.
20th Nov 2016, 10:37 AM
Abdullokh