Make delicious recipes!

Div and Span in HTML


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


Example:
  1. This sentence has fruits inside span.

  2. This sentence has
    fruits
    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:

Name:
Email: (Your email is not shared with anybody)
Comment:

Facebook comments:

Site Owner: Sachin Goyal