【判断题】【消耗次数:1】
动态页面只包含HTML元素和CSS样式。
正确
错误
参考答案:
复制
纠错
相关题目
【判断题】 静态页面只包含HTML元素和CSS样式。
①  正确
②  错误
【单选题】 如果一个元素外层套用了HTML样式,内层套用了CSS样式,在起作用的是____。
①  两种样式的混合效果
②  冲突,不能同时套用
③  CSS样式
④  HTML样式
【判断题】 CSS能将样式的定义和HTML文件内容分离。
①  正确
②  错误
【单选题】 给html页面元素设置样式,字体大小为20px,是下列哪个选项?
①  username{ font-size: 20px; }
②  .username{ font: 20px; }
③  #username{ font-size: 20px; }
④  username{ size: 20px; }
【单选题】 下列能够正确在一个html页面中导入在同一个目录下的“style.css”样式表的是?
①  link rel=stylesheet type=text/css href=styles.css
②  style type=text/css href=”styles.css” /style
③  script type=text/javascript src=styles.css /script
④  link type=text/css rel=styles.css
【单选题】 在HTML中,以下关于CSS样式中文本属性的说法,错误的是( )
①  font-size用于设置文本字体的大小
②  font-family用于设置文本的字体类型
③  color用于设置文本的颜色
④  text-align用于设置文本的字体形状
【单选题】 CSS样式,id选择器使用HTML元素的id属性,用下面哪一个来定义?*
①  {}
②  .
③  id
④  #
【单选题】 CSS样式,id选择器使用HTML元素的id属性,用下面哪一个来定义?
①  $
②  .
③  *
④  #
【单选题】 在HTML中,以下关于CSS样式中文本及字体属性的说法,错误的是( )。
①  font-size用来设置文本字体的大小
②  font-type用来设置字体的类型
③  text-align用来设置文本的对齐方式
④  font-weight用来设置字体的粗细
【单选题】 使用css样式,给html标签设置右内边距,使用的是下面那个样式?
①  margin-right
②  margin-left
③  padding-right
④  padding-left
随机题目
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=4,b=3,c=5,t=0; if(aa=b;b=t; if(aa=c;c=t; printf(%d,%d,%d\n,a,b,c); }
①  5,0,3
②  4,5,6
③  5,1,3
④  3,4,6
【单选题】 执行以下语句后a的值为( )。 Int a,b,c; a=b=c=1; ++a||++b++c
①  01
②  0
③  2
④  1
【单选题】 执行以下语句后b的值为( )。 Int a=5,b=6,w=1,x=2,y=3,z=4; (a=wx)(b=y
①  6
②  0
③  1
④  4
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=4,b=3,c=5,t=0; if(aa=b;b=t; if(aa=c;c=t; printf(%d,%d,%d\n,a,b,c); }
①  5,1,3
②  4,5,6
③  5,0,3
④  3,4,7
【单选题】 下述程序的运行结果( )。 #includevoid main() { int x=1,a=0,b=0; switch(x) { case 0:b++; case 1:a++; case 2:a++;b++; } printf(a=%d,b=%d\n,a,b); }
①  a=2,b=1
②  a=1,b=2
③  a=0,b=1
④  a=1,b=0
【单选题】 下述程序的运行结果( )。 #includevoid main() { int x=1,a=0,b=0; switch(x) { case 0:b++; case 1:a++; case 2:a++;b++; } printf(a=%d,b=%d\n,a,b); } case 1:a++; case 2:a++;b++; } printf(a=%d,b=%d\n,a,b); }
①  a=1,b=1
②  a=2 ,b=1
③  a=2,b=2
④  a=3,b=3
【单选题】 请阅读以下程序: main() {int a=5,b=0,c=0; if(a=b+c) printf(***\n else printf($$$\n
①  以上程序:有语法错误不能通过编译
②  可以通过编译但不能通过连接
③  输出***
④  输出$$$
【单选题】 以下不正确的if语句形式是( )。
①  if (xx!=y)
②  if(x==y)x+=y
③  if(x!=y)scanf(%d,x)else scanf(%d,
④  if(XY) {X++;Y++};
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=1,b=2,c=3; if(c=a)printf(%d\n else printf(%d\n }
①  1
②  3
③  5
④  6
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=5,b=4,c=3,d=2; if(ac)printf(%d\n else if((c-1=d)==1)printf(%d\n,d+1); else printf(%d\n,d+2); }
①  0
②  1
③  2
④  3