Introduction to the difference between button and submit

零下一度
Release: 2017-07-19 13:20:18
Original
4622 people have browsed it

There are four ways to draw a button on a page:

This is a button. If you don't write javascript, nothing will happen when you press it.

Such a button will automatically submit the form after the user clicks it, unless you write javascript to prevent it.

The above is the detailed content of Introduction to the difference between button and submit. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template