Escolar Documentos
Profissional Documentos
Cultura Documentos
Exemplo Button Cantos Redondos
Exemplo Button Cantos Redondos
<head>
<style>
p{color:blue;}
h1{color:red;}
input[type="button"]{border-radius: 15px;}
</style>
</head>
<script>
function mostraAlerta1(){
alert ('Oi, tudo bem! Alert 2');
}
</script>
<script>
function mostraAlerta2(){
alert ('Oi, tudo bem! Alert passar mouse');
}
</script>
<body>
<h1>Título 1 Exemplo</h1>
<h2>Sub Título 2 Exemplo</h1>
<p>Parágrafo 1 Exemplo</h1>
<h3 onmouseenter="mostraAlerta2()">Sub Título3 Passe o mouse aqui</h3>
<br>
<input
type="button" onclick="javascript:alert ('Oi, tudo bem? Alert 1')" value="Teste1"/>
<br>
<br>
<input type="button" onclick="javascript:mostraAlerta1();" value="Teste2"/>
</body>
</html>