+ 2
Well I have a question which look trick to me ....
Explain distinct types of buttons in PHP..? Anyone have idea about this??
2 Antworten
+ 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/
+ 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).