AMPHTML advertisements are close to traditional HTML advertisements, but are displayed in AMPHTML, according to the AMPHTML ad spec, instead of coding them in traditional HTML. By generating ads in AMPHTML, advertisements benefit from the same optimizations and efficiency used in AMP pages, making them a quicker, lighter, and safer way to advertise on the internet. These ads can mostly be placed on the internet anywhere, not just on AMP pages.