SóProvas


ID
1340230
Banca
CESPE / CEBRASPE
Órgão
BACEN
Ano
2013
Provas
Disciplina
Programação
Assuntos

Acerca das folhas de estilo (CSS), julgue o  item  seguinte.

A propriedade padding permite que o usuário redimensione um elemento HMTL, como < div >, por exemplo. A sintaxe correta para essa propriedade é

div

{
padding:both;

}

Alternativas
Comentários
  • Padding

    The padding clears an area around the content (inside the border) of an element. The padding is affected by the background color of the element.

    The top, right, bottom, and left padding can be changed independently using separate properties. A shorthand padding property can also be used, to change all paddings at once.

    O Padding só assume como propriedades valores absolutos ou relativos  ...
    Sendo assim, padding:both; - não existe .... 

    []'s

  • o valor "both" não existe na propriedade padding.

  • e-

    The CSS padding properties are used to generate space around an element's content, inside of any defined borders.

    With CSS, you have full control over the padding. There are properties for setting the padding for each side of an element (top, right, bottom, and left).