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.

  • Overview
  • Transcript
  • View Offline
Resume Transcript Auto-Scroll
Skill Level Intermediate
16m 38s
Duration
6,622
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 Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now