Page tree
Skip to end of metadata
Go to start of metadata

Purpose

An iframe allows a certain web page to load content from another source without forcing the user to navigate to that specific page.
In general, iframes should not be used as they create a strong dependency between websites over which the European institutions have no control.
In addition, an iframe could be exploited to inject potentially dangerous code.

Rule

After January 1, 2020, every web page loading content in an iframe from a source external to institutional websites will be removed.
Exceptions to this rule are newsfeeds coming from official institutional social media accounts.

Iframes can only be used to embed internal pages, specifically pages that run applications developed in the past that can't be easily replaced.

The page linked in the iframe should not have navigations or header repetition. If that's the case, you must use a hyperlink instead.

Guidelines

Sometimes external websites embed institutional content in their pages. This practice poses a reputational risk, as such websites might pretend that the EU institutions endorse or support their views.
To tackle this problem, modern browsers support the X-FRAME-OPTIONS HTTP header, which prevents the page served to be used in an iframe (if set to DENY), or can allow embedding only from the same domain (if set to SAMEORIGIN).
You are advised to specify this header and set it to SAMEORIGIN on every page. Ask your local IT point of contact for more support.

Contact and support

If you require further assistance, please contact:

Comm Europa Management

European Commission
DG Communication 
Unit B.3 
Europa Web Communication 

  • No labels

The Europa Web Guide is the official rulebook for the European Commission's web presence, covering editorial, legal, technical, visual and contractual aspects.
All European Commission web sites must observe the rules and guidelines it contains.
Web practitioners are invited to observe its contents and keep abreast of updates. Read more.