Make delicious recipes!

Div and Span in HTML

<Span> is an inline element while <Div> is not inline.

  1. This sentence has fruits inside span.

  2. This sentence has
    inside div.

HTML for the above is:

This sentence has <span>fruits</span> inside span.

This sentence has <div>fruits</div> inside div.

Like us on Facebook to remain in touch
with the latest in technology and tutorials!

Got a thought to share or found a
bug in the code?
We'd love to hear from you:

Email: (Your email is not shared with anybody)

Facebook comments:

Site Owner: Sachin Goyal