Ask Your Question
1

How can dote be eliminated from the menu items in HTML?

asked 2021-12-03 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-02-18 03:00:00 +0000

ladyg gravatar image

To eliminate the dote from the menu items in HTML, you can use CSS to remove the list-style-type property from the unordered list. The following CSS code will remove the dot from the list items:

ul {
  list-style-type: none;
}

This will remove the dot from all unordered lists on your webpage. If you only want to remove the dot from a specific list, you can give that list a unique class or ID and target it in your CSS:

HTML:

<ul class="menu">
  <li>Item 1</li>
  <li>Item 2</li>
  <li>Item 3<li>
</ul>

CSS:

ul.menu {
  list-style-type: none;
}

This will only remove the dot from the list with the class "menu".

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-12-03 11:00:00 +0000

Seen: 10 times

Last updated: Feb 18 '22