Knowledge check: Metadata

Knowledge check: Metadata

  1. What are some of the main characteristics of meta tags? Select all that apply.

    • They are very important for SEO

    • They are placed inside the <body> element

    • They define metadata about an HTML document, namely information about data

    • They don’t have a visual representation in your pages

  2. What are some of the most important Meta tags you should use for good SEO? Select all that apply.

    • Description

    • Keywords

    • Image alt attributes

    • Title

  3. Which meta tag is used to specify the character encoding for the HTML document?

    • language

    • charset

    • content

    • lang

  4. Which meta tag and properties do you need to set to make your pages responsive in desktop and mobile viewports?

    •     <meta name=”viewport” content = width = device-width, initial-scale = 0”  />
      
    •     <meta name=”viewport” content=”width=window-width, initial-scale=1”  />
      
    •     <meta name=”viewport” content=”width=device-width, initial-scale=1”  />
      
    •     <meta name=”viewport” content=”height=device-height, initial-scale=1”  />
      
  5. How do you tell Google you don’t want to provide an automatic translation for your page if the user uses a different language?

    •     <meta name=”googlebot” content=”notranslate”  />
      
    •     <meta name=”language” content=”english”  />
      
    •     <meta name=”googlebot” content=”english”  />
      
  6. Which of the following statements are true about HTTP-equiv tags? Select all that apply.

    • They are the recommended way to set HTTP response headers

    • They are useful if you don’t have access to the server configuration

    • They can simulate HTTP response headers