HTML Element Whitespace

HTML Element Whitespace

Assessment

Flashcard

English

University

Hard

Created by

Sary elsheikh

FREE Resource

Student preview

quiz-placeholder

7 questions

Show all answers

1.

FLASHCARD QUESTION

Front

element preserves whitespace and displays text exactly as written

Back

Pre

2.

FLASHCARD QUESTION

Front

element is used to insert a line break within text content.

Back

Br

3.

FLASHCARD QUESTION

Front

How do you add an image to a webpage?

Back

<img src="image.jpg" alt="discreptian">

4.

FLASHCARD QUESTION

Front

What is the difference between an absolute and relative file path?

Back

Absolute Path: Specifies the full URL of the file (e.g., https://example.com/image.jpg).

● Relative Path: Specifies the file location relative to the current document (e.g., images/photo.jpg).

5.

FLASHCARD QUESTION

Front

What are the three types of lists in HTML?

Back

Ordered List (

  1. ) – Numbered list.

  2. 2. Unordered List (

    • ) – Bulleted list.

    • 3. Description List

    • – List of terms with descriptions.

6.

FLASHCARD QUESTION

Front

What is the purpose of a

list in HTML?

Back

(description list) is used to create term-description pairs.

7.

FLASHCARD QUESTION

Front

: How do you change the numbering style in an ordered list?

Back

<ol type="A">

<li>banana</li>

<li>apple</li>

</ol>