Skip to main content
HTML Validation

The element “iframe” must not appear as a descendant of the “a” element.

About This HTML Issue

The <iframe> HTML element represents a nested browsing context, embedding another HTML page into the current one.

As the iframe is a container that holds an embedded HTML page, it cannot be nested inside an a tag.

Learn more:

Last reviewed: March 08, 2023

Was this guide helpful?

Find issues like this automatically

Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.

Ready to validate your sites?
Start your free trial today.