C# Programming: Creating a Button in HTML in very easy way | Learn HTML5

Sunday, June 10, 2018

Creating a Button in HTML in very easy way | Learn HTML5





To create a button in html, we need a button tag. Between opening button tag and closing button tag you need to put the caption of button. Here style is optional.



code:



<!DOCTYPE html>

<html>

<head>

<title>Creating Button</title>

</head>

<body>

<button style="background-color: green;">Click Me</button>

</body>

</html>

No comments:

Post a Comment