9 Tips for Creating Beautiful Website Tables

June 11, 2021
0 minute read

Tables have been around a long time — probably as long as humanity has displayed data graphically. Tables are also an essential element of modern web design. They can be used for innumerable purposes from showing off pricing options to displaying nutrition facts and organizing schedules or any other kind of data. When building a website, this is a design element you'll likely want to include.

There are many ways to create a website table. Here are 9 tips that will help you understand your options and build tables that are beautiful and easy to read.


1. USE HTML


Almost everything on the web starts with HTML code, including tables. You can use the basic table commands in HTML to display a basic table.

W3 Schools explains:

  • Use <table> tag to start an HTML table and </table> to end the table.
  • Each table row is defined with a <tr> tag.
  • Each table header is defined with a <th> tag.
  • Each table data/cell is defined with a <td> tag.
  • The text in table headers is by default bold and centered.
  • Table rows are regular and left-aligned by default.

Somewhat obviously, creating tables with basic HTML is fairly simple. However, the design is also quite rudimentary, and you’ll need to do a bit more work to create something that looks great for site visitors.

2. ADD BASIC STYLING WITH HTML

You can add borders, fonts, colors, and background colors with HTML code to create an easy-to-read table with alternating background colors for the lines of data.

Here’s an example from W3Schools that includes this styling (with the styling commands appearing first, and the content in the next group of HTML):




3. Add CSS Code


To further improve the styling and make your table responsive, many web designers use HTML code for the table content and add CSS code for a more polished, beautiful look.

Smashing Magazine points out that adding some CSS code, particularly a max-width command, works well for basic responsive tables like the one above. This is what the CSS code would look like if you were to add it to the HTML (HTML not included in the below code).


 

main {

  display: flex;

  justify-content: center;

}


table {

  max-width: 100%;

}


tr:nth-child(odd) {

  background-color: #eee;

}


th {

  background-color: #555;

  color: #fff;

}


th,

td {

  text-align: left;

  padding: 0.5em 1em;

4. USE HTML LIST + CSS3


Another way to make a table with beautiful styling that displays simple data (e.g., a pricing table) is to use the HTML list code instead of the table code. From there, add CSS styling, including the max-width command, along with media queries for other screen sizes, plus the container and grid commands in place of the HTML table command.

Here’s an example from codepen.io by Mike Torosian, which shows the HTML code followed by the CSS3 code.

5. USE ICONS IN HTML

You can add icons or images to a chart in HTML using just two lines of code. First, add the <link> element that contains your iconography.

Then, add the icons. It's common to represent iconography using the <i> element, like in this example from W3 Schools.

6. ADD STANDOUT COLORS


You can use bold colors to make your table stand out. One way to do that is to use the wrapper and list commands in HTML coupled with styling commands in CSS. 


To get an idea of what this can look like, check out the below gym pricing table example from codepen.io by Maverick.

7. USE TABLE TEMPLATES


Website tables are popular, and because of this, there are lots of templates on the web, including the fitness and pricing tables above. Search for a table similar to what you need, copy the code, and then add your content in place of the example content for a quick way to create something that looks great.

8. USE THE DUDA TABLE WIDGET

The simplest way to make beautiful tables is to use pre-existing templates or widgets in a website builder platform like Duda. 

Duda’s table widget allows you to add content by copying and pasting an existing table, using the editor, or uploading a CSV. Then you style the table, using the design widget. Some options include customizing the table border, title bar, first column, background color, and text style.

Then you select how you want the table to appear on a mobile device. 

This method is faster than coding provides various options for creating beautiful tables, fast.

To see what a website table can look like when using the Duda table widget, check out the examples below:



9. USE SECTIONS IN DUDA


Duda offers many prebuilt Sections, including for pricing tables, calendars and numerous other types of tables. Using Sections is a very fast way to design a website in Duda. And using this unique tool, you can quickly choose from numerous prebuilt tables and pull them into your design. Check out this tutorial on Sections to learn more.

WHEN TO USE A WEBSITE TABLE


Of course, knowing when to display information in a table is another matter. There are many different reasons as to why you would consider using the above methods to implement a table when building your website and you may even look for widgets and templates with tables in them straight off the bat. However, don’t just use a table for a table’s sake, consider the information you have and why a table is the best way to display it.

The beauty of them is that they can showcase content clearly and in a manner in which you can skim quite easily. They are especially useful for mobile website design, with users typically scanning through content a lot more frequently. But at the same time if you can sum-up what a table says in a sentence, then it’s probably not worth adding one in. 

Among the most common reasons for implementing tables into your website include:

  • Price Plans
  • Making comparisons (see Duda vs Squarespace for a good example)
  • Pros & Cons
  • Organizing Data
  • Creating rankings

There are few other major reasons as to why you would use a table, with the likes of bullet points, pop outs and other website features offering better alternatives. A good method to see whether a table is necessary and whether your audience would interact and engage with it is by looking at what high-ranking pages are doing.

This will allow you to understand what Google is looking for on the page you’re creating. If a table is a regular feature in the top ranking pages for a particular keyword you are targeting, then it makes complete sense to think about implementing one yourself.

If that’s not the case, think about what a table may add, and whether you really need one to display the information you wish to.

PUTTING IT INTO PLAY

However you go about creating website tables, you’ll surely continue to use them in your designs. Try out the various methods presented above for creating beautiful tables to see which ones save you the most time and produce the best results.

Related Posts


A purple sign that says https://shop on it
By Renana Dar April 15, 2025
In this blog, we uncover the unknown world of subdomains, explaining what a subdomain is and how it works, the benefits of using a subdomain, common use cases for subdomains, the difference between a subdomain and a subdirectory, how subdomains impact SEO (with insights from Google’s John Mueller) and step-by-step instructions to add a subdomain to your Duda website.
A screenshot of a website showing a dashboard and new arrivals.
By Shawn Davis April 3, 2025
Build websites instantly with Duda's Instant Sites! Learn how to leverage the API, Connected Data, and Templates for scalable website creation and simplified data management.
By Shawn Davis March 27, 2025
If you work with patient information in the United States, you’re likely very, very familiar with HIPAA. What you might not be so confident about, though, is how it impacts your website. Thankfully, it’s not as scary as it seems.
Show More

Did you find this article interesting?


Thanks for the feedback!
A screenshot of a plumber's website with a
By Renana Dar May 5, 2025
Many SMBs still hesitate to embrace eCommerce. As the agency partner, you have the opportunity to tear down the perceived walls of eCommerce and show clients how eCommerce can make their business more efficient, accessible, and profitable. Read all about it!
A computer screen with a graph on it and a purple background.
By Santi Clarke April 24, 2025
Learn how platform ecosystems drive revenue and why they are essential for the growth of SaaS businesses.
By Santi Clarke April 24, 2025
One of the greatest challenges for SaaS platforms is keeping users engaged long-term. The term “stickiness” refers to a product's ability to retain users and make them want to return. In the context of SaaS platforms, creating a sticky product means that users consistently find value, experience seamless interactions, and continue using the product over time. The following are 7 practical strategies you can take to improve the stickiness of your SaaS solution. 1. Offer websites that help customers build their digital presence One of the most effective ways to make your SaaS platform sticky is by offering websites to your users. Many businesses today need an online presence, and by providing a platform where your customers can easily build and manage their websites, you increase their reliance on your product. When you offer users a website-building solution, you’re helping them create something foundational to their business. Websites, in this case, aren’t just a tool—they become a part of their identity and brand. This deepens their engagement with your platform, as they need your product to maintain and update their site, ultimately making them less likely to churn. Plus, websites naturally encourage frequent updates, content creation, and customer interactions, which means your users will return to your platform regularly. When you can give your users the tools to create something so essential to their business, you make them more dependent on your platform. This creates a higher barrier to exit, as migrating a fully built website to another service is no small task. In fact, websites are some of the stickiest products you can sell, so adding them to your product portfolio can be one of the best decisions you can to keep your customers using your technology for the long haul. 2. Deliver continuous value through product innovation The key to keeping users coming back to your SaaS platform is ensuring that they consistently see value in it. This means not only meeting their immediate needs but also evolving to address their growing demands. Constant product innovation is essential for keeping your users satisfied and invested in your platform. One way to achieve this is through regular updates that add new features or improvements based on user feedback. A SaaS platform that evolves with its users will keep them engaged longer, making it harder for competitors to steal their attention. Encourage user feedback and prioritize updates that create tangible improvements. This creates an ongoing relationship with your users, which boosts stickiness. 3. Offer a multi-product solution Another powerful way to increase your platform’s stickiness is by offering a suite of products or features that integrate well together. When your users adopt multiple products, they are more likely to stay because they become embedded in your ecosystem. The benefits of this strategy are clear. Research shows that once users adopt more than one product, especially when they integrate >4 tools into their workflow, their likelihood of churn decreases significantly. This happens because the more a user integrates into your suite of products, the harder it is for them to switch to a competitor. These users have invested time in learning your ecosystem and rely on it for their day-to-day operations, making it much harder for them to make the switch. 4. Create a personal connection with your users Human connection is one of the most powerful drivers of user retention. People don’t want to feel like they’re using a cold, faceless platform. By offering exceptional customer support, personalized communication, and community engagement, you build a relationship with your users that goes beyond the product itself. Make sure your support team is responsive, knowledgeable, and empathetic. You can also consider offering tailored onboarding experiences to ensure users understand how to make the most of your platform. When users feel like their success matters to you, they are more likely to remain loyal. 5. Leverage data to personalize the user experience Using data to drive personalization is another strategy that can significantly increase the stickiness of your platform. By tracking user behavior and usage patterns, you can tailor the experience to each individual user’s needs. This could mean recommending features they haven’t yet explored or sending them reminders about tools they may not be fully utilizing. Personalization gives users the feeling that the platform was designed specifically for them, making it harder to walk away from. By demonstrating that you understand their unique needs, you can build a stronger connection and ultimately increase retention rates. 6. Focus on seamless integrations and API capabilities To further increase stickiness, consider expanding your product’s ability to integrate with other tools your users already rely on. Whether it’s email marketing software, CRM systems, or social media management tools, seamless integrations add tremendous value by making it easier for users to incorporate your platform into their existing workflows. The more your product can work in tandem with other popular tools, the more indispensable it becomes. In fact, users who depend on integrations are less likely to churn since their entire ecosystem is tied to your platform’s functionality. 7. Encourage user advocacy and community building User advocacy is another powerful tool in building a sticky product. When users feel a sense of community or even ownership over the platform, they become your most passionate promoters. Encourage your users to share their success stories, join community forums, or contribute to product development through beta testing or feedback loops. A thriving user community not only increases user engagement but also creates a sense of loyalty. When users are part of something larger than themselves, they are more likely to remain committed to your platform, reducing churn and increasing lifetime value. Create deep, lasting customer relationships Making your SaaS platform sticky is all about creating a deep, lasting connection with your users. This requires building a platform that continuously delivers value, creating a seamless and personalized experience, and integrating features that keep users coming back. By focusing on product innovation, offering a multi-product ecosystem, and fostering strong user relationships, you’ll be well on your way to reducing churn and boosting user retention. Stickiness isn’t just a nice-to-have; it’s essential for long-term success. Focus on creating a platform that users can’t imagine living without, and you’ll see them stick around for the long haul.
Show More

Latest posts