Forget responsive web design. Just use HTML tables

Well then…

My message, yesterday, sparked this doozy from PJ:

“If you just stuck to tables this entire time, imagine the years of frustration you could have avoided by ignoring floated divs, Bootstrap, flexbox and now CSS Grid! These ‘new’ methods add no additional benefit to the client or user, and the syntax is not any better either! I use floated divs and flexbox only because I was gullible enough to drink the koolaid. But if I had used tables all this time, really nobody would have noticed, and I would have been more productive.”

Bahahahahaha!

Wait. No. Don’t do it. Straight face. Be nice.

Okay… so…

Let me tell you why this is horribly wrong.

He’s talking about using tables for layouts.

Yes… sigh… this used to be a thing. Back in 2009, Smashing Magazine wrote an article about this and in it they referenced this thing called MAMA.

Metadata Analysis and Mining Application.

Say that three times fast.

Anyhow, this was a structural search engine that returned the details of a pages HTML structure. The table element was found on over 80% of the pages crawled.

Table, td and tr were all on the top 10 tags.

We did this.

I did this.

(Hangs head in shame.)

Then, divs came along.

Then, HTML5.

And, it was all a progression toward semantic markup.

And, PJ has a small, if very narrow-minded, point that the average site visitor probably doesn’t care about most of this… until they do.

The point of semantic mark up is adding meaning.

And, primarily that meaning is for machines…

But, it’s for the benefit of users.

Let’s take the nav tag.

You use it to define navigational elements.

Why is it any better than <div id=”nav”> or putting a <ul> inside of a table cell? Because, when we use nav, we are telegraphing that this is indeed a navigational element.

And, a screen reader can safely skip this element.

If you’re not blind, who cares?

But, if you are… not having to listen to: “Home, about, contact” in robot voice is quite nice. Especially, on those mega menus with dozens of different list items.

That’s real-world value to real people.

You may not care, but they sure do.

And, that’s just one example.

Search engines use semantic markup to better understand what a web page is about. So, if SEO and, ya know, getting website traffic matters to you…

Not to mention…

All the different ways machines will use this in the future.

Semantic markup helps create a better, more useful and accessible internet, helps search engines better understand your website…

And, future-proofs your code…

For when the machines take over.

Maybe, they’ll appreciate your semantic markup…

And, not kill you… right away.

Anyway, table-based layouts was always a hack.

A horrible, horrible hack.

So, PJ.

My man.

That you think what’s happened over the last decade or so is all about responsive design and we could’ve skipped it all by just “sticking to tables”…

Because it has “no additional benefit to the client”…

Just shows that you don’t really understand it. Not that the rest of us are crazy for embracing it. But, hey, do your table thing, my dude.

You can build ’em how you want.

That said, if you want to learn more about all of this and how to do it properly, when to use certain tags, when not to… all of it…

It’s inside my new Beginner’s Guide to HTML course.

I break it all down Barney-style.

And, help you master…

“Dis herr new-fangled aH eM eeeL Tees.”

The link to get started for nada on SkillShare is right hrr: https://skl.sh/2Lqhh1v

Later,

John

Do you want more freelance clients?

I’ll show you what I learned over the last 15 years to grind out (from absolute scratch) a backlog of new clients wanting to hire you. Who your best client prospect are, what services you should be offering them, where to find them and more. Just enter your email address in the box below and let’s get started:

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on reddit
Reddit
Share on pinterest
Pinterest
John Morris

JOHN MORRIS

I’m a 15-year veteran of freelance web development. I’ve worked with bestselling authors and average Joe’s next door. These days, I focus on helping other freelancers build their freelance business and their lifestyles.

You might also like

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Do you want more freelance clients?

Enter your email below to get started building your system for consistently bringing in new freelance clients:

WHAT OTHERS ARE SAYING

Lewis Howes

John is amazing at building membership sites. He converted one of my sites over from it’s existing (hardly working) platform over to the clean and simple to use WishList membership platform. I highly recommend using John and WishList for any of your membership site needs.

Sukh Plaha

John is a fantastic and patient tutor, who is not just able to share knowledge and communicate it very effectively – but able to support one in applying it. However, I believe that John has a very rare ability to go further than just imparting knowledge and showing one how to apply it. He is able to innately provoke one’s curiosity when explaining and demonstrating concepts, to the extent that one can explore and unravel their own learning journey. Thanks very much John!

Bob Patterson

Not only is John a very talented programmer and developer, he is also an excellent communicator. He has a talent for taking complex subjects and communicating them in terms that anyone can understand. This is a rare combination. This ability has enabled me to take my skills and knowledge to the next level. Thank you John for for all that you do.

Daniel Mohlendick

On the Freelancing on Upwork course: “This is by far the best course i have watched on Skillshare!! Thank you so much.”

Thabo Motsoahae

John is one of the best instructors I have come across, I learned a lot from his online tutorials.

Ray Edwards

I recommend John every chance I get. If every person I worked with were as committed to excellence, punctuality, value, and unquestionable integrity… the world would be a better place. Highest recommendation.

Close Menu