<p>This paragraph is a block-level element; its background has been colored to display the paragraph's parent element.</p>
p{background-color:#8ABB55;}
inline elements example :
.highlight{background-color:#ee3;}
<div>The following span is an <spanclass="highlight">inline element</span>;
its background has been colored to display both the beginning and end of
the inline element's influence.</div>
Oldest comments (0)
Subscribe
For further actions, you may consider blocking this person and/or reporting abuse
The harsh reality for JS Developers: If you don't study the fundamentals, you'll be just another “Coder”. Top learnings on how to get to the mid/senior level faster as a JavaScript developer by Dragos Nedelcu.
Oldest comments (0)