Title: html5 ad
Last modified: November 24, 2023

---

# html5 ad

 *  Resolved [cstangor](https://wordpress.org/support/users/cstangor/)
 * (@cstangor)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/html5-ad/)
 * Can I add an html5 ad?
    -  This topic was modified 2 years, 6 months ago by [cstangor](https://wordpress.org/support/users/cstangor/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/html5-ad/#post-17228435)
 * Hello,
 * the plugin can insert any HTML/CSS/Javascript code:
   [https://adinserter.pro/documentation/code-editing](https://adinserter.pro/documentation/code-editing)
 *  Thread Starter [cstangor](https://wordpress.org/support/users/cstangor/)
 * (@cstangor)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/html5-ad/#post-17230658)
 * Yes, probably so but the html5 ads are in a folder package. How to link to the
   folder (using an iframe potentially).
 * Neither of these work for me :
 *     ```wp-block-code
       [ADINSERTER ROTATE <a href= https://gettysburgconnection.org/ target="_blank" rel="nofollow"> <img src= "https://gettysburgconnection.org/wp-content/ads/STS_ad/"> </a>
   
       [ADINSERTER ROTATE <a href= https://gettysburgconnection.org/ target="_blank" rel="nofollow"> <iframe src="https://gettysburgconnection.org/wp-content/ads/STS_ad/" width="1800" height="300">
       </a>
       ```
   
    -  This reply was modified 2 years, 6 months ago by [cstangor](https://wordpress.org/support/users/cstangor/).
    -  This reply was modified 2 years, 6 months ago by [cstangor](https://wordpress.org/support/users/cstangor/).
    -  This reply was modified 2 years, 6 months ago by [cstangor](https://wordpress.org/support/users/cstangor/).
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/html5-ad/#post-17230961)
 * Yes, use `iframe`, for example:
 *     ```wp-block-code
       <iframe src="https://gettysburgconnection.org/wp-content/ads/STS_ad/"></iframe>
       ```
   
 * Define width and height as needed.
 *  Thread Starter [cstangor](https://wordpress.org/support/users/cstangor/)
 * (@cstangor)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/html5-ad/#post-17246458)
 * OK, so the html5 ad is displaying but not fully.
 * [https://ymlt9z6xnd-staging.onrocket.site/test/](https://ymlt9z6xnd-staging.onrocket.site/test/)
 * Why doesn’t it fill the available space?
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/html5-ad/#post-17247570)
 * You have two issues:
    1. The url for the iframe source is wrong. This page does not exist:
       [https://gettysburgconnection.org/wp-content/ads/STS_ad/](https://gettysburgconnection.org/wp-content/ads/STS_ad/)
    2. You wrapped the iframe element with an a element – this doesn’t make sense. 
       iframe source is a complete HTML page with own clickable elements. Create link
       there.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘html5 ad’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/html5-ad/#post-17247570)
 * Status: resolved