Gestalte GoConqr mit. Was sollen wir als Nächstes hinzufügen?

Quiz

N5 Computing Science (WDD) - HTML + CSS 2

Ian Simpson 5 Fragen 5,0 (1 Bewertung)

Quiz starten

Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.

Fragen in diesem Quiz (5)

  1. 1When using internal CSS, all style information should be inside the <HEAD> tags.
    1. ARichtig
    2. BFalsch
  2. 2Select all lines of code below which contain CSS, not HTML
    1. Abackground-color: lightblue;
    2. B<a href="index.html">Home page</a>
    3. Ch1 {
    4. D<h1>
  3. 3Complete the CSS code below to make the any HTML <H1> tags appear in red and in the centred on the screen:

    <!DOCTYPE html>
    <html>
    <head>
    <title>repl.it</title>
    <style>
    h1 {
    [blank_start]color: red;[blank_end]
    text-align: [blank_start]center[blank_end];
    }
    </style>
    </head>
    <body>
    <h1>Heading 1</h1>
    <h2>Heading 2</h2>
    <p>A paragraph of text</p>
    </body>
    </html>
    Bild zu Frage 3
    1. Acolor: red;
    2. Bcolor: blue;
    3. Ccolor: green;
    4. Dcenter
    5. Eleft
    6. Fright
  4. 4Complete the CSS code below to make the HTML <P> tags appear in a different font from the <H1> and <H2> tags:

    <!DOCTYPE html>
    <html>
    <head>
    <title>repl.it</title>
    <style>
    [blank_start]h1[blank_end],h2 {
    font-family: Verdana;
    }
    [blank_start]p[blank_end] {
    font-family: [blank_start]Times New Roman[blank_end];
    }
    </style>
    </head>
    <body>
    <h1>Heading 1</h1>
    <h2>Heading 2</h2>
    <p>A paragraph of text</p>
    </body>
    </html>
    1. Ah1
    2. Bp
    3. CTimes New Roman
    4. DVerdana
  5. 5Complete the CSS code below to make the webpage look like the image shown:

    <!DOCTYPE html>
    <html>
    <head>
    <title>repl.it</title>
    <style>
    body {
    background-color: [blank_start]blue[blank_end];
    }
    h1,h2 {
    font-family: Verdana;
    background-color: [blank_start]yellow[blank_end];
    [blank_start]color: blue;[blank_end]
    padding: 14px 25px;
    text-align: center;
    }
    p {
    font-family: Times New Roman;
    [blank_start]color: yellow;[blank_end]
    }
    </style>
    </head>
    <body>
    <h1>Heading 1</h1>
    <h2>Heading 2</h2>
    <p>A paragraph of text</p>
    </body>
    </html>
    Bild zu Frage 5
    1. Ablue
    2. Byellow
    3. Ccolor: blue;
    4. Dcolor: yellow;

Informationen

Beschreibung
Introduction to CSS
Sprache
English
Aufrufe
284
Schlagwörter
htmlcssweb designn5national 5computing sciencecomputinga level
Bewertung
5,0 von 5 · 1 Bewertung
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Was sollen wir als Nächstes hinzufügen?