What should i do with The body tag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What should i do with The body tag?

What should i do in try it yourself? I just did <p> and </p> tag to write something ,but it shows that it has error

20th Jun 2017, 11:45 PM
김지섭
김지섭 - avatar
5 Answers
+ 3
"<i got 100 math in test>" the problem is you have used the left and right angle brackets"<>" on the text, therefore you have confused the browser to read it like a tag. the proper way is <p>i got 100 math in test</p>
21st Jun 2017, 12:09 AM
Raz
Raz - avatar
+ 1
thank you!!
21st Jun 2017, 3:56 AM
김지섭
김지섭 - avatar
0
can you post your code please so we can see what cause that error?
20th Jun 2017, 11:54 PM
Raz
Raz - avatar
0
<html> <head> </head> <body> <p> <i got 100 in math test></p> </body> </html>
20th Jun 2017, 11:59 PM
김지섭
김지섭 - avatar
0
its a essential one.. if u don't knw... all things we wrap is in between body tag.. all the seen things we see
21st Jun 2017, 4:55 AM
Sudhanshu Prajapati
Sudhanshu Prajapati - avatar