Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Coding HTML tables

From: Effective HTML Email and Newsletters

Video: Coding HTML tables

In this video, we'll code the multicolumn product email. Typically, this design is used to advertise multiple products. Here's the email in JPEG format that we will code. As we did with earlier videos, let's convert this designed to a grid and call out the design elements: the logo, the header, the content area, the side column, and the footer. The way we do that is to focus our eyes about two inches off the computer screen and begin to see this design as a series of boxes and blocks and then we add a grid.

Coding HTML tables

In this video, we'll code the multicolumn product email. Typically, this design is used to advertise multiple products. Here's the email in JPEG format that we will code. As we did with earlier videos, let's convert this designed to a grid and call out the design elements: the logo, the header, the content area, the side column, and the footer. The way we do that is to focus our eyes about two inches off the computer screen and begin to see this design as a series of boxes and blocks and then we add a grid.

We have a larger email, which is the background color, which is our main box. Within that, we have a box for the email itself that contains all the elements of the email. Then we have a box for the header, the navigation links, for the special message area, and then for the products themselves as a table, and we have a box at the bottom for the footer. Let's see how this looks in code. To start with, we have the pseudo body table which acts like the HTML body tag, and we have within it the wrapper table that will contain HTML email.

These two boxes, the pseudo body table corresponds to the light blue background around the HTML design, and the wrapper table corresponds to the large table that contains the HTML email itself. Within the table that contains the email, we have a header and we have a navigation row. We have the navigation links here, and we have the header image already in place here.

In the next row, we have headline copy. This corresponds to this Special Occasion Bouquets and Baskets area of the email. After that, we need a table to hold each of the products. So we have set up a 3x2 product table. It has three columns and two rows. As you can see, it's very, very straightforward. In the planning stage, we set up our design, we measured out each of these products' cells, and we determined that they are 130 pixels wide and 165 pixels high. And within each, for now we've added 'Product here' as copy, so that we can see what this looks like.

At the bottom of this product table, we have another Special offer copy. Here, its mention code for 50% off delivery, and then the last row in our table is for the footer, and that also is very simple. It's a single-table data cell with an image. And then finally at the bottom, we have the company address. Finally, I have opened this HTML email in Firefox to show how all the different HTML tables go together to create our HTML multiproduct email.

Now that we've coded the layout of our multicolumn product email, in the next video, we'll add content.

Show transcript

This video is part of

Image for Effective HTML Email and Newsletters
Effective HTML Email and Newsletters

55 video lessons · 22240 viewers

Tim Slavin
Author

 
Expand all | Collapse all
  1. 2m 25s
    1. Welcome
      1m 1s
    2. Using the exercise files
      1m 24s
  2. 13m 12s
    1. Understanding differences between HTML email and web pages
      1m 21s
    2. Seeing how HTML email displays in different email programs
      3m 27s
    3. Finding Acid tests and compatibility checklists
      2m 35s
    4. Understanding MIME types: HTML vs plain text
      4m 3s
    5. Exploring the future of HTML email
      1m 46s
  3. 15m 12s
    1. Defining spam
      2m 6s
    2. Examining legal issues with permission-based email
      1m 33s
    3. Planning email campaigns
      1m 36s
    4. Creating content for email campaigns
      2m 34s
    5. Understanding design constraints of HTML email
      1m 53s
    6. Designing effective HTML email
      2m 5s
    7. Building email address lists
      3m 25s
  4. 7m 28s
    1. Choosing tools for coding HTML email
      1m 27s
    2. Coding email versus coding web pages
      1m 14s
    3. Preventing problems with email coding
      2m 49s
    4. Understanding the ideal coding process
      1m 58s
  5. 17m 27s
    1. Planning
      1m 8s
    2. Coding HTML tables
      4m 38s
    3. Adding content
      4m 49s
    4. Adding inline CSS
      6m 52s
  6. 10m 44s
    1. Planning
      43s
    2. Coding HTML tables
      2m 41s
    3. Adding content
      3m 39s
    4. Adding inline CSS
      3m 41s
  7. 13m 13s
    1. Planning
      1m 13s
    2. Coding HTML tables
      3m 4s
    3. Adding content
      2m 37s
    4. Adding images
      1m 9s
    5. Adding inline CSS
      5m 10s
  8. 7m 32s
    1. Designing a plain text email
      4m 49s
    2. Designing a plain text email from an HTML email
      2m 43s
  9. 20m 45s
    1. Automating HTML email creation
      2m 5s
    2. Automating HTML email by category
      1m 6s
    3. Automating HTML email with WordPress
      5m 32s
    4. Automating HTML email with ExpressionEngine
      4m 27s
    5. Automating HTML email with FeedBurner from an RSS feed
      4m 27s
    6. Automating HTML email with FeedBlitz from an RSS feed
      3m 8s
  10. 6m 42s
    1. Deciding when and how to test email
      3m 18s
    2. Using testing services
      3m 24s
  11. 13m 56s
    1. Outsourcing your email campaign
      56s
    2. Sending email with MailChimp
      2m 40s
    3. Sending email with Campaign Monitor
      1m 51s
    4. Sending email with Constant Contact
      2m 20s
    5. Sending email with iContact
      2m 9s
    6. Sending email with VerticalResponse
      1m 52s
    7. Sending email with canned templates
      2m 8s
  12. 14m 34s
    1. Solving layout and spacing problems
      2m 50s
    2. Solving image problems
      3m 12s
    3. Solving Gmail display problems
      2m 19s
    4. Solving Lotus Notes display problems
      1m 55s
    5. Solving Outlook 2007/2010 display problems
      2m 40s
    6. Adding video to email
      1m 38s
  13. 1m 36s
    1. Next steps
      1m 36s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Effective HTML Email and Newsletters.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.