+ 1

Example program for the below description?

Setting the display property of an element only changes how the element is displayed, not what kind of element it is. So, an inline element with display:block is not allowed to have other block elements inside it.

26th Apr 2017, 2:03 AM
Prasanna Kumar
Prasanna Kumar - avatar
1 ответ
+ 6
not really sure what you need, but that text means you can't have: <a href="www.sololearn.com" style="display:block"> <div>Sololearn</div> </a>
26th Apr 2017, 5:33 AM
Nikolay Nachev
Nikolay Nachev - avatar