MOTOSHARE 🚗🏍️

Rent Bikes & Cars Directly from Owners

Motoshare connects vehicle owners with people who need bikes and cars on rent. Owners earn from idle vehicles, and renters get flexible ride options.

Visit Motoshare

Difference Between Div & Span

CSS

<div>   </div>

The div tag is used to group various other HTML elements. It is a block level element. We can say it also create a block.

Ex:-

<div> This is a Div Tag </div>

&lt;div>
	&lt;h1> Heading &lt;/h1>
	&lt;p> Para &lt;/p>
&lt;/div>

<span>   </span>

The span tag is used to group inline elements. It is an inline element.

Ex:-

<p> I am example of span tag </p>

<p> I am <span>example of span tag</span> </p>

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x