Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 689 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 689 Bytes

AMP HTML Extensions

AMP Extensions are either extended components or extended templates.

AMP HTML Extended Components

Extended components must be explicitly included into the document as custom elements.

For example, to include a YouTube video in your page include the following script in the <head>:

<script
  async
  custom-element="amp-youtube"
  src="https://cdn.ampproject.org/v0/amp-youtube-0.1.js"
></script>

Current list of components

See the Components list.

AMP HTML Extended Templates

See the AMP template spec for details about supported templates.