+ 2
How to make buttons in html using <div> element??😞😞😞PLEASE HELP SOMEONE.I AM IN A GREAT NEED OF BUTTONS IN HTML..😥😥😥
I have searched for it everywhere on sololearn but everybody is making buttons with different codes.. Please help me if somebody knows a easier way to make buttons in html so that I can make use of them in my codes. I'd searched for it on html fundamentals course but there was not a single lesson regarding how to make buttons in <div> element. At last I have to post this what you are reading... 🙏🙏... PLEASE SUPPORT THIS QUESTION SO THAT NO ONE IN FUTURE FACES THIS PROBLEM. 😊😊😊
4 Respostas
+ 12
I made simple custom buttons like this
https://code.sololearn.com/WwCMwzwW4iFJ/?ref=app
https://code.sololearn.com/Wsl3VRB5K0uL/?ref=app
+ 12
Buttons are 100% html elements that are styled with css. Only there are some functions that are called once user clicks on a button. You can ignore those functions :)
+ 2
Are these pure html and css???
+ 1
Alternatively you could use bootstrap and customize the buttons with css. I find it more convenient as I often end up using bootstrap for the layout anyway.
https://www.sololearn.com/learn/1526/?ref=app