Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make an html button appear as text

<li id="item2"><button onclick="myFunction2()">About us </button></li>

Is there anyway that "About us" can appear as just text and not a button on the website?

like image 718
mikeb Avatar asked Nov 01 '22 02:11

mikeb


1 Answers

As like this .

#item2>button{background:none;border:none;outline:none;cursor:pointer}
<li id="item2"><button onclick="myFunction2()">About us </button></li>
like image 68
Rohit Azad Malik Avatar answered Nov 11 '22 04:11

Rohit Azad Malik