• 2022-06-30
    行间距用()属性表示
    A: line-height
    B: height
    C: text-height
    D: font-size
  • A

    内容

    • 0

      下面哪个css可以使文本水平垂直居中? A: height:40px;line-height:45px;text-align:center; B: height:45px;line-height:40px;text-align:center; C: height:45px;line-height:45px;text-align:auto; D: height:45px;line-height:45px;text-align:center;

    • 1

      line-height属性用于设置行间距,当为单行文本时,可以利用line-height与height相等来设置文本垂直居中( )

    • 2

      CSS盒子模型中表示盒子边框的属性为( ),表示盒宽度的属性为( ) A: border width B: border height C: height width D: width height

    • 3

      在HTML中,盒子模型中元素实际占位的高度应该为()。 A: height属性+padding-top+padding-bottom B: height属性+padding-top+padding-bottom+border-top+border-bottom C: height属性+margin-top+margin-bottom+border-top+border-bottom D: height属性+padding-top+padding-bottom+border-top+border-bottom+margin-top+margin-bottom

    • 4

      以下哪些属性属于可继承的属性() A: height B: width C: font-size D: margin