0
I m learning HTML. The align="center" is not working.wht to do?
i did it like this <p align="center"> hello i m........</p>
15 odpowiedzi
+ 4
'align' attribute is deprecated in Html5, but should works anyway, as Html is permissive, and browsers known how to correct it ^^
Same behaviour need to be done trough css:
<p style="text-align:center;">
But are you sure of what you are done? Because it's very surprising that your code extract doesn't align its content to center (of itself: what's the context of your attempt?)
+ 3
Like this?
https://code.sololearn.com/WU9e0F4DRKXJ/?ref=app
Is it still not working?
+ 3
What do you use to open it? Sololearn app? Sololearn website?
+ 3
What <i>...</i>?
You doesn't talk about it before? @@
+ 3
And so, how can you said that mine code snippet doesn't work?
... and what and how did you put in italics?
+ 2
Is it still not working?
0
i m doing it just like it told in sololearn.i m just writing "this is a line of text" in content
0
yes exactly like this
0
no :(
0
wow.i figured the problem:D
0
the <i>......</i> was causing the problem not it works
0
now*. thank u very much for helping
0
i made it in italics i didnt knew that will cause a problem :/
0
ur code worked
0
nvm the prob is fixed now