Meta-Tags HTML property throws warning in eclipse

I have some meta tags for facebook and google in my HTML page, but eclipse shows a warning about itemprop properties and properties. I have tried different doctrines, but this is not confirmed. Is there a way to get rid of warnings without disabling HTML document validation?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>

    <head>

        <!-- Facebook meta tags -->
        <meta property="og:title" content="My Title" />  
        <meta property="og:description" content="My Description" />  

         <!-- Meta tags for google. -->
        <meta itemprop="name" content="My Title"/>
        <meta itemprop="description" content="My Description"/>

    </head>

</html>

enter image description here

+4
source share
1 answer

Go to window-> Settings-> Web-> HTML Files-> Validation

Check to ignore the specified attribute names in the validation and add "property, itemprop" in the text box below.

+2
source

All Articles