在id为title的div中设置单行文本垂直居中对齐,下列代码正确的是( )。
A: title{font-size:10px;height:20px;line-height:20px;}
B: title{font-size:16px;height:20px;vertical-align:middle}
C:
D: title{font-size:16px;height:20px;line-height:20px;}
E:
F: title{font-size:16px;height:20px;vertical-align:middle}
A: title{font-size:10px;height:20px;line-height:20px;}
B: title{font-size:16px;height:20px;vertical-align:middle}
C:
D: title{font-size:16px;height:20px;line-height:20px;}
E:
F: title{font-size:16px;height:20px;vertical-align:middle}
举一反三
- 在id为title的div中设置单行文本垂直居中对齐,下列代码正确的是()(选择一项) A: .title{font-size:16px;height:30px;line-height:30px;} B: C: title{font-size:16px;height:30px;line-height:30px;} D: E: title{font-size:16px;height:30px;vertical-align:middle} F: .title{font-size:16px;height:30px;vertical-align:middle}
- 设置DIV宽为500像素和高为400像素的正确方法是? A: height:500 px; width:400 px; B: margin:500px; padding:400 px; C: padding:500 px;margin:400 px; D: width:500 px;height:400 px;
- <p style="font-size: medium;white-space: normal;line-height: 1.25px"><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">8.</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px"><span style="font-family:宋体">下列酯在酸性条件下发生水解反应的速度次序是</span></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">( )</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px"><span style="font-family:宋体">。</span></span></p><p style="font-size: medium;white-space: normal;text-indent: 32px;line-height: 1.25px"><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">①</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">CH</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">3</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">CO</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">2</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">C(CH</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">3</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">)</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">3</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px"> </span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">②</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">.CH</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">3</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">CO</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">2</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">CH</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">2</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">CH</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">3</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px"> </span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">③</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">.CH</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">3</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">CO</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">2</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">CH(CH</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">3</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">)</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">2</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px"> </span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">④</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">.CH</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">3</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">CO</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">2</span></sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">CH</span><sub><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px;vertical-align: sub">3</span></sub></p><p style="font-size: medium;white-space: normal;text-indent: 32px;line-height: 1.25px"><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">A.</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">④</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">③</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">②</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">①</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px"> B.</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">①</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">③</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">②</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">④</span></p><p style="font-size: medium;white-space: normal;text-indent: 32px;line-height: 1.25px"><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">C.</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">④</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">②</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">③</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">①</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px"> D.</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">①</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">②</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">③</span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">></span><span style="font-family: 宋体;line-height: 20px;color: rgb(17, 17, 17);font-size: 16px">④</span></p><p><br/></p>
- 有以下程序段:#include int main(){int x[ ] = {10, 20, 30}; int *px = x;printf("%d, ", ++*px); printf("%d, ", *px); px = x;printf("%d, ", (*px)++); printf("%d, ", *px); px = x;printf("%d, ", *px++); printf("%d, ", *px); px = x;printf("%d, ", *++px); printf("%d\n", *px);return 0;}程序运行后的输出结果是( ) A: 20, 10, 11, 10, 11, 10, 11, 10 B: 11, 11, 11, 12, 12, 20, 20, 20 C: 20, 10, 11, 20, 11, 12, 20, 20 D: 11, 11, 11, 12, 12, 13, 20, 20
- 有以下程序段:#include stdio.hint main(){int x[ ] = {10, 20, 30}; int *px = x;printf(%d, , ++*px); printf(%d, , *px); px = x;printf(%d, , (*px)++); printf(%d, , *px); px = x;printf(%d, , *px++); printf(%d, , *px); px = x;printf(%d, , *++px); printf(%d\n, *px);return 0;}程序运行后的输出结果是( )。 A: 11, 11, 11, 12, 12, 20, 20, 20 B: 20, 10, 11, 10, 11, 10, 11, 10 C: 11, 11, 11, 12, 12, 13, 20, 20 D: 20, 10, 11, 20, 11, 12, 20, 20