+ 2

another doubt...

<html> <head> <title>first page</title> </head> <body> <p>This is a paragraph. </p> <p>This is another paragraph. </p> </body> </html> this code runs flawlessly if i --- 1. removes "/" from any of the ending tags. 2. replace </p> with any other character c i.e. </c>. someone please explain...

1st Apr 2017, 6:21 PM
LALIT NEGI - avatar
2 Answers
+ 6
I believe it is due to the environment here on SoloLearn. The software is designed to help you out for minor syntax error's such as the two you mentioned. Just don't get into the habit of thinking this will function when working on your non-mobile (i.e. atom, sublime, etc.) editor and command line. -bern
1st Apr 2017, 6:41 PM
bernscode - avatar
+ 3
https://www.sololearn.com/discuss/288555/?ref=app same answer as in your other question about html...
1st Apr 2017, 6:39 PM
Mario L.
Mario L. - avatar