English

State whether the following statement is True or False. Srccode specifies the HTML content of the page to show in the <iframe>.

Advertisements

Question

State whether the following statement is True or False.

Srccode specifies the HTML content of the page to show in the <iframe>.

Options

  • True

  • False

MCQ
True or False
Advertisements

Solution

The given statement is false.

Explanation:

The attribute used to specify the HTML content of the page directly inside an is “srcdoc”, not “srccode”. The srcdoc attribute allows you to write inline HTML code directly within the tag instead of linking to an external file using the src attribute.

shaalaa.com
Inline Frame in HTML5
  Is there an error in this question or solution?
Chapter 1: Advanced HTML5 - Exercise [Page 24]
Advertisements
Share
Notifications



      Forgot password?
Use app×