0

How can insert my link in a a box so that it will look like a button in html or css?

I want to create a login button so I need the code to insert the link in box

21st Jul 2017, 6:11 PM
Rohit
Rohit - avatar
4 Réponses
+ 3
You can try to set the anchor (hyperlink) style to have a surrounding border by setting up border and margin in CSS. But I'm not sure how to submit login info this way. Most probably you'd need to code js to handle click event so to submit form data.
21st Jul 2017, 7:04 PM
Ipang
+ 3
<input type="submit" value="login" /> makes a submit button. you can change the value to submit, login etc.
21st Jul 2017, 6:16 PM
esenia
esenia - avatar
+ 3
you have to learn php to make it work as far as i know :( the login button in just html and css will only appear like a login button for now, without php i don't think its possible.
21st Jul 2017, 6:29 PM
esenia
esenia - avatar
0
but how can I insert link in that button
21st Jul 2017, 6:23 PM
Rohit
Rohit - avatar