+ 1
How do website button work? If some one tapped it where does the typed mesaage go?
Some help explain his for me. If I add a Send message button to my website, how does the button work like if some one taps it, where does the message go and how do I view it?
3 odpowiedzi
+ 4
The <button> element is used to create an HTML button. Any text appearing between the opening and closing tags will appear as text on the button.
No action takes place by default when a button is clicked.
Actions must be added to buttons using JavaScript or by associating the button with a form.
Check this : https://html.com/tags/button/
+ 1
Use the button tag
Then define the onclick event
Eg onclick function
Then function should post the message
0
The message goes to the database.