हिंदी

Attributes used with iframe are ______.

Advertisements

प्रश्न

Attributes used with iframe are ______.

विकल्प

  • srcdoc

  • name

  • att

  • src

  • href

  • loop

MCQ
रिक्त स्थान भरें
Advertisements

उत्तर

Attributes used with iframe are srcdoc, name, and src.

Explanation:

  • src → Specifies the URL of the page to display inside the iframe.
  • name → Gives a name to the iframe (useful for targeting links).
  • srcdoc → Allows embedding HTML content directly inside the iframe.

Why others are incorrect:

  • href → Used in links (<a>), not in <iframe>.
  • loop → Used in media elements like audio/video, not iframe.
  • att → Not a valid HTML attribute.
shaalaa.com
Inline Frame in HTML5
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1: Advanced Web Designing - Exercise [पृष्ठ २५]
Advertisements
Share
Notifications



      Forgot password?
Use app×