Dropdown Sidebar Menu using HTML CSS & JavaScript

Incog

Administrator
Staff member
Administrator
Aug 20, 2022
4,563
10,741
113
View attachment 51

In HTML:
Make <ul> </ul> tag as a parents for the main navigation links.
Inside the <ul> </ul> tag add <li> </li> tag like this <ul><li>Home</li></ul>
Now for submenu add <ul> </ul> tag again inside the <li> </li> like this:
<ul><li>Home
<ul>
<li>Sub Menu</li>
</ul>
</li></ul>

You must reply before you can see the hidden data contained here.
To see this hidden content, you must react with one of the following reactions : Love Love
 
t
View attachment 51

In HTML:
Make <ul> </ul> tag as a parents for the main navigation links.
Inside the <ul> </ul> tag add <li> </li> tag like this <ul><li>Home</li></ul>
Now for submenu add <ul> </ul> tag again inside the <li> </li> like this:
<ul><li>Home
<ul>
<li>Sub Menu</li>
</ul>
</li></ul>

[Hidden content]

[Hidden content]
tyyy!
 

NEW TOPICS