Building a Semantic HTML Table Inside Webflow: A Step-by-Step Guide

Published on
August 29, 2023

Building a Semantic HTML Table Inside Webflow

In this tutorial, we will learn how to build a semantic HTML table inside Webflow. The end result will be a beautiful pricing table that is fully accessible and optimized for SEO. We will use the fin Suite Table app in Webflow to easily generate the table structure and then style it to create a visually appealing pricing table.

Getting Started

To begin, open the apps panel in Webflow and launch the fin Suite Table app. This app allows us to easily create an HTML table by specifying the number of rows and columns, and importing data from other sources if needed.

  1. Launch the Fin Suite Table App: Select the fin Suite Table app from the apps panel in Webflow.

  2. Specify Table Size: Choose the number of rows and columns for the table. You can also import data from other sources.

  3. Customize Element Settings: Adjust element settings such as adding a footer, removing the header, and generating classes for each table element.

Once the table structure is created, we can proceed with styling and populating the table with content.

Populating and Styling the Table

Populating the Table with Data

  1. Importing Data: Once the table structure is set, we can import data from other sources such as a spreadsheet.
  • Go to Google Sheets, select the data, copy it, and paste it into the table.
  1. Inserting the Table: After populating the table with data, insert it onto the Webflow canvas by selecting an element (e.g., a container) and clicking the insert table button.

Styling the Table

Structure Overview

In the Navigator, we can check the structure of the table and its classes. The table consists of the following elements:

  • Table component
  • Table head
  • Table body
  • Table rows
  • Table cells
  • Table headers

Setting Width and Typography

  1. Adjusting Width: Select the table component and change the width to 100 to ensure it spans the entire width of the container.

  2. Typography Settings: Align the text to the center for the entire table by applying typography settings to the parent table component.

Customizing Individual Cells and Rows

  • Cell Padding: Select individual cells and add padding to them. Customize padding for individual cells or apply it to all using the shift + enter command for consistent styling.

  • Customizing Rows: Apply borders or other styles to entire rows as desired.

Enhancing the Header

To enhance the header, we can add icons and customize the layout.

  1. Adding Icon: Within the header, replace the text with a div block and add the necessary class for styling.

  2. Customizing the Div Block: Change the display to flex, align items vertically and center, add a gap, and then add an image (icon) and a text block for the plans.

  3. Replicating the Structure: Replicate the structure for other headers, updating the text and icons accordingly.

Adding Prices and Icons

  • Adjusting Prices: Add dollar signs to the prices and style them using a combo class for consistent formatting.

  • Adding Icons: Replace the text with icons to visually represent different features or options. Replicate the icons across the cells.

Adding Call-to-Action Buttons

To enable users to subscribe to the plans, add a new row with custom elements such as call-to-action buttons.

  • Duplicating and Customizing Rows: Duplicate an existing row and remove the text content from the cells. Replace the text with call-to-action buttons.

  • Applying Styles: Add styles to the buttons, such as padding, colors, and hover effects.

Responsive Design Consideration

Ensure that the table is responsive across various devices by setting appropriate widths and considering overflow options for tablet and mobile devices.

  • Responsive Styling: Apply styles to the table for all responsive levels to ensure a consistent display across different screen sizes.

  • Overflow Settings: Set the table to have a width and enable overflow scroll for tablets and mobile devices, allowing users to swipe and view the full table content.

Final Touches and Publishing

To complete the pricing table, add any additional styling, such as a wrapper with padding and borders, and then publish the table.

  • Adding Wrapper: Create a div block to wrap the table component, add padding, and set borders to enhance the visual presentation.

  • Publishing: Once all the styling and content placement are complete, publish the pricing table to make it accessible on the web.

Conclusion

In conclusion, building a semantic HTML table inside Webflow is a straightforward process that allows for the creation of visually appealing and accessible tables. By using the fin Suite Table app, users can easily generate the table structure, populate it with data, and then style it to create an engaging pricing table. The resulting table is fully semantic in HTML and optimized for search engines.

Now that you've learned how to build a semantic HTML table inside Webflow, you can create visually engaging and accessible tables for various purposes. By leveraging the Fin Suite Table app and applying styling techniques within Webflow, you can enhance the presentation of your data and make it more engaging for your website visitors. Happy table making in Webflow!