adam.corkett
Quiz por , criado more than 1 year ago

HTML and CSS Quiz sobre CSS Box Model and Positioning Quiz, criado por adam.corkett em 15-05-2013.

481
0
1
adam.corkett
Criado por adam.corkett aproximadamente 11 anos atrás
Fechar

CSS Box Model and Positioning Quiz

Questão 1 de 10

1

In a HTML web page an identifier is:

Selecione uma das seguintes:

  • A unique reference to an HTML element.

  • A reference to multiple instances of an HTML element.

  • A unique reference to an HTML page.

Explicação

Questão 2 de 10

1

A class can be used to:

Selecione uma ou mais das seguintes:

  • Style numerous instances of an HTML tag

  • Style any element in an HTML page labelled with the class name

  • Refer to a specific instance of an element.

Explicação

Questão 3 de 10

1

What is meant by a rule?

Selecione uma das seguintes:

  • A measurement of an element.

  • A style definition which references a tag, class or identifier.

Explicação

Questão 4 de 10

1

Which is the correct selector for an ID?

Selecione uma das seguintes:

  • .redText{

    }

  • #columnLeft{

    }

  • body{

    }

Explicação

Questão 5 de 10

1

Which is the correct selector for a class?

Selecione uma das seguintes:

  • #contentRight{

    }

  • body{

    }

  • .redText{

    }

Explicação

Questão 6 de 10

1

Which type of positioning would best be used to place an element in a permanent position on an HTML page?

Selecione uma das seguintes:

  • Absolute

  • Relative

  • Fixed

Explicação

Questão 7 de 10

1

Which of the statements best describes the float property of CSS?

Selecione uma das seguintes:

  • A floated element is placed next to the previous HTML element if there is enough room, otherwise it is placed underneath.

  • A floated element is positioned at the side of the screen you tell it to, it will stand over the top of other elements sharing the same space.

Explicação

Questão 8 de 10

1

Which is the correct description of the box model?

Selecione uma das seguintes:

  • The margin is added to the element, followed by the padding, followed by the border - this affects the overall actual size of the element.

  • The padding is added to the element, followed by the border, followed by the margin - this affects the overall actual size of the element.

Explicação

Questão 9 de 10

1

What is meant by document flow

Selecione uma das seguintes:

  • The way the text flows in the page

  • The way the tags are ordered originally in the HTML

  • The way the text flows within a tag

Explicação

Questão 10 de 10

1

What is meant by a compound selector?

Selecione uma das seguintes:

  • A HTML element that is embedded within another element.

  • A complicated reference to an element in a page.

Explicação