John Doe
Quiz by , created more than 1 year ago

Quiz on CSS Einbinden, created by John Doe on 15/02/2018.

3
0
0
John Doe
Created by John Doe about 6 years ago
Close

CSS Einbinden

Question 1 of 4

1

Die Dateiendung für eine CSS-Datei ist .txt

Select one of the following:

  • True
  • False

Explanation

Question 2 of 4

1

Wähle die Antwort aus, die korrekt eine CSS-Datei einbindet.

Select one of the following:

  • ...
    <head>
    <link href="style.css" />
    </head>
    ...

  • ...
    <head>
    <style>
    h1 {
    color: red;
    }
    </head>
    ...

  • ...
    <h1 style="color:red;">Ich bin eine Überschrift</h1>
    ...

Explanation

Question 3 of 4

1

Wähle die Antwort aus, die korrekt eine CSS-Anweisung als Attribut festlegt.

Select one of the following:

  • ...
    <head>
    <style>
    h1 {
    color: red;
    }
    </style>
    </head>
    ...

  • ...
    <h1 style="color:red;">Ich bin eine Überschrift</h1>
    ...

  • ...
    <head>
    <link href="style.css" />
    </head>
    ...

Explanation

Question 4 of 4

1

Wähle die Antwort aus, die korrekt CSS in einem Style-Element festlegt.

Select one or more of the following:

  • ...
    <h1 style="color:red;">Ich bin eine Überschrift</h1>
    ...

  • <head>
    <style>
    h1 {
    color: red;
    }
    </style>
    </head>

  • <head>
    <link href="style.css" />
    </head>

Explanation