Search Header Logo

Quiz - 3

Authored by KEERTHI BADUGU

Computers

Professional Development

Used 2+ times

Quiz - 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the <template> element in HTML5?

  • a) To create a reusable block of code that can be used anywhere in the document.

  • b) To define a hidden content section that will not be rendered until it is called upon.

  • c) To enhance the SEO of a webpage.

  • d) To provide a mechanism for data binding in forms.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid use of the data-* attribute in HTML5?

  • a) <div data-id="123">Content</div>

  • b) <span data-name="example">Example</span>

  • c) <img data-src="image.jpg" alt="Image">

  • d) All of the above.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you specify a fallback font for a custom web font in HTML?

  • a) Using the fallback attribute in the <style> element.

  • b) Specifying multiple font-family values in CSS.

  • c) Using the <fallback> element.

  • d) Declaring a default-font property in CSS.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which HTML5 element is used to specify self-contained content, potentially with an independent context?

  • a) <div>

  • b) <section>

  • c) <article>

  • d) <aside>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the rel="noopener noreferrer" attribute in an anchor tag?

  • a) To disable the link.

  • b) To open the link in a new window.

  • c) To improve security by preventing the new page from accessing the window.opener property.

  • d) To enhance the SEO of the link.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the isolation property in CSS do?

  • a) It specifies how an element's background color should blend with its parent element.

  • b) It prevents an element's background and border from being visible outside its content box.

  • c) It defines whether an element's descendants are isolated from the element’s blend mode.

  • d) It determines the z-index stacking context of an element.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In CSS Grid Layout, what does the grid-template-areas property define?

  • a) The size of the grid items.

  • b) The number of rows and columns in the grid.

  • c) A visual layout of the grid items using named grid areas.

  • d) The gap between grid items.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?