A cópia do código é a seguinte:
<! Doctype html public "-// w3c // dtd xhtml 1.0 transitional // pt" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-bransitional.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv = "content-type" content = "text /html; charset = utf-8" />
<title> Confirme se deve excluir </title>
<script type = "text/javascript">
função del () {
if (! Confirm ("Confirmar para excluir?")) {
window.Event.ReturnValue = false;
}
}
</script>
</head>
<Body>
<a href = "http://www.baidu.com" onclick = "return del ()"> excluir </a>
</body>
</html>