Q&A for How to Create a Dropdown Menu in HTML and CSS

Return to Full Article

Search
Add New Question
  • Question
    I just made a dropdown menu using these instructions and it worked. How do I move/change the position of my drop down menu in HTML?
    Community Answer
    To move this dropdown menu, cut out the tags that signify the dropdown (particularly, cut out the code between and its closing pair) and paste them somewhere else. Additionally, you can add some code to the style for the dropdown class such as float, to align the menu to your liking.
  • Question
    What is the difference between delete, drop, and truncate in Oracle?
    Community Answer
    Delete: delete a row in a table. Truncate: delete all rows in a table. Drop: delete structure of a table.
  • Question
    Where in the head section can I link a stylesheet?
    Community Answer
    You can link a stylesheet (CSS, LessCSS, SCSS, SASS) anywhere in your tags, provided that your head tags are after the opening tag and before the opening tag.
  • Question
    How do I make a drop down menu for my mobile devices?
    Community Answer
    You can create different menus for navigation in your website. To create a drop-down menu, you need to create a menu using unordered lists and a sublist to represent the lower menu. You need a text editor like Notepad++ to create the code. First create an unordered list that will represent the menu and then create sublists inside the desires list item(s). You will need to use CSS to hide the lower menu and redisplay it when hovering over the upper menu.
  • Question
    I've made the dropdown menu, however when I hover over the box, the menu comes down but the options aren't clickable? And the menu disappears when hovering over it instead. What should I do?
    Community Answer
    You might need to add the anchor tags which link you to a new page. they look like <a></a>. Also you might need to add a URL in your anchor tags if you haven't already. If not then maybe check the styling of your element in the .css file.
Ask a Question

      Return to Full Article