Skip to main content
U.S. flag

An official website of the United States government

Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

HTTPS

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.

Home > Embed Web Content > Publishing Instructions

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

Types of Digital Content Available in the Tobacco Education Resource Library

Step-by-Step Publishing Instructions

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:

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

  1. 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.
    Link: Web Pages
  2. To preview the text that will be placed on your website, click on "Get Full Text for Embedding."
    Link: Get Full Text for Embedding
  3. 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.)
  4. Copy and paste the item's code on the specific webpage where you want this content to reside on your site.
    Text Area: Copy this code to your site.
  5. 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

  1. Browse Embed Web Content > Media to find images and interactive media to embed.
    Link: Web Content - Media
  2. Preview the image or interactive media and see more information about it, by clicking on "Preview Media Item."
  3. 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.)
  4. Copy and paste the item's code on the specific webpage where you want this image to reside on your site.
    Text Area: Copy this code to your site.
  5. 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

  1. After signing in, choose "3D image" under Media.
    Link: Embed Web Content - 3D Image
  2. Copy and paste the item's code on the specific webpage where you want this image to reside on your site.
    Text Area: Copy this code to your site.
  3. Publish the content on your website. Every time CTP updates the content you have embedded, it will automatically update on your website as well.