+ 2
How to make button with div?
2 Answers
+ 11
Use the Following Code:-
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div><input type="submit"></input></div>
</body>
</html>
+ 3
You can also assign an onClick event to the div to run a js function.
<div onclick=yourFunction()>...</div>