0

Can you tell me what is wrong in this HTML code code is in description

Hi brother I am new in Sololearn . I faced so many problems 😅 Question= <!DOCTYPE html> <html> <head> <title> something </title> </head> <body> <p> <align="right">about</align></p> </body> </html>

23rd Sep 2020, 1:19 PM
Karan Khote
Karan Khote - avatar
3 ответов
+ 5
It should be <p align="right">about</p> Because align is attribute not a tag https://code.sololearn.com/Wiy3woEwCZE0/?ref=app
23rd Sep 2020, 1:22 PM
Atul
Atul - avatar
+ 2
align is not a tag you write it like this: <p align="right">about</p>
23rd Sep 2020, 1:24 PM
schmilox
schmilox - avatar
+ 2
there is not html tag <align> you need to use the style attribute like this: <p style="text-align: right;">about</p>
23rd Sep 2020, 1:25 PM
Gal Polak
Gal Polak - avatar