They themselves don't do anything, they are just used alongside a selector to target particular code so they can be styled with CSS.
Am I correct on this? Maybe there is more meaning to them at a higher level
They themselves don't do anything, they are just used alongside a selector to target particular code so they can be styled with CSS.
Am I correct on this? Maybe there is more meaning to them at a higher level
It's a duplicate question. You can find discussion at What is the difference between HTML tags <div> and <span>?
It is really well explained there and you will get awesome information related both HTML tags.