Well I have a question which look trick to me .... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Well I have a question which look trick to me ....

Explain distinct types of buttons in PHP..? Anyone have idea about this??

23rd Apr 2021, 9:59 AM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar
2 Answers
+ 5
PHP doesn't have buttons but PHP scripts often generate HTML and HTML has buttons. The main standard types of buttons in HTML5 are: - The button tag. - The input tag where its type attribute is set to button. For example, input type="button" If you want a few styles of buttons with different colours or fonts, check out Bootstrap's examples here: https://getbootstrap.com/docs/4.0/components/buttons/
23rd Apr 2021, 10:12 AM
Josh Greig
Josh Greig - avatar
+ 2
THE CRAZY ONE ✌️ PHP doesn't have buttons but yes html have buttons. There are three types of buttons: submit — Submits the current form data. (This is default.) reset — Resets data in the current form. button — Just a button. Its effects must be controlled by something else (that is, with JavaScript).
23rd Apr 2021, 10:09 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar