Skip to content

not following the AMP HTML format #11

@amerfathullah

Description

@amerfathullah

Hi, I've installed the plugins via the Netlify integrations page. and after deploying my site and testing it in Google AMP Test, it returns a lot of invalid AMP page reasons.

here are some of the reasons:

  • Disallowed attribute or attribute value present in HTML tag.
  • A tag on this page requires an AMP component 'script' tag, which is missing.
  • Tag found outside the document head which is only allowed as a direct child of the document head.
  • Only amp-boilerplate and amp-custom 'style' tags are allowed, and only in the document head.
  • A mandatory attribute is missing from an HTML tag.
  • HTML Event attributes, aka 'on*', are not allowed in AMP. Instead, use 'amp-bind'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions