Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
WhoCode12649y<span> is an inline element and especially only for manipulating inline parts with css but has no semantic purpose.
<div> instead is a block element and better used for structure and semantic.
Related Rants
-
skiilaa41"Are you familiar with uploading your code to Google Drive?" I left the building at that exact moment. -
ahmedam23
What only relying on JavaScript for HTML form input validation looks like -
qbalsdon50Got this from a recruiter: We are looking for a **Senior Android Developer/Lead** at Philadelphia PA Hiring ...

What is the difference between a <span> and a <div>?
undefined
html
wk48
good question