Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Can someone explain the <span> element for me? This is the 1st time I've noticed it. Curious about it's use when coding.

Interested about the use of the <span> element and what it is used for. Would like to know for future coding projects. New to coding.

1 Answer

Jamie Reardon
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jamie Reardon
Treehouse Project Reviewer

The span element is an inline element which can be used similar to a div which is a generic block level element that can be used to contain or nest other elements inside of it. Typical use case scenario of a span element is to pick out individual words from text to style differently.