Skip to content

Commit b2f6118

Browse files
committed
fix HTML
1 parent 42f7a61 commit b2f6118

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

www-data/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="ru">
33
<head>
4-
<meta charset="UTF8">
4+
<meta charset="utf-8">
55
<title>Pastebin (userver)</title>
66
</head>
77
<body>
88
<form name="form" action="#">
9-
<p><label for="author">Автор: </label><input type="text" name="author" required></p>
10-
<p><label for="text">Текст: </label><textarea rows="30" cols="100" name="text"></textarea></p>
9+
<p><label for="author">Автор: </label><input type="text" id="author" name="author" required></p>
10+
<p><label for="text">Текст: </label><textarea rows="30" cols="100" id="text" name="text"></textarea></p>
1111
<input type="submit" onclick="onSend()">
1212
</form>
1313
<span id="latest">unchanged</span>
14-
<script type="text/javascript" src="../r/index.js"></script>
14+
<script src="../r/index.js"></script>
1515
</body>
1616
</html>

www-data/text.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="ru">
33
<head>
4-
<meta charset="UTF8">
4+
<meta charset="utf-8">
55
<title>Pastebin (userver)</title>
66
</head>
77
<body>
88
<span id="text"></span>
9-
<script type="text/javascript" src="r/text.js"></script>
9+
<script src="r/text.js"></script>
1010
<span id="latest">unchanged</span>
11-
<script type="text/javascript" src="r/index.js"></script>
11+
<script src="r/index.js"></script>
1212
<a href="/">Создать новую заметку</a>
1313
</body>
1414
</html>

0 commit comments

Comments
 (0)