With Samepage, you can embed HTML code directly to your page. Embedding HTML enables you to add visual or interactive content such as videos, presentations, surveys and more.
If a website with content you’d like to share has an ’embed’ link, simply copy the entire HTML code and paste it directly to the page.
Or, you can click the green plus on your page, select HTML from the drop-down menu, and paste the link in the space provided.
Embedding a Google Doc
Below is an advanced tip if you want to embed a Google Doc onto your page. You’ll need two things:
- This iFrame code: <iframe frameborder=”0″ height=”400″ width=”750″ scrolling=”yes” src=”GOOGLE LINK GOES HERE“></iframe>
- The shareable link from your Google doc (See the blue Share button? Click that and copy the link)
Paste the Google link in the iFrame code in between the quotation marks, where it says “GOOGLE LINK GOES HERE” then copy the entire iFrame code.
On your page, click the green plus and select HTML from the drop-down menu. Paste the iFrame code in the field. You should now see your Google Doc on your page.
Embedding iframes in general
When embedding an iframe, setting the width to 100% is generally a good idea. It’ll help in ensuring a proper display on mobile devices and other small screens. Many platforms give you iframe code that includes a set width, such as width=”560″. Simply change the 560 to 100% and your iframe will automatically adjust to fit the size of your screen.