HTML Intermediate Quizzes

Inline Frames Quiz

The questions in these HTML quizzes are on the topics covered in the HTML5 Advanced section of the site. The table below lists the lesson used for each quiz, a description of the lesson content and the quiz number and questions associated with that lesson.

HTML Advanced Quiz Summary

Click on a lesson in the table to go to that lesson for a refresher on the topics for that quiz.

Click on a quiz in the table to go straight to the quiz for a particular lesson.

HTML5 Advanced Lessons Description Quiz Info.
Lesson 1 - Scripting In this lesson we look at the scripting tags available in HTML.Quiz1
7 questions
Lesson 2 - HTML Structure - PageIn this lesson we take a final look at structural tags and how they affect the page structure of our HTML.Quiz2
7 questions
Lesson 3 - Image MapsIn this lesson we learn how to add interaction to our images.Quiz3
7 questions
Lesson 4 - MediaIn this lesson we learn about the media tags introduced in HTML5.Quiz4
7 questions
Lesson 5 - Graphics & VisualsIn this lesson we look at the graphical and visual tags introduced in HTML5.Quiz5
7 questions
Lesson 6 - Embedded ObjectsIn this lesson we learn how to embed objects in our web pages.Quiz6
7 questions
Lesson 7 - Inline FramesIn this lesson we learn how to define iframes which are inline frames that hold another document.This quiz.
6 questions
Lesson 8 - Widgets / MiscellaneousIn this lesson we learn about the widget and miscellaneous tags introduced in HTML5.Quiz8
6 questions
Lesson 9 - Advanced TablesIn this lesson we learn about advanced HTML table features.Quiz9
7 questions
Lesson 10 - Advanced FormsIn this lesson we learn about advanced HTML form features.Quiz10
8 questions

HTML Advanced Quiz 7

The quiz below tests your knowledge of the material learnt in HTML5 Advanced - Lesson 7 - Inline Frames.

Question 1 : Which HTML tag allows us to define an inline frame?
- The <code>iframe</code> HTML tag allows us to define an inline frame.
Question 2 : We should provide fallback content when using the <iframe> HTML tag for when the browser doesn't support inline frames?
- Prior to HTML5, some text could be added between the opening and closing <code>iframe</code> tags as a fallback for when the <code>iframe</code> tag wasn't supported in a browser, this is no longer allowed and will cause an error when validating a HTML5 document.
Question 3 : Which attribute of the <iframe> HTML tag is used for displaying inline HTML content?
- We use the <code>srcdoc</code> attribute of the <code>iframe</code> HTML tag for displaying inline HTML content.
Question 4 : Which attribute is mandatory when using the <iframe> HTML tag?
- The <code>iframe</code> HTML tag has no mandatory attributes.
Question 5 : Due to browser cross origin policies the <iframe> HTML tag can only inline same site content?
- The <code>iframe</code> HTML tag can inline content from anywhere and uses attributes to control access.
Question 6 : Which <iframe> attribute takes precedence when displaying the contents of an inline frame?
- The contents of the <code>srcdoc</code> attribute will be displayed if supported in the browser, otherwise the contents of the <code>src</code> attribute will be displayed.
Quiz Progress Bar Please select an answer

Related Tutorial

HTML5 Advanced - Lesson 7 - Inline Frames


What's Next?

In the next quiz we test your knowledge of inline frames.