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 trialRonald Paek
1,444 Pointsstrong tag usage question
Is it schematically correct to use strong tags around name, phone number, address words? Would a span tag be a better option and use css to style the elements?
1 Answer
Indiya Gooch
12,075 PointsIn HTML, browsers will display <strong> tags the same way as <b> tags, and <em> the same as <i> however these tags having different meanings. <b> and <i> represent bold and italic text respectively, whilst <strong> and <em> imply the text is important. Search Engines can use this to help them understand webpages so if you're building a site with SEO (Search Engine Optimisation) in mind, then be careful how you use these tags because they may look the same but their meanings are different.
<strong> I am BOLD but important(strong tags)</strong>
<b>I am BOLD (b tags)</b>
<i>I am ITALIC (i tags) </i>
<em>I am ITALIC but important(em tags)</em>