Код кода копирования следующим образом:
<!
<html xmlns = "http://www.w3.org/1999/xhtml">
<голова>
<meta http-equiv = "content-type" content = "text /html; charset = utf-8" /> />
<Title> не -title Document </title>
</head>
<тело>
<textarea id = "text" color = "20" rows = "5" onkeyup = "sum ()" onfocus = "focu ()"> </textarea>
<span id = "span"> </span>
</body>
<Скрипт>
Функция sum () {
var str = document.getElementbyId ("text");
var control = str.value;
var len = cont.length;
Document.GetElementById ("SPAN").
if (len> = 100) {alert («Вы больше не можете писать, он достиг максимума!»);
Document.GetElementById ("Text").
// Реализовать максимальный предел 100 слов.
}
}
</script>
</html>