<Span> tag question

Is using the <span> Tag better to format text with inline CSS than using <H1>, <H2>, <P> etc. ?

I read some people say that using the span tag is better than using the other tags. What are the pro's and cons?

BThies BThies, 7 years ago

I personally use <div>'s for everything as they're universally supported and don't require specifying padding/margins.

I only use <span>'s within <div>'s if a different color/font-size/font-family/line-height is needed other than what the <div> originally had.

Brian Thies
Professional Email Developer
Thies Publishing

Join 150,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free