Logo

Html-and-css Questions Set 101:

Quiz Mode

The <optgroup> tag is used to group related options in a drop-down list.

1
2
3
4

Solution:

Which of the following are examples of client-side scripting languages?

1
2
3
4

Solution:

The ____________ shorthand CSS property sets an element's left border.

1
2
3
4

Solution:

The ______________ CSS data type denotes a pointer to a resource, such as an image or a font.

1
2
3
4

Solution:

How can we change font colors using only HTML?

1
2
3
4

Solution:

The ____________ CSS property specifies how words should be hyphenated when text wraps across multiple lines.

1
2
3
4

Solution:

The scroll-snap-type CSS property sets how strictly snap points are enforced on the scroll container in case there is one.

1
2
3
4

Solution:

The <blend-mode> CSS data type describes how colors should appear when elements overlap. It is used in the background-blend-mode and mix-blend-mode properties.

1
2
3
4

Solution:

How can you underline the text within the following HTML element?

<p id="underline">Text</p>

1
2
3
4

Solution:

Set the width of the border of the following element using the border-width property:

<p class="first">Line 1</p>

1
2
3
4

Solution: