Can you validate this code ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can you validate this code ?

I want to get a line with 50px on the left of the screen. Is it right to code this way ? <p align="Left" > <hr width="50px"/> </p>

23rd May 2019, 8:54 PM
Cyrine GASSA
Cyrine GASSA - avatar
4 Answers
+ 1
<hr style="margin-left: 0" width="50px"/>
23rd May 2019, 8:57 PM
AgentSmith
+ 1
When you're done with HTML, or alongside HTML, make sure you learn CSS in the process. That'll help you out with the styling of everything.
23rd May 2019, 8:58 PM
AgentSmith
0
<hr style="float:left;width:50px"/>
23rd May 2019, 9:00 PM
Jônatas Araripe
Jônatas Araripe - avatar
0
Thank you! I got the answer.
23rd May 2019, 9:01 PM
Cyrine GASSA
Cyrine GASSA - avatar