Noelia G
4
Q:

how to add button in html

<button type="button" onclick="alert('You pressed the button!')">Click me!</button>
16
<button>I'm a button</button>
7

    <button type="button">Click Me!</button>
 
2
<html>
  <head>
        <style>
          .button {
 			background-color: <background color>;
  			border: none;
 			color: <text color>;
  			padding: 10px 25px;
  			text-align: center;
 			text-decoration: none;
  			display: inline-block;
  			font-size: 16px;
  			margin: 4px 4px;
  			cursor: pointer;
  			border-radius: 8px;
			}
  		</style>
	</head>
	<body>
      <a href="<url>" class="button">ButtonText</a>
 	</body>
</html>
8

New to Communities?

Join the community