React JS Training Course Online
- 21k Enrolled Learners
- Weekend
- Live Class
HTML makes it easier to create buttons. In this article will explore Button In HTML in detail. Following pointers will be covered in this article
So lets us get started with this article,
In HTML there are various methods to create clickable buttons. Here you can even create buttons using <input> tag by setting it’s type attribute to button. Listing out the type attribute that can take values:
Type | Description |
Submit | It creates the button which automatically submits the form or the document. |
Reset | It creates the button which automatically resets the form control to their initial values. |
Button | It creates the button which is used to trigger the client side script when the user clicks that button. |
Image | It creates the clickable button that we can use the image as a background of the button. |
In HTML <button> tag is mainly used to create the button within the HTML form. Still you can use <input> tag to create the same buttons.
Showing the use of <button> tag
<!DOCTYPE html> <html> <head> <title>button tag</title> </head> <body> <form> <button name="button" name="OK" type="button">Click Here> </form> </body> </html>
Output
Here it’s showing the code for the form with three types of buttons:
<!DOCTYPE html> <html> <head> <title>Upload File</title> </head> <body> <form> <input type="submit" name="submit" value="submit"/> <input type="reset" name="reset" value="reset"/> <input type="button" name="button" value="button"/> <input type="image" name="imagebutton" scr="/C:UsersKATTANISHARADesktopBlogs"/> </body> </html>
Output
This brings us to the end of this article on Button In HTML.
Check out our full stack development course which comes with instructor-led live training and real-life project experience. This training makes you proficient in skills to work with back-end and front-end web technologies. It includes training on Web Development, jQuery, Angular, NodeJS, ExpressJS, and MongoDB.
Check out the Angular Training by Edureka, a trusted online learning company with a network of more than 250,000 satisfied learners spread across the globe. Angular is a JavaScript framework that is used to create scalable, enterprise, and performance client-side web applications. With Angular framework adoption being high, performance management of the application is community-driven indirectly driving better job opportunities.
If you want to get trained in React and wish to develop interesting UI’s on your own, then check out the React Certification Course by Edureka, a trusted online learning company with a network of more than 250,000 satisfied learners spread across the globe.
Got a question for us? Please mention it in the comments section of article and we will get back to you.
Course Name | Date | Details |
---|---|---|
Web Developer Certification Training Course | Class Starts on 28th December,2024 28th December SAT&SUN (Weekend Batch) | View Details |
Web Developer Certification Training Course | Class Starts on 4th January,2025 4th January SAT&SUN (Weekend Batch) | View Details |
edureka.co