Descargar archivo adjunto y descomprimir. Abrir con cualquier navegador. Activar botones. O bien:
.doctype html public -//w3c//dtd html 4.01 transitional//en http://www.w3.org/tr/html4/lose, dtd>
html>
head>
meta http-equiv=content-type content=text/html, charset=utf-8>
title>función Carleptos</title>.
style>
#universocarleptos {
Margin:50px auto;
Width:500px;
Padding:20px;
}
Body {
Background-color:#999;
}
Form {
Background-color:#f;
Padding:10px;
Float:left;
}
/style>.
script language=javascript>
Function carleptos1() {
Alert (false.)
}
Function carleptos2() {
Alert (true.)
}
/script>.
/head>.
body>.
Div id=universocarleptos>.
form method=post onsubmit=carleptos1(), return false;>.
Carleptos: <input type=text size=35 name=dni id=dni value=¿meta en la vida? > <input type=submit value=respuesta>.
/form>
form method=post onsubmit=carleptos1(), return false;>.
Carleptos: <input type=text size=35 name=dni id=dni value=¿relevancia? > <input type=submit value=respuesta>.
/form>
form method=post onsubmit=carleptos1(), return false;>.
Carleptos: <input type=text size=35 name=dni id=dni value=¿hipoteca? > <input type=submit value=respuesta>.
/form>
form method=post onsubmit=carleptos1(), return false;>.
Carleptos: <input type=text size=35 name=dni id=dni value=¿objectivo? > <input type=submit value=respuesta>.
/form>
form method=post onsubmit=carleptos2(), return false;>.
Carleptos: <input type=text size=35 name=dni id=dni value=¿Blender? > <input type=submit value=respuesta>.
/form>
form method=post onsubmit=carleptos1(), return false;>.
Carleptos: <input type=text size=35 name=dni id=dni value=¿matemáticas, programación? > <input type=submit value=respuesta>.
/form>
form method=post onsubmit=carleptos2(), return false;>.
Carleptos: <input type=text size=35 name=dni id=dni value=¿loco? > <input type=submit value=respuesta>.
/form>
form method=post onsubmit=carleptos2(), return false;>.
Carleptos: <input type=text size=35 name=dni id=dni value=¿vino? > <input type=submit value=respuesta>.
/form>
/div>
/body>
/html>.