+ 1
How to add html code to the page that takes me a button
4 ответов
+ 8
<input type="button" value="button label">
<!-- or -->
<button>button content</button>
<:-- the second one can handle html code as content of the button, unlike the first, older one, than can only handle text content trough the 'value' attribute -->
+ 3
Another possibility and less "modern":
<a href="LINK_TO_SOMEWHERE" class="btn"></a>
And then with some CSS you can design it as you wish:
.btn
{
width: 70px;
height: 35px;
color: #CCC;
background-color: white;
border-radius: 5px;
}
etc...
- 1
Hi can you help me with a C # language problem
- 1
Hi can you help me with a C # language problem