Web Design Stuff
HTML Tutorials    CSS Tutorials    Web Hosting   Resources
Create a Web Page 101
Making Web Pages Intro What is a Web Page? Why Make a Web Page? The History of HTML Learn HTML or XHTML?
Basic HTML
Basic HTML Tutorials Basic HTML Necessities How to Make a Web Page How to Edit a Web Page The Basics of HTML Tags Basic HTML Page Structure HTML Attributes
HTML Font Codes
HTML Font Codes Intro HTML Font Color Codes HTML Font Size Codes HTML Font Style Codes HTML Bold/Italic Codes Combining Font Codes
Formatting Text
Formatting Text Intro Making Paragraphs Miscellaneous Formatting Headings & Subheadings Creating Hyperlinks
Using Graphics
Using Graphics on the Web Add Graphics to Your Pages Graphics and Accessibility How to Align Graphics Page Color & Background Graphics as Hyperlinks Horizontal Rules
Creating Tables
HTML Tables Tutorials HTML Table Fundamentals Background & Border Color Table Frames & Rules Table Width and Alignment Cells 1 -Space & Alignment Cells 2 -Row Column Span Cells 3 -Width & Height
Making Lists
HTML Lists Tutorials Bulleted Lists Numbered Lists Definition Lists
HTML Frames
HTML Frames Tutorials Using Frames for Layout Advanced Frame Layouts Putting Hyperlinks in Frames Frame Border Width Color, Margin and Control Problems with Frames SmartFrames: A Solution SSI: An Alternative to Frames
Web Page Forms
Making Feedback Forms A Simple Feedback Form Installing NMS FormMail Debugging Your Setup My Web Host is Out to Lunch User Input Components Text Fields Checkboxes & Radio Buttons Dropdown Menus Push Buttons Layout and Presentation
Basic CSS
Basic CSS Tutorials What is CSS? Why You Should Use CSS How to Use CSS Inline Styles Embedded Style Sheets External Style Sheets Class Selectors ID Selectors Combining Selectors
CSS Properties
CSS Properties Intro Font Styles Width, Height & Spacing Borders Backgrounds Position Float & Alignment Hyperlinks
All About Web Hosting
Hosting Your Own Website What is a Web Host? Your Website's Home Page Building a Website Offline About Free Web Hosting Best Free Web Hosting Commercial Web Hosting How to Get a Domain Name Ecommerce Web Hosting Web Hosting Terminology
Free Web Design Tools
Best Free Website Tools Best Free Text Editors Best Free Graphics Editors Free Website Analysis Tools
Setting Up HTML Kit
HTML Kit Introduction How to install HTML Kit Screenshot Breakdown Basic Configuration Overall Appearance Shortcuts and Startup Editing Window Customizing Toolbars Using the Favorites Tab Making a New Actions Bar Odds and Ends
Free Templates
Free Website Templates Two Column Fixed Width Three Column Liquid Layout Miscellaneous Templates Dynamic Menu Effects Two Column Experimental Terms of Use About These Templates
Website Templates Help
Getting Started Template Zip File Download How to Edit Your Template What to Edit in the HTML How to Add Your Logo Making a Website
Web Design Tips
Web Design Basics Tables vs. Tableless Using Tables for Layout Example Table Layouts World's Crappiest Web Page
Twitter Backgrounds
Twitter Backgrounds Intro Cool Twitter Backgrounds Cool Twitter Backgrounds 2 Plain Twitter Backgrounds Dark Twitter Backgrounds Best Twitter Backgrounds Cute Twitter Backgrounds Music Twitter Backgrounds Music Twitter Backgrounds 2 Twitter Backgrounds 101 TERMS OF USE
All About Web Browsers
What is a Web Browser? Mozilla Firefox Internet Explorer Opera How to Set Up Firefox Top 5 Firefox Extensions
 
Contact
Post Some Feedback Send Me An Email Iron Spider Blog About Iron Spider... Site Conventions
 
 
 

 

HTML Tables Tutorials

 

This section of Iron Spider covers all the basics of how to write the HTML code required to create tables on your web pages. Tables are visual containers which display data in a tabular format such as the following:

HTMLHypertext Markup Language
CSSCascading Style Sheets

There are countless uses for this kind of display and hence HTML coding provides a means to produce it.

HTML tables are also frequently used to create web templates although this is frowned upon in the higher echelons of web design geekery for reasons I explain on this page~> Using Tables vs. Tableless Design.

For now and for starters, let's assume you want to create HTML tables for their intended use (show data in tabular format) and get into the specifics about how to go about doing that.

Below is a list of pages which go into great detail about this (but don't worry, I'll keep things easy to understand).

Click on the headings to read each full tutorial...

 

HTML Table Fundamentals


Here we get into the fundamentals of HTML tables which is best demonstrated by using tables as tables (instead of for web design). We'll start with the basic <table> tag code into which must be inserted at least one table row and one table cell.

Cell content...

As you can see in the above example, a decorative border can be set around the table using the border attribute.

Afterward, we create a more complex table with three rows and two columns and show how table cells create the columns...

Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2
Row 3, Cell 1Row 3, Cell 2

MORE...

 

Background and Border Color


This page goes into detail about how to style your tables with colorful 3D borders and how to set the table's background color...

Cell content...Cell content...
Cell content...Cell content...
Cell content...Cell content...

MORE...

 

Table Frames and Rules


You can display only the borders you like in your tables, for example, if you want to create a table that only shows horizontal borders but no vertical, this can be easily done as in the following example...

Cell content...Cell content...
Cell content...Cell content...
Cell content...Cell content...

MORE...

 

Table Width and Alignment


By default, HTML sets the table width just large enough to hold the content but you can explicitly set the width to anything you like. Where the table is aligned on your web page can also be set to your liking, e.g., aligned to either the left, center or right side...

Cell content...


MORE...

 

Cells 1 -Space and Alignment


Tables can be styled to display a certain amount of space between each box in the table (cellspacing). You can also configure how much space to show between the border of a cell and its contents (cellpadding) and how the content is horizontally and vertically aligned in its respective cell...

tablecells1 (3K)

 
Cell content

 
Cellpadding

.....
Cell border

 
Cellspacing


MORE...

 

Cells 2 -Row and Column Span


It's important to be able to force rows to spread out over multiple columns and likewise force one column to 'span' several table rows. This page shows you how to do this...

table-row-col-span

MORE...

 

And finally, if you want to learn how to use tables to (*ahem*) design web pages, please see my page on HTML Table Layouts.





Best Free Stuff
for webmasters

Free Text Editors
Free Graphics Editors
Website Analysis Tools
Free Website Templates

See also:

Best Free Web Hosting

 

If you need a .COM web address, you can get one quick and easy at...

www.GoDaddy.com
HOME TOP NEXT ~>
 
HTML Tutorials |  CSS Tutorials |  Web Hosting |  Domain Names |  Web Design Resources
Iron Spider © Copyright 2004-2011 Robert Darrell