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 trialnicolasvanbylen
2,336 PointsWhat is the difference between UL and OL when you use Normalize.CSS?
Hi there!
So I see in this video that the bullets disappear when linking your Index.html to the Normalize.css. Now as the difference between UL and OL is the bullets and numbering, then why would it make a difference if they both disappear anyway?
Thank you!
1 Answer
stjarnan
Front End Web Development Techdegree Graduate 56,488 PointsHi Nicolas!
Short answer is semantics. Even if you can make the data inside of them look the same when it comes to presentation, there will always be a difference for things like search engines. If you need a list where the order don't matter, go unordered list, if the order matters then go ordered list.
A great example could be if you want to list some of your favorite games, then an unordered list would work great. But if you would want to list them in order of which games you like the most, where the first in the list is the one you like the most, an ordered list would be best.
So basically, even if you can style them in a way where there won't be a noticeable difference for a user, you should still use the proper one as this will be better use of semantics.