Skip navigation

Counting headings with CSS

Counting headings with CSS: Design the Web: Using Counters and Resets in CSS
Counting headings with CSS: Design the Web: Using Counters and Resets in CSS

We start by opening opening the HTML file. There is already some content setup. The H3 tags are used as the title to each course, so we'll first add a number to each of these elements. Now, we've successfully counted the H3 elements in our page without using ordered lists. Next, let's add some style to our new counter.

Resume Transcript Auto-Scroll
Skill Level Intermediate
16m 38s
Duration
12,531
Views
Show More Show Less
Skills covered in this course
Web Web Design Projects CSS

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month