Help me! I can't lower down <p> <h1> Why us </ h1> </ p> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help me! I can't lower down <p> <h1> Why us </ h1> </ p>

<img src="https://www.iphones.ru/wp-content/uploads/2014/06/apple-store-prague-1.jpg" style="float:left; width: 50%" > <p><h1 align="center">Apple Paradise - мы открылись!</h1></p> <p> <h2> Заинтересовало? Тогда переходите в <ins>каталог</ins> и выбирайте! </h2> </p> </img> <p><h1>Why us?</h1></p>

17th Feb 2017, 4:17 PM
Ильгам
Ильгам - avatar
3 Answers
+ 3
there is no </img>, because <img> is self closing. then you don't need the <p> for <hX>, because headlines create paragraphs on their own. if you want to "exit" the float, add <br style="clear: both;"> before your <h1>.
17th Feb 2017, 4:24 PM
Mario L.
Mario L. - avatar
+ 1
Why are you using <h1> inside of <p> ? O.o
17th Feb 2017, 4:24 PM
Dev
Dev - avatar
+ 1
I've corrected this mistake in somebody answer of your previous related question, with advices and code examples, that you visibily don't follow ^^
17th Feb 2017, 7:20 PM
visph
visph - avatar