Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Trevor Wood
Trevor Wood
17,828 Points

Putting a "bullet point" mark in CSS

I'm trying to figure out how to put a bullet point mark in CSS. In html, I know there are special codes, but I can't find any special codes for CSS.

3 Answers

James Barnett
James Barnett
39,199 Points

You are looking for the CSS property list-style-type, there are a bunch of types to choose from, you probably want disc.

Ethan Paz
Ethan Paz
7,710 Points

Bullet points are for html I believe. CSS is for design. What you are looking for does structure, which is html. To use bullet points for html, you need an unordered list <ul>.

<!-- < ul> < li> Item number 1 < /li> </ ul>-->