- 51 Stylised CSS Tables
- Lesson 5 — Lists in HTML and a table example
- The skills subpage
- Lists
- Unordered list
- List items
- Ordered list
- Definition list
- Definition Term
- Definition
- Download
- 43 CSS Tables
- Table of Contents:
- Related Articles
- Tables
- Author
- Links
- Made with
- About a code
- Zigzag Table
- Author
- Links
- Made with
- About a code
- Table with Pagination
- Author
- Links
- Made with
- About a code
- Table with Frozen Table Header and Left Column
- Author
- Links
- Made with
- About the code
- Sort Table Rows By Table Headers
- Author
- Links
- Made with
- About the code
- Responsive Tables Using li
- Author
- Links
- Made with
- About the code
- Responsive Table HTML and CSS Only
- Responsive Table With Flexbox
- CSS Responsive Table Layout
- Fixed Table Header
- Responsive Table
- Pure CSS Table Highlight
- Author
- Links
- Made with
- About the code
- Sticky Table Headers by position: sticky;
- Responsive Table
- CSS Responsive Table & Detail View
- Author
- Links
- Made with
- About a code
- CSS Table
- Responsive Table
- Author
51 Stylised CSS Tables
Then check this list of CSS tables, they are responsive too.
You may also like
- 75 CSS Text Animations You Can Use
- 15 Amazing CSS Animated Background for you to try
- 57 Beautiful CSS Cards examples to improve your UI
- 19 Cool CSS Loading Animation to inspire you
- 17 Fancy CSS Search Boxes
- 21 Modern CSS menu examples
- 19 Stylish CSS forms
- 23 Fantastic CSS Hover Effects
- 19 CSS Border Animations you can implement
- 13 Pure CSS Dropdown Menus
- 15 Creative CSS Filter Examples
- 35 Unique CSS Text Effects
- 15 CSS Sliders you can use
- 21 New Bootstrap Login Forms for you
- 19 Bootstrap Profiles you can use for yourself
- 13 Material Design Login Forms
- 35 Cool CSS Select Boxes
- 15 CSS Range Sliders you can use today
- 35 Creative use of CSS clip-path examples
- 29 Unique CSS Toggle Switches
- 41 Beautiful CSS Animation Examples
Pure CSS Responsive Accordion Table
Dev: Anthony Collurafici
See the Pen CSS table by Andrew Lohman (@ajlohman) on CodePen.
Dev: Andrew Lohman
Fixed table header
Dev: Nikhil Krishnan
Simple Responsive Table in CSS
Dev: Matt Smith
See the Pen Data Table by alassetter (@alassetter) on CodePen.
Dev: alassetter
CSS Responsive Table Layout
Dev: Luke Peters
Responsive
See the Pen Responsive by Pablo García (@pablorgarcia) on CodePen.
Dev: Pablo García
Responstable 2.0: a responsive table solution
Dev: Jordy van Raaij
Responsive Table
Dev: Geoff Yuen
Responsive Table
Dev: Iván Villamil
Responsive Table
No Javascript Table with Pagination
Dev: Takane Ichinose
Responsive Table HTML and CSS Only
Dev: Flor Antara
Pure CSS Table Highlight (vertical & horizontal)
Dev: Alexander Erlandsson
Responsive table with flexbox
HTML Table & CSS Table
Dev: Ahmad Awais
MODERN TABLE CSS (FLAT DESIGN)
Dev: Vikas Chauhan
Pure CSS Table Column Hover
Dev: Dave Santos
Fade and Blur on Hover Data Table
Dev: Jack Rugile
Zigzag Table
Dev: Chris Smith
Table with frozen table header and left column
Dev: Estelle Weyl
Sort Table Rows by Table Headers – Ascending and Descending (jQuery)
Dev: Nathan Cockerill
Data Table with Collapsible Table Rows
Dev: Andor Nagy
Responsive & Accessible Data Table
Dev: Charlie Cathcart
CSS only Responsive Tables
Dev: David Bushell
Responsive Tables using LI
Dev: Faiz Ahmed
Sticky Table Headers by position: sticky;
Dev: Wolf Wortmann
Responsive Table with RWD-Table-Patterns
Dev: SitePoint
Responsive Table + Detail View
Dev: Heather Buchel
CSS Grid: Periodic Table
Dev: Olivia Ng
Animated Periodic Table
Dev: Dilum Sanjaya
Responsive Periodic Table with CSS Grids
Dev: Dilum Sanjaya
CSS Periodic Table
Dev: Alma Madsen
The Periodic Table Of Elements
Dev: Brady Sammons
Periodic table
Dev: Kitty Giraudel
Periodic Table of the Elements
Dev: Adrian Roselli
Periodic Table (click an element)
Dev: Loïc Monard
Crisp table
See the Pen Crisp table by charlie hield (@stursby) on CodePen.
Dev: charlie hield
CSS3 pricing table
Pricing table
Dev: Chris Frees
Bootstrap Pricing Table
Dev: Sahar Ali Raza
Pricing Table
See the Pen Pricing Table by Travis Williamson (@travisw) on CodePen.
Dev: Travis Williamson
Pricing Table
See the Pen Pricing Table by Aladin Bensassi (@Eliteware) on CodePen.
Dev: Aladin Bensassi
Flat Pricing table
Dev: Vivek kumar
Flat Pricing table
Dev: Andy Tran
RESPONSIVE PRICING TABLE DESIGN
Dev: Digimad Media
Pricing Table
Dev: Daniel Riemer
Pricing Table
See the Pen Pricing Tables by Joseph Victory (@j-w-v) on CodePen.
Dev: Joseph Victory
Responsive Flip Pricing Table
Dev: Shane Heyns
Adaptive Pricing Table
Pricing table ui
See the Pen pricing table ui by jamal hassonui (@devjamal) on CodePen.
Dev: jamal hassonui
Lesson 5 — Lists in HTML and a table example
In the previous lesson, Tables in HTML, we learned how to use tables. Today, we’re going to add a table to our website and introduce lists. After today’s lesson, you will finally have the required information to be able to use CSS and create custom website designs.
The skills subpage
Create another subpage on your website, this time, save it as skills.html. Add all of the necessary tags (doctype, html, head, body) and add a table to the body. The table will have 2 rows The first row, will have an icon of a programming language we know. Whereas, the second one will include a description of what we are able to do with it. I’ve downloaded the icons used in this lesson from http://www.iconfinder.com. Our subpage should now look something like this:
html> lang="en"> charset="utf-8" /> Skills Skills src="images/html.png" alt="HTML" /> src="images/java.png" alt="Java" /> src="images/pascal.png" alt="Pascal" /> HTML I started out with HTML. I can create simple websites, just like this one. Java I'm currenlty learning Java using ICT.social's courses. I can create simple console and form applications using object-oriented programming. Pascal I was taught Pascal in school, but I prefer the modern languages taught at ICT.social. href="index.html">Back to the home page
We’ll also need to include a link to the subpage in index.html. Done! Now let’s head on over to Lists.
Lists
We use lists whenever we need to list items that are related somehow. A List can be used for cited works, numbered tutorial steps, navigation menus, and many, many other things. I’m sure you are familiar with bullet points from MS Word and other similar programs. There are 3 types of lists in HTML.
Unordered list
- , which stands for Unordered List. Items in it are unindexed and are displayed as bullet points as default. Although the list is seen as unordered, the order of items is kept when displayed in a browser.
- is a paired tag that wraps list items.
List items
Let’s take a look at an example of an unordered list:
What I have learned today How to create tables How to merge cells What does semantics mean How to create an unordered list
- element to set up navigation menus. We’ll go over how to do all of that further along in the course.
Ordered list
- tag to wrap
list items. For ordered lists, browsers display numbers by default:
My priority menu Spaghetti Creamy sauce Hamburger Cheese burger Broccoli
Here’s what it would look like:
- element has several attributes:
- reversed — If the attribute is specified, list items are numbered backwards, in descending order. You may set the value to «reversed», but it wouldn’t make a difference if you do (you could just leave it blank).
- start — The value of this attribute sets the first number of the list (entered as a number).
- type — Specifies the type of numbering to be used. Values can be set to 1, A, a, I, i for Arabic numerals, Latin letters, and Roman numerals.
- value — In an **ordered list, this attribute sets the item number. The items after the one that holds this attribute are automatically numbered based on the set value.
Let’s try an even more complex example:
reversed="reversed" start="4" type="I"> Item Item Item
Definition list
The last list type is the definition list. Unlike the first two, it contains 2 types of items:
Definition Term
We add terms that are to be explained/defined into tags (stands for Definition Term).
Definition
We add explanations into tags (stands for Definition Definition).
Here’s a little showcase of definition lists:
Article glossary Tutorial A guide to doing things, shown step by step in most cases ICT.social A social network and knowledge base for programmers List A set of items that are related somehow
Know what the next lesson, Solved tasks for HTML and CSS lessons 4-5, is going to be about? That’s right! We’re going to introduce you to CSS styling! Look forward to it because our website is going to look really fancy soon
In the following exercise, Solved tasks for HTML and CSS lessons 4-5, we’re gonna practice our knowledge from previous lessons.
Did you have a problem with anything? Download the sample application below and compare it with your project, you will find the error easily.
Download
Downloaded 78x (68.87 kB)
Application includes source codes in language HTML
43 CSS Tables
Collection of free HTML and CSS table code examples: simple, responsive, pricing, periodic, etc. Update of May 2020 collection. 6 new item.
Table of Contents:
Related Articles
Tables
Author
Links
Made with
About a code
Zigzag Table
A table formatted in a zigzag diagonal layout.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Author
Links
Made with
About a code
Table with Pagination
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Author
Links
Made with
About a code
Table with Frozen Table Header and Left Column
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Author
Links
Made with
About the code
Sort Table Rows By Table Headers
Sort table rows by table headers — ascending and descending.
Author
Links
Made with
About the code
Responsive Tables Using li
Author
Links
Made with
About the code
Responsive Table HTML and CSS Only
HTML table made responsive only with CSS. On mobile the header row is fixed to the left, and the content is scrollable horizontally.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive Table With Flexbox
The idea was to create a nice working table which is working on smaller screens also.
Made by Matys
April 6, 2017
CSS Responsive Table Layout
Using CSS for responsive table layouts instead of floats. Responsive (everything goes down to one row each), too.
Made by Luke Peters
February 21, 2017
Fixed Table Header
Fixed table header with simple jQuery code.
Made by Nikhil Krishnan
November 3, 2016
Responsive Table
CSS tricks method responsive table.
Made by Alico
April 11, 2016
Pure CSS Table Highlight
A simple (and nasty) trick to have vertical and horizontal highlight on hover on tables made with pure CSS.
Made by Alexander Erlandsson
March 22, 2016
Author
Links
Made with
About the code
Sticky Table Headers by position: sticky;
Trying out to make a sweet table with sticky table headers if their table is in the viewport (like the iOS names list names beginning capital letter).
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive Table
Responsive table with rwd-table-patterns.
Made by SitePoint
April 15, 2015
CSS Responsive Table & Detail View
An example table and detail view scenario.
Made by Heather Buchel
June 29, 2014
Author
Links
Made with
About a code
CSS Table
Using CSS to fade-in a row, fade-out a row and show data in the table updating on a live basis. Also hovering over a row expands to show more information.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive Table
Table collapses into a «list» on small screens. Headers are pulled from data attributes.
Made by Geoff Yuen
March 25, 2014