html Button tag
Html Button Tag
1] <Button> tag creates a clickable button.
2] The type="button" attribute specifies the button.
3] The text "click Me" content of the button.
4] button can trigger java Script events / perform action defined the web page.
Html Button Tag
Example :-
<!DOCTYPE html>
<html>
<head>
<title>button tag</title>
</head>
<body>
<h2>Html Button Tag </h2>
<button type ="button" onclick="alert('hi friends')" >Click Me</button>
</body>
</html>
Post a Comment