Skip to content

tag-pair points to the wrong line #1284

Closed
@ebiscaia

Description

@ebiscaia

I have the following html file:

<!DOCTYPE html>    
  <html>      
              
  <head>      
    <meta name="description" content="This is a learning page" />                                                                             
    <title>My first webpage</title>                                                                                                           
    <link rel='icon' type="image/x-icon" href="html5.png" />                                                                                  
    <link rel="stylesheet" type="text/css" href="style.css" />                                                                                
  </head>     
              
  <body>      
    <h1>Hello World                                                                                                                           
    <hr />                                                                                                                                    
    <article>                                                                                                                                 
      <h2>I'm ready to learn HTML</h2>                                                                                                        
      <p>&nbsp;&le;This is my first webpage</p>                                                                                               
      <h3>My daily schedule,</h3>                                                                                                             
      <p>Lemme tell ya how I learnt it:</p>                                                                                                   
    </article>                                                                                                                                
                                                                                                                                              
    <ol>                                                                                                                                      
      <li>...I plan my schedule</li>                                                                                                          
      <li>...I use resources from <abbr title="W3Schools">W3S</abbr>.</li>                                                                    
    </ol>                                                                                                                                     
                                                                                                                                              
    <h4>I live here:</h4>                                                                                                                     
    <address>77/555 Crisp Biscuit, Lucy</address>                                                                                              
    <hr />                                                                                                                                    
  </body>     
              
  </html>

I ran htmlhint and I have got the following results:

html/index.html|7 col 8 error| The value of attribute [ rel ] must be in double quotes. [error/attr-value-double-quotes]                
html/index.html|29 col 1 error| Tag must be paired, missing: [ </h1> ], start tag match failed [ <h1> ] on line 12. [error/tag-pair]

As you guys can see, htmlhint is first saying that the problem is in line 29 and then in line 12. Is it possible to correct that?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugFunctionality that does not work as intended/expectedhelp wantedWe are looking for community helpkeep-unstaleThe issue will not be marked as stale by the stale-bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions