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.

17th Sep 2017, 5:06 AM
GUARDIAN KAYSA (Yanta)
GUARDIAN KAYSA (Yanta) - avatar
11 Answers
0
Something may go wrong.
17th Sep 2017, 5:22 AM
MELO CODER
MELO CODER - avatar
0
Can you provide the code?
17th Sep 2017, 5:24 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
0
<p>paragrah</p>
17th Sep 2017, 5:26 AM
MELO CODER
MELO CODER - avatar
0
The code is correct. Maybe it is system's bug
17th Sep 2017, 5:29 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
0
yes
17th Sep 2017, 5:30 AM
MELO CODER
MELO CODER - avatar
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.
17th Sep 2017, 5:43 AM
GUARDIAN KAYSA (Yanta)
GUARDIAN KAYSA (Yanta) - avatar
0
you have ended </p> but you have not started it
17th Sep 2017, 5:45 AM
MELO CODER
MELO CODER - avatar
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>
17th Sep 2017, 5:47 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
0
oh is that so
17th Sep 2017, 5:47 AM
MELO CODER
MELO CODER - avatar
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.
17th Sep 2017, 5:50 AM
GUARDIAN KAYSA (Yanta)
GUARDIAN KAYSA (Yanta) - avatar
0
I hope so
17th Sep 2017, 5:51 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar