<button> Tag in HTML 5

In this article I am going to explain about button tag in HTML 5
  • 2095

Definition

<button> tag in HTML 5 is used defines a clickable button in your web page or web site.  Clickable button is used to perform any event. It means clickable button is used to show any massage or insert data in data base. In side <button> tag you can put any text or image.

Browser Support by <button> tag

The <button> tag is supported in internet explorer, mozilla firefox, Google chrome, opera and safari browsers.

Lets take an example of <button> tag

 <html>

<head>

    <title>This is my first web page</title>

</head>

<body>

    </br>

    <button type="button" onclick="alert('Hello MCN Solutions!')">

        Click Me!</button>

</body>

</html> 

 

Output


Clipboard08.jpg

Further Readings

You may also want to read these related articles :

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.