+ 1

What's wrong with this code its suppose to put the image in the center ?

<html> <head> <title>first page</title> </head> <body> <p>align = "center"><img src = "http://www.sololearn.com/images/tree.jpg" height ="50px" width ="76" style = border; solid 2px red; alt =""/></p> <p>This is what I want</p> <p><b>This is another paragraph. </b></p> <p>i know say no true</p> <p>This is <br /> <del>a line break <del/><br/>two times </p> </body> </html>

31st Dec 2017, 10:38 AM
Chessbox
Chessbox - avatar
2 RĂ©ponses
0
line no 6 you closed p tag two times <p>align="center"> ^ ^ proper way <p align="center">
31st Dec 2017, 10:45 AM
‎ ‏‏‎Anonymous Guy
0
thanks
31st Dec 2017, 10:47 AM
Chessbox
Chessbox - avatar