search engine optimization articles do it yourself seo hiring search engine experts html and search engine optimization web site analysis and submission service

HTML Help: Cellpadding vs. Cellspacing

I'm working with tables for the first time and I need to know what the difference is between cellpadding and cellspacing. Help?
Cellpadding is the amount of space between the outer edges of the table cell and the content of the cell. Cellspacing is the amount of space in between the individual table cells.

See the image below for a visual representation:

cellpadding vs cellspacing visual

It's not always apparent to folks just beginning to work with tables which to use, cellpadding or cellspacing. Often it doesn't matter, but as you gain experience working with tables you'll begin to see places where it's better to use one or the other, and where it's best to use both.

Members can log in to view a 5-part tables tutorial. There's also a free software program in the member's Freebies section that will generate table code for you. Its' basic, but it's handy for data tables and beginners, and like I said, it's free!

This concludes the

HTML Help about the Difference Between Cellpadding and Cellspacing

. Based on your interest in this FAQ you may also be interested in: Basic Tables Tutorial (not the same as the comprehensive tutorial in the member's site) | Table Tags Reference Chart | HTML Table TD Tutorial | HTML Table TR Tutorial | HTML Table TH Tutorial | HTML Table Caption Tutorial | HTML Col Tag Tutorial | HTML Colgroup Tutorial | HTML Thead Tutorial | HTML Tfoot Tutorial | HTML Tbody Tutorial.
Back | HTML FAQ | HTML Tag Chart | HTML Index | Web Design Tutorials
search engine optimization course
If you want your web site to rank high in the search engines . . . what are you going to do to get it there? Check out my search engine optmization guide, SEO for YOU: Search Engine Optimization for Ordinary Everyday People!

Check out SEO for YOU now!

Almost a Newsletter

Subscribe today for exclusive website design tutorials and grab some free gifts to boot! Learn more, or subcribe below:

First Name:

Privacy Policy

Did you know...

The member's site has about 100 standards compliant HTML and CSS tutorials, 31 handy reference charts, reprintable content, web graphics, exclusive fonts, free software, free ebooks and more? All this for less than 9 cents a day! [ Details ]
See my fancy bottom! :)