HTML — Div and Span
<div>
is a box for grouping elements. <span>
is used for styling small parts of text.
<div style='background: lightblue;'>
<p>This is inside a div.</p>
</div>
<p>This is <span style='color:red;'>red</span> text.</p>
<div>
is a box for grouping elements. <span>
is used for styling small parts of text.
<div style='background: lightblue;'>
<p>This is inside a div.</p>
</div>
<p>This is <span style='color:red;'>red</span> text.</p>