I'm trying to place an ad in my blog and I have copied the code exactly from the site, but when I paste it in my Blogger blog (in the 'edit HTML' tab) and try and publish it I get an error message that says: "Your HTML cannot be accepted: Tag is not closed: EMBED" and the following part is highlighted:
Can anyone tell me if they see what is wrong with this code? By the way, I tried a couple different codes for different ads and got this error each time.
Would love to help, but need to know what site you're trying to paste it into and what the code is.
all html tags start <"tag"> and end </"tag"> from your brief description, maybe you've left out the </embed> from the code?
Apologies if that's too obvious but with nothing more to go on, it's all I've got.
anytime its says the tag is not closed it just means your missing a closing tag.
for every <example> there must be a </example>
yuou might be missing </embed>
So if I understand you correctly (probably not), then shoudl the end look like this: ...go/getflashplayer" />embed>
I think I'm wrong...
it would be ..../getflashplayer"></embed>
but posting your code in wp created no issues to publish? ..post your full error message again
It would look like this:
Thanks George - oh, I mean Darkside! The original code is this:"<embed src="http://share.flattenme.com/ads/flattenme-ad-468x60.swf" quality="high" bgcolor="#efefef" width="468" height="60" name="super_1" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />"
...so you're saying that I should add </embed> at the end? I know nothing about html, but in looking at the other lines of code with this ad, they don't end with the same word they begin with - I'm so confused!
Wow, I pasted the code into my original post and now it's not there - is HTML not allowed in a forum post? Maybe if I put quotes around it? Let's see ...
"<embed src="http://share.flattenme.com/ads/flattenme-ad-468x60.swf" quality="high" bgcolor="#efefef" width="468" height="60" name="super_1" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />"
Looks like it worked - ok, so the code above is the portion that is highlighted with the error message. I'm trying to paste this into a Blooger blog post.
oops sorry, wp autocorrected your code
"<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="468" height="60" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="name" value="super_1" /><param name="bgcolor" value="#efefef" /><param name="align" value="middle" /><param name="src" value="http://share.flattenme.com/ads/flattenme-ad-468x60.swf" /><param name="allowfullscreen" value="false" /><param name="quality" value="high" /><embed type="application/x-shockwave-flash" width="468" height="60" src="http://share.flattenme.com/ads/flattenme-ad-468x60.swf" quality="high" allowfullscreen="false" align="middle" bgcolor="#efefef" name="super_1"></embed></object>"
</embed> is def required
the load of code I posted will work also if you have issues
A bigger question is are you sure that whatever company your getting that banner from only has flash banners?
usually you should have an html only option
I didn't even realize it's flash - how do you tell? I'm not sure if they all are - it doesn't give you the option. They show you the different banners, that just click "get the special link code"
You're saying </embed> is required at the end?
the error message is saying that you need </embed> at the end
you can tell its flash because it says
xxxxxxblah.SWF (shockwave flash) and has a plug in backup that would send your viewer to the macromedia pages if their browser wasnt updated.
no big deal...just usually your advertiser will provide options...lots of flash slows down your page load time, the one little banner wont make a difference
you would just copy that code..its how wp (wordpress) autocorrected your original code
but I just noticed that neither example I posted is clickable..so your problem isnt solved, although it displays
ok, I added </embed> to the end of that section I showed you and it accepted it with no error. I viewed the post and clicked on the banner and it did take me to the vendor's site, although I think I just violated the TOS by clicking on the banner myself!
Sunforged, you're the best - thank you so much for your help with this!
Darkside - thanks to you as well!
Im an affiliate for just about every arts related product I can find
In the share-a-sale console, you selected special links when you should select from
banners instead http://www.shareasale.com/a-getmerchant … type=image
and I think you were joking but....you can click on that ad all day long if you want, you get 11% sales commission, it doesnt cost your advertiser anything if you click..so no TOS worries...you can purchase from yourself with no worries in SAS also, its kind of antiquated in its methods..a sale is a sale
Oooooooooooo! Now I think I finally understand something!
I just signed up for share a sale and apparently have a lot of ropes to learn still.
Thanks again, Sunforged.
by Gener Geminiano7 years ago
How can I embed hubpages widget to my site, please reply asap, thanks in advance to those who will provide me the answers...
by nick0714385 years ago
I have seen somewhere in the net very interesting, unique and fascinating banner appropriate for use in hubs or blogs. To me they can easily capture interest of people because they blink, glitter, light-out and...
by Christina M. Castro6 years ago
When I went to add to a hub of mine with a YouTube video, the Embed code was pasted but when I clicked to preview the video, Nothing Loaded. Why is it not loading? This happened several times in two days. Help,...
by May Galnou6 years ago
I recently wrote a book review and a KQEDArts suggested I embed the code to an audio recording of the author reading a section of his work from their website. But I can't seem to find anyway to do this. Does...
by Michael Willis6 years ago
I have even tried different YouTube embeds to see if one was wrong or the link bad, but still unable to get anything to work. All it keeps saying is that the URL is not recognized.Is YouTube no longer a viable video...
by fen lander5 years ago
I've never had this problem before and have always used Chrome. I try to upload a photo or other image from my saved files and the Hubpages uploader can't do it. This is driving me nuts! Anyone got any answers? Please??...
Copyright © 2017 HubPages Inc. and respective owners.
Other product and company names shown may be trademarks of their respective owners.
HubPages® is a registered Service Mark of HubPages, Inc.
HubPages and Hubbers (authors) may earn revenue on this page based on affiliate relationships and advertisements with partners including Amazon, Google, and others.