149k views
2 votes
How to add a declaration to the NAV UL style rule that removes the bullet marker?

1 Answer

0 votes

Final answer:

To remove bullet markers from a navigation bar's unordered list, add 'list-style-type: none;' to the 'nav ul' style rule in CSS.

Step-by-step explanation:

To remove the bullet marker from the <ul> element in a navigation bar, you will need to add a CSS declaration to the nav ul style rule. The CSS property that controls the list style type, including the bullet marker, is list-style-type. You can set this property to none to remove the bullet markers.Here's an example of what the CSS might look like:nav ul { list-style-type: none;}This will ensure that any <ul> element within the <nav> element does not display bullet points. It's a common practice in web design to remove list bullets when creating a horizontal navigation bar.

User Nfernandez
by
7.6k points