Red de fuentes digitales
& ltdiv & gt
& ltEnter? id="bb"? tipo="botón"? Valor = "Generar"? onclick = 'gg()'/><br/>;
<Enter? id="tt"? type = " texto "/& gt;& ltbr/>;
</div>
& lt estilo? type="text/css " >>p>
Entrada {
Margen:? 10px;
}
& lt/style & gt;
& ¿Guión? type = " texto/JavaScript ">
¿Función? ¿gg? ()?{
document.getElementById('tt '). ¿valor? = math . floor(math . random()* 1000);
}
& lt/script & gt;
Número aleatorio dentro de 1000
p>