What are the requirements for HTML 5 banners?
Extension: ZIP
Maximum size: 5 MB
Resolution: must match the banner size
HTML code: Maximum allowed size is 100 kilobytes
JavaScript and CSS are preferably placed inside the HTML code of the banner. If the final HTML code exceeds the maximum allowed size, the code should be reduced by moving JavaScript and CSS to separate files:
- You can't use iFrame
- Save the JS and CSS code in separate files with the extension .js or .css.
- The file sizes should not exceed 300 KB.
- There can only be one file with the extension .html in the project.
- The ZIP archive cannot include other ZIP files.
- You can also extract the embedded SVG tag and save it in a separate file.
- Total number of files in the project: 50
- Supported file types in the project: CSS, JS, HTML, GIF, PNG, JPG, JPEG, SVG, JSON, FLV, MP4, OGV, OGG, WEBM, AVI, SWF
- Maximum size of each file (also applies to files inside the archive): 300 KB; 1 MB for video files.
Was this article helpful?