HTML: Add language attribute

This attribute is recommended by W3C, because it is used by
screen readers to provide the correct pronunciation.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Leo-Andres Hofmann
2022-04-24 12:43:16 +02:00
committed by Peter Müller
parent 7b5f057a48
commit cdf0522ec2

View File

@@ -110,7 +110,7 @@ sub openpage {
print <<END;
<!DOCTYPE html>
<html>
<html lang="$language">
<head>
<title>$headline - $title</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>