How to hide your iframe from Search Engine

in

 "rel=nofollow" is not a recognised attribute for the <iframe> tag according to W3C specs.
 
 Use some javascript and document.write to place the iframe code on the page. You'll still need to make sure that the url is recognised as being a url, so I'd suggest first passing the html through the javascript escape() function, then copying and pasting that into the javascript code:
 
 <script type="text/javascript">
document.write( unescape('your%20escaped%20html%20code') );
</script>

or, place it in an external .js file, in a directory blocked by robots.txt, and write it to an element using getElementById() in the page.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Captcha
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.