Titles are important because they are displayed in search engine results as well as the browser’s toolbar.
This rule verifies that the <head>
tag contains a <title>
one, and the <html>
tag a
<head>
one.
Noncompliant code example
<html> <!-- Non-Compliant -->
<body>
...
</body>
</html>
Compliant solution
<html> <!-- Compliant -->
<head>
<title>Some relevant title</title>
</head>
<body>
...
</body>
</html>