The secret to AMP’s incredible speed is its strict set of rules. To ensure a fast and secure user experience, the AMP framework does not allow certain standard HTML tags. Using this disallowed HTML will make your AMP page invalid, preventing it from being served from the Google AMP Cache and defeating its entire purpose. This guide will explore why some HTML is disallowed in AMP and show you the correct AMP components to use instead.
Think of your AMP pages as a high-speed train. Only specific types of cargo are allowed on board to keep the train light and fast. By avoiding disallowed HTML, you can create a faster and more reliable experience for your users. For a deeper dive into the world of AMP, see our article on AMP.

Why is Some HTML Disallowed in AMP?
The AMP specification restricts certain HTML tags for two primary reasons:
- Performance: Many standard HTML tags can block the rendering of a page. For example, a standard `