How to add embed code to your website using iframe

To increase the visibility of your site or code, you can make use of embed code to your site so that the user can place the your code in their site thus it will improve the visibility of your code.

Now, Let us see how to add the embed code to your site using iframe

1. Place your source url that code that contains the code, adjust the height and width in the below code

<iframe marginwidth='0' marginheight='0' frameborder='0'  width='600px' height='700px' scrolling='no' src='http://thequotes.net/quotes/gallery/quotesgallery.php'></iframe><div><a target='_blank' title='Quotes Gallery' href='http://thequotes.net/quotes/gallery/index.html'><font size='-2'>Get Widget</font></a></div>

2. Now, place the above code inside the textbox

<textarea rows='3' cols='100'><iframe marginwidth='0' marginheight='0' frameborder='0'  width='600px' height='700px' scrolling='no' src='http://thequotes.net/quotes/gallery/quotesgallery.php'></iframe><div><a target='_blank' title='Quotes Gallery' href='http://thequotes.net/quotes/gallery/index.html'><font size='-2'>Get Widget</font></a></div></textarea>

3. To select all the content inside the textbox add this to your textarea

<textarea rows='3' cols='100' onclick="this.focus();this.select()"></textarea>

OUTPUT:

Posted in Html Tagged with: ,