What is an embed code?


The "embed code" is a block of HTML which is embedded in the page-source and creates an object in doing so. 

HTML: one of the most basic languages used on the web, used to design and lay out web pages. You often see this code when you're in the "back end" of your blog post.

Here's what a string of HTML code looks like:

<a href=http://www.askleaves.com/>Cannabis Research A-Z</a>

1) Generate Cannabis Research code

2) Highlight the embed code, then copy it to your clipboard.

On Windows, press Control + C. On Mac, press Command + C. Or, right click on your selection and choose 'Copy.'

3) In your content management system, open up your HTML viewer.

4) Paste the HTML snippet you just copied into your HTML viewer window. Then click 'OK' or 'Save.'

Be sure you're not pasting it within another snippet of code -- otherwise you will see errors on your web page. This step is the same regardless of content management system.

Example of a Facebook fan page HTML code in action

Code can be embedded anywhere. Twitter, Facebook, and Youtube, all can be embedded into any HTML document. The following code is an example of a Facebook fan page feed, Too easy!


<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FMJSeedguide?sk=timeline&amp;width=600&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=true&amp;header=true&amp;height=666" style="border: medium none ; background: white none repeat scroll 0%; overflow: hidden; width: 500px; height: 620px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; float: left;" allowtransparency="true" scrolling="yes" frameborder="0"></iframe></p>

This is what the code produces on a website or blog.