Starkers
Starkers

Reputation: 10551

Use a table to create a calendar

So what is the deal with tables? Are they bad for SEO or is that just a myth? I'm creating a calendar for a company to advertise their fund-raising events. As a result, the contents of the calender need to be SEO friendly.

Is there anything wrong with using a table? Google Calendar uses a table, however, those a calendars are private and SEO doesn't enter it.

This calendar is on the front page of a website. It's a big deal. Are tables okay? Or should I try and create one with html?

I'm on bootstrap...is there an existing plugin that works well with it?

Upvotes: 0

Views: 1546

Answers (2)

dsamardjiev
dsamardjiev

Reputation: 400

I don't believe tables are bad for SEO, I don't think a specific code language or element could be bad for SEO. I would say give it a shot in divs first, as that would be the better way to do it.

This link might help you decide!

Upvotes: 0

Mister Epic
Mister Epic

Reputation: 16733

Tables are absolutely fine... so long as they are used for tabular data, not for effecting a layout!

They are great for SEO, especially if you take care to markup them up with all the semantic goodness available to you:

<table summary="Interest Rates">
  <caption>Interest Rates</caption>
  <thead>
    <tr>
      <th>Account Type</th>
      <th>Interest Rate</th>
    </tr>
  </thead>
  <tfoot>
    <tr>
      <td>Recommended for you: 'Young Saver'</td>
      <td>Interest from: 1.6%</td>
    </tr>
  </tfoot>
  <tbody>
    <tr>
      <td>Smart</td>
      <td>From 2%</td>
    </tr>
    <tr>
      <td>Young Saver</td>
      <td>From 1.6%</td>
    </tr>
  </tbody>
</table>

ref: http://reference.sitepoint.com/html/tfoot

Note we provide a caption to summarize the table, we demarcate the various areas with a table header, table body and table footer, and we also markup out table header cells with th, not with td for normal data cells.

Upvotes: 1

Related Questions