Copiar código del código de la siguiente manera:
<!
<html xmlns = "http://www.w3.org/1999/xhtml">
<Evista>
<meta http-oquiv = "content-type" content = "text /html; charset = utf-8" /> />
<title> Documento no -tito </title>
</ablo>
<Body>
<TextArea id = "Text" Color = "20" Rows = "5" OnKeyUp = "Sum ()" OnFocus = "Focu ()"> </TextAREA>
<span id = "span"> </span>
</body>
<script>
Función sum () {
var str = document.getElementById ("texto");
Var Control = str.value;
var len = cont.length;
document.getElementById ("span").
if (len> = 100) {alerta ("¡No puedes escribir más, ha alcanzado el máximo!");
document.getElementById ("texto").
// Implementar un límite máximo de 100 palabras.
}
}
</script>
</html>