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 trialNicholas Akright
2,039 PointsYou used the <p> element to include a caption for images. Why not use <figcaption> in conjunction with <figure>?
Is the <figure> element not supported by most browsers yet or does using it pose some problem?
2 Answers
mikes02
Courses Plus Student 16,968 PointsSemantically speaking using figure along with figcaption would likely be the best course of action moving forward, for more information on its use I highly recommend this detailed article: http://html5doctor.com/the-figure-figcaption-elements/
Benjamin Hedgepeth
5,672 PointsThis is the way I see it. "figure" is used for visual or auditory content that is significant to the content found on the page. An example would be an image or diagram that is used to supplement a concept in a school textbook to better understand it.
In the context of our web page, are the images essential to the point where a description is needed to explain what was done to each image? On the Portfolio page I would like to believe so.
Here's an article I found: http://blog.digitaltutors.com/whats-difference-image-figure-tags-html5/
Nicholas Akright
2,039 PointsNicholas Akright
2,039 PointsThank you for the information.