@html-eslint/require-title
<title>
in the <head>
.
Require <title><title/>
tag is used to define the document's title.
The content of the title is used by the search engine to decide the order of search results.
Rule Details
This rule enforces <title><title/>
tag in the <head><head/>
.
Examples of incorrect code for this rule:
<html>
<head> </head>
</html>
<!-- empty title -->
<html>
<head>
<title> </title>
</head>
</html>
Examples of correct code for this rule:
<html>
<head>
<title>Site Title</title>
</head>
</html>