Tidy 46

From Htmlpedia
Jump to: navigation, search

Tidy: Too much <...>-elements

Cause:

A second instance of an HTML element which should only appear once has been found. The only elements this affects are <html>, <head>, <title> and <body>.

Example:

Bad

<head>
<title>title</title>
<title>another title</title>
</head>

Good

<head>
<title>title</title>
</head>

Solution:

Remove the superfluous element.

References: