Can you share some html code for button and submenu?

Asked By 50 points N/A Posted on -

Hello techyv,

Can you share some html code for the button and submenu? I would like to have a simple submenu button for our company website; I was assigned to manage the recent webpage. I need your suggestion regarding this matter. A simple but elegant style submenu html code will do.

Expecting some help from you guys.

Thank you.

Answered By 0 points N/A #183715

Can you share some html code for button and submenu?


Hello Christine,

Here are some HTML codes that you can use for a simple button for your site:

<Input type="button" value="Submit"/>

And here is the output of this code:

You may add some image on the button so your visitors can easily identify what the button is for.

<Button type="button">

<img src="/folder/image_book.gif" alt="Read book" />

<br />Read Book!</button>

For vertical submenu, this will be a good example:


<li><a href="LINK">MENU#1</a></li>


<li><a href="LINK">MENU#2</a>

<ul class="submenu-1">

<li><a href="LINK">SUBMENU#3</a>

<li><a href="LINK">SUBMENU#4</a></li>


Here is the output of the above submenu code:

Hope you find some inspiration using these HTML codes.

Login/Register to Answer

Related Questions