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

Oliver Williams
6,278 PointsWhat tag for text that isn't a paragraph or a title
If I have a short bit of text that isn't a title so shouldn't be a h1-h6 and isn't a paragraph, what HTML tag should it use?
3 Answers

Adam Ryde
5,222 Points<span></span>
Give that a try

Oliver Williams
6,278 PointsThanks. Seeing as span is semantically meaningless, if I want the text to be block level, should I just stick the text inside a div element instead?

Adam Ryde
5,222 PointsIn fairness mate I am relatively new to html and css myself so I may not be the best person to ask. But I would use a div to separate certain parts of code. So if your span element is something completely different to what ever other blocks of code you have use a div and give it an id or class thats relevent to what it is. Sorry if thats not much help buddy.