Ajude a dar forma ao GoConqr. O que a gente deve adicionar?

Quiz

N5 Computing Science (WDD) - HTML + CSS 2

Ian Simpson 5 perguntas 5,0 (1 avaliação)

Fazer o quiz

Este quiz tem tipos de pergunta que abrem no player de sempre.

Perguntas do quiz (5)

  1. 1When using internal CSS, all style information should be inside the <HEAD> tags.
    1. AVerdadeiro
    2. BFalso
  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>
    Imagem da pergunta 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>
    Imagem da pergunta 5
    1. Ablue
    2. Byellow
    3. Ccolor: blue;
    4. Dcolor: yellow;

Informações

Descrição
Introduction to CSS
Idioma
English
Visualizações
284
Etiquetas
htmlcssweb designn5national 5computing sciencecomputinga level
Avaliação
5,0 de 5 · 1 avaliação
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que a gente deve adicionar?