0
Incorrect error in HTML lessons?
Was doing HTML lessons for the Attributes and one of the bits of code is throwing out an error stating that the ending p tag is unexpected, even though there are no other ending p tags preceding it. Is this just a bug in the way the system is working? Because it's causing an error in the way the code is being ran in the Code Playground.
11 Respuestas
0
Something may go wrong.
0
Can you provide the code?
0
<p>paragrah</p>
0
The code is correct. Maybe it is system's bug
0
yes
0
<html>
<head>
<title>Attributes</title>
</head>
<body>
<p align="center">This is a text <br />
<hr width="10%" align="right" /> This is also a text.
</p>
</body>
</html>
This is the exact code in the lesson. Not sure if system is bugged or if there is something wrong with the code itself that needs to be fixed in the lesson.
0
you have ended </p> but you have not started it
0
<p align="center">This is sample</p> is a correct code.
Align is attribute for <p> so you do not have to write <p>
0
oh is that so
0
The problem is that it's a code given in a lesson that is throwing an error out for some reason. Not sure if code or system needs fixed, but something needs a good fixing.
0
I hope so