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 email

The HTML Email Design course (https://teamtreehouse.com/library/html-email-design) by Fabio Carneiro is an excellent one, but I have a few questions concerning three of his recommendations.

When I run my code through the W3C markup validator (https://validator.w3.org/#validate_by_input), I get the following errors: 1) element "center" undefined 2) there is no attribute "height" 3) there is no attribute "width"

Every error references the "strict" document type; the conflict appears to be a result of the above elements/attributes not being supported by the strict doctype. This suggests to me that I should simply eliminate these elements and attributes. However, I'm wondering if there was a reason for Fabio's recommendations. For example, there might be OTHER cases where the center element SHOULD be used.

If anyone has any information on this, please let me know

(side note: the error that references the "height" attribute was on a table element, while the one referencing the "width" attribute was on a table data (td) element. In fact, I am able to successfully implement the "width" attribute when it is attached to a table element. This may have been a mistake of my own, but I'd still like to know if anyone knows any specifics)

Thanks!