ইনপুট টাইপ বাটন সাবমিট বা রিসেট বাটন হতে পারে। CSS দিয়ে আমরা ওয়েব পেজের যেকোনো বাটন স্টাইল করতে পারি।
ইনপুট টাইপ বাটন স্টাইল করতে নিচের কোডটি রান করুন:
উদাহরণ
<!DOCTYPE html> <html> <head> <style> input[type = submit], input[type = reset] { background-color: orange; border: none; text-decoration: none; color: white; padding: 20px 20px; margin: 20px 20px; cursor: pointer; } </style> </head> <body> <p>Fill the below form,</p> <form> <label for = "subject">Subject</label> <input type = "text" id = "subject" name = "sub"><br><br> <label for = "student">Student</label> <input type = "text" id = "student" name = "stu"><br> <input type = "reset" value = "Reset"> <input type = "submit" value = "Submit"> </form> </body> </html>