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>
3 ответов
+ 5
It should be <p align="right">about</p>
Because align is attribute not a tag
https://code.sololearn.com/Wiy3woEwCZE0/?ref=app
+ 2
align is not a tag you write it like this: <p align="right">about</p>
+ 2
there is not html tag <align>
you need to use the style attribute like this:
<p style="text-align: right;">about</p>