Answers for "html <button>"

1

htmlround buttons

<button style="border-radius: 12px">A Little Round</button>
Posted by: Guest on August-13-2021
10

html button

<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>
Posted by: Guest on March-01-2020
0

button

<div data-aos="fade-up"><button class="buton">Prendre rendez-vous</button>
</div>
Posted by: Guest on August-29-2021
0

button

const button = document.querySelector('main button');
const output = document.querySelector('main pre');

button.addEventListener('click', function (e) {
    console.log('button is clicked');
    output.innerHTML += 'button is clicked<br>';
});
Posted by: Guest on June-14-2021

Browse Popular Code Answers by Language