0
What does Red cross box Means?
Hi there, I m doing the HTML course. So tried writing some basics in the Code Playground (https://code.sololearn.com/WQiFND0H8U4e).. When i ran the code, the output is as expected but when i wrote the code these Red Cross boxes appear twice. What does it mean? Is the code incomplete or wrong? And Do you know any place i can share what i write in CODE PLAYGROUND to get help/suggestions? Thank you
2 Respuestas
+ 1
Yes. The red boxes with the white x's is telling you you're doing something wrong with you code. HTML will not crash, but it will not output exactly what you are expecting, or may be interpreted unexpectedly by the browser.
In this case, the first case was caused by your <br> tag. <br> tags are written as <br> or <br />, but not </br>. The <br> tag is not an end tag.
I believe the second error is because you have a header (<h2>) tag in a paragraph (<p>) tag, which I suppose you're not supposed to do.
0
stack overflow