Making HTML5 banners: technique, performance and best practices for 2026.
How to keep HTML5 banners light, fast and approved: file size, animation, fallbacks and the specs of Google Ads and DV360.
Frank van BemmelCo-owner & Technical Director · Art direction and technology

Image: made with AI, chosen by us.
Why professional HTML5 banners make the difference.
HTML5 banners have been the absolute standard for premium display advertising for more than a decade. Want to really stand out, achieve high click-through rates and meet the strict requirements of Google, DV360, Xandr and Adform? Then there’s no getting around well-built HTML5 banners.
Making an HTML5 banner sounds simple, but the difference between an average banner and an ad that converts is in the details: smart code, optimised animation, extremely low load times and a build that meets the target platform’s requirements.
In this article we share the current techniques, performance tips and best practices we apply every day as a specialist HTML5 banner agency. Our DNA: premium quality, speed and results.

Animation in banners: grabbing attention in the first few seconds.
HTML5 banner animation is the most powerful tool for steering attention in a sea of display ads. Not decoration, but a way to steer the eye.
Good HTML5 banner animation:
- Shows the key message within 1.5-2 seconds.
- Builds up in keyframes (intro → problem → solution → CTA).
- Uses GPU-friendly animations (transform + opacity).
- Has subtle, natural easing (not too harsh or too robotic).
- Limits itself to 3-4 moving elements at a time.
Best practices for HTML5 banner animation in 2026
- Always start with a clear entry animation.
- Use motion delay for layering.
- Only show the CTA after the pay-off.
- Make sure there’s a clear stop frame (the last frame stays on screen for at least 5 seconds).
- Keep animation short: the IAB guideline works with a maximum of 15 seconds, Google Ads allows 30 seconds. How often a banner may loop differs per platform and publisher; three times is a common limit. Always check the specs of the media plan.
HTML5 banner performance: speed = conversion.
A flashy banner that loads slowly isn’t a banner but a missed opportunity. A banner that loads too late doesn’t get seen. And what doesn’t get seen, doesn’t get clicked.
Critical optimisations (our standard):
File size
- No weight limit applies everywhere: follow the specs of the platform and the publisher. Google Ads accepts an HTML5 zip of up to 600 KB with at most 40 files. For the initial load, the IAB works with 150 KB for a rectangle and 250 KB for a billboard.
- DV360 and rich media: up to 300–500 KB is often realistic, with a total download <5 MB.
- Adform / Xandr: more lenient, up to 500 KB recommended (sometimes higher). Always test per platform!
- Use WebP + SVG wherever possible.
- No jQuery or heavy libraries.
Code & animation
- Built entirely in HTML5 with GSAP as the animation engine
- Animations primarily via transform and opacity for optimal compositing performance
- We deliberately avoid layout-affecting properties such as left and top in animations
- Lightweight DOM structure with controlled, targeted manipulation
- Optimised for stable performance within strict ad server and platform limits
Technical must-haves
- Correct clickTag (case-sensitive).
- Enabler implemented correctly.
- Polite loading + static fallback version.
- Viewability-ready (Intersection Observer ready).
Tools for optimal performance
- Google Web Designer (free, Google-friendly).
- Adobe Animate (for HTML5 Canvas export).
- CreateJS or pure GSAP for advanced animations.
HTML5 banner guidelines & best practices (2026).
These are the guidelines our HTML5 banner agency follows as standard. We combine creative imagination with in-depth technical knowledge.
- First 3 seconds rule → main message + logo visible within 2 seconds.
- One visual focus per frame.
- CTA always prominent (min. 24-28px, sufficient contrast).
- Mobile-first design: in most media plans, the biggest share of impressions comes from mobile. Use sizes such as 320×50, 300×100 or 300×250.
- Animation supports, it doesn’t distract.
- Always provide a fallback (for older browsers or restrictive environments).
Why choose a specialist HTML5 banner agency?
A good HTML5 banner agency combines:
- Strong design.
- Psychologically grounded HTML5 banner animation.
- Performance optimisation.
- In-depth platform knowledge (Google, DV360, Adform, Xandr, etc.).
Anyone who wants to go beyond standard HTML5 ads goes for rich media banners with video, form elements, 360-degree views or interactive storytelling. That’s our territory.
Conclusion.
Making HTML5 banners is a craft of its own. It’s the perfect balance between creativity, technology, performance and psychological persuasion. Get it right and you make banners that don’t just look good but do their job.
Want HTML5 banners that really perform? We make them every day, within the weight and specs of every platform, and every set goes through our QA before it goes live. Get in touch and we’ll look at your campaign together.


