+ 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.
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>