Skip to content

"Too many title elements in <title>" should say "Too many title elements in <head>" #692

@petdance

Description

@petdance

There are no title elements in <title>. They're in .

$ cat titles.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <HEAD>
        <TITLE>Test stuff</TITLE>
        <TITLE>As if one title isn't enough</TITLE>
    </HEAD>
    <BODY>
        <P>This is my paragraph</P>
    </BODY>
</HTML>
$ tidy -q -e titles.html
line 2 column 5 - Warning: too many title elements in <title>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions