Can you share some html code for button and submenu?

Asked By 50 points N/A Posted on -
qa-featured

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.

SHARE
Answered By 5 points N/A #183715

Can you share some html code for button and submenu?

qa-featured

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:

<ul>

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

</ul><ul>

<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>

</ul>

Here is the output of the above submenu code:

Hope you find some inspiration using these HTML codes.

Related Questions