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

Design HTML Email Design Coding HTML Email Coding with Limited HTML

GoldSpec Digital
GoldSpec Digital
4,185 Points

Deprecated html <center> tag (2018)


So this was previously asked in 2016, just want to check if it still applies? MDN says <center> has been deprecated HTML4 and XHTML1 - does this apply to emails?

I know emails are way behind, but I just want to make sure :)

1 Answer

I don't know if it still applies, however you can just create a <table> and align it to the center.

E.g. <table style="align: center;">


E.g. <table align="center">

I know this was asked long ago, but this is for others who may have this question.