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

HTML HTML Basics Images, Text and Links Add Meaning to Words with Text Level Elements

Stamos Bolovinos
Stamos Bolovinos
4,320 Points

<address> element question

On MDN the <address> element also holds the email address and website.

Why did the teacher place the email and phone fields outside the <address> element?

2 Answers

I think the teacher was just trying to show us when to use the <br> element in the video. Not the contents of the <address> element. And for the email and phone being placed outside the address, he was just trying to show how the element <strong> can be used to markup text. That's just my thought.

Andrei Li
Andrei Li
34,486 Points

I am pretty sure that you can include email and website and <address> tag.