how to write nested select type in html?

Are you looking for something like this w3schools.com?

I think you mean hover menu type ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.