Why all the display commands are getting displayed whereas only display 4 should be displayed. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why all the display commands are getting displayed whereas only display 4 should be displayed.

<html> Display 1 <head> Display 2 </head> <body> Display 3 <p>display 4</p> </body> </html>

24th Jan 2019, 11:50 AM
Abhishek Verma
Abhishek Verma - avatar
1 Answer
+ 1
add the comment tag around the 3 other display texts <!— display 1 —> this should hide it anything not inside tags is considered text to display
24th Jan 2019, 11:53 AM
Amanda Riojas
Amanda Riojas - avatar