0

tag ignored

Is necessary use </p> in this code? <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> When I tried put in the code playground appeared "unexpected end tag (p). ignored"

17th May 2019, 2:52 PM
Leticia Felicio
Leticia Felicio - avatar
2 Respuestas
+ 10
it's <br> and not <br/>
17th May 2019, 5:03 PM
Why So Serious ?
Why So Serious ? - avatar
+ 3
It's giving you that error because you put the horizontal rule <hr> inside of it. Should still work as expected though.
17th May 2019, 3:01 PM
AgentSmith