Definitive HTML and CSS Concepts

Definitive HTML and CSS Concepts

Assessment

Flashcard

Computers

8th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

25 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which of the following is the proper way to apply the CSS code inside style.css to the about.html file? Options: Inside style.css: applyTo { href: about.html; }, Inside about.html: , Inside style.css: , Inside about.html:

Back

Inside about.html:

Answer explanation

The correct way to link the CSS file to the HTML document is by using the tag in the section of about.html. This allows the styles defined in style.css to be applied to the content of about.html.

2.

FLASHCARD QUESTION

Front

You are trying to apply the same style to several different elements in a block, with line breaks before and after. Which tag should you use?

Back

Answer explanation

The

tag is a block-level element that can contain multiple elements and allows for styling with line breaks before and after. In contrast, is inline, and