An official website of the United States government
Here’s how you know
Official websites use .gov
A .gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A lock (
) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Tobacco Education Resource Library Digital Content: Publishing Instructions
On this page, learn about embedding content and how to publish the different types of digital content available in the Tobacco Education Resource Library:
About Embedding Content: Frequently Asked Questions
What is embedding content?
The Tobacco Education Resource Library allows you to place content – either text or images – from the FDA Center for Tobacco Products (CTP) website on your own website. When embedded, content is automatically updated on your website whenever it is updated on FDA's website.
Why should I embed content?
There are many reasons to embed FDA/CTP content:
Gain direct access to expert-reviewed tobacco education content without having to create it yourself.
Publish the content rather than linking to it so visitors stay on your site. The content is presented in the look and feel of your website.
No need to update or maintain the content because it is monitored and updated by CTP. Any updates to embedded content automatically appear on your site.
How does it work?
The Tobacco Education Resource Library's robust application programming interface (API) allows you to display FDA/CTP content on your website using Javascript or Iframe code snippets you copy/paste directly into your own website page. If you have a content management system (CMS), embedding services can also be integrated directly with your existing workflow.
Types of Digital Content Available in the Tobacco Education Resource Library
The Tobacco Education Resource Library contains several different types of digital content:
In addition, the Tobacco Education Resource Library contains print materials that you can order or download.
Step-by-Step Publishing Instructions
How to embed text for web pages
On the Tobacco Education Resource Library, go to Embed Web Content > Web Pages to find available text from FDA's web pages for you to embed.
To preview the text that will be placed on your website, click on "Get Full Text for Embedding."
To get the embed code, click the "Get the code" button. (You will be prompted to log in or register for the Tobacco Education Resource Library if you have not done so already.)
Copy and paste the item's code on the specific webpage where you want this content to reside on your site.
Publish the content on your website. Every time CTP updates the content you have embedded, it will automatically update on your website as well.
How to embed images and interactive media
Browse Embed Web Content > Media to find images and interactive media to embed.
Preview the image or interactive media and see more information about it, by clicking on "Preview Media Item."
To get the embed code, click the "Get the code" button. (You will be prompted to log in or register for the Tobacco Education Resource Library if you have not done so already.)
Copy and paste the item's code on the specific webpage where you want this image to reside on your site.
Publish the content on your website. Every time CTP updates the content you have embedded, it will automatically update on your website as well.
How to embed a 3D image
After signing in, choose "3D image" under Media.
Copy and paste the item's code on the specific webpage where you want this image to reside on your site.
Publish the content on your website. Every time CTP updates the content you have embedded, it will automatically update on your website as well.