Imagem de fundo

Qual código HTML com jQuery abaixo irá apresentar...

Qual código HTML com jQuery abaixo irá apresentar corretamente um botão que, quando clicado, emitirá um alerta no navegador Web?


A

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Prova UFPE</title>

</head>

<body>

<button id="botaoAlerta" name="Alerta">Exemplo</button>

<script src="jquery-3.6.0.js"></script>

<script>

$("#botaoAlerta").click(function(){

alert('Concurso UFPE!');

})

</script>

</body>

</html>


B

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Prova UFPE</title>

</head>

<body>

<button id="botaoAlerta" name="Alerta">Exemplo</button>

<script src="jquery-3.6.0.js"></script>

<script>

$("botaoAlerta").click(function(){

alert('Concurso UFPE!');

})

</script>

</body>

</html>


C

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Prova UFPE</title>

</head>

<body>

<button id="botaoAlerta" name="Alerta">Exemplo</button>

<script src="jquery-3.6.0.js"></script>

<script>

("#Alerta").click(function(){

alert('Concurso UFPE!');

})

</script>

</body>

</html>


D

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Prova UFPE</title>

</head>

<body>

<button id="botaoAlerta" name="Alerta">Exemplo</button>

<script src="jquery-3.6.0.js"></script>

<script>

$("Alerta").click(function(){

alert('Concurso UFPE!');

})

</script>

</body>

</html>


E

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Prova UFPE</title>

</head>

<body>

<button id="botaoAlerta" name="Alerta">Exemplo</button>

<script src="jquery-3.6.0.js"></script>

<script>

("botaoAlerta").click(function(){

alert('Concurso UFPE!');

})

</script>

</body>

</html>