html网页设计-带答案.docxVIP

  • 97
  • 0
  • 约2.26万字
  • 约 26页
  • 2020-08-12 发布于江苏
  • 举报
HTML 网页设计 1、哪个 HTML 属性可用来定义内联样式 ( )(选 1 项 ) A)font B)class C)styles D)style √ 2、如何为所有的 h1 元素添加背景颜色 ( )(选 1 项 ) A)h1.all {background-color:#FFFFFF} B)h1 {background-color:#FFFFFF} √ C)all.h1 {background-color:#FFFFFF} D)h1 {color:#FFFFFF} 3、在 css 中 ,与 rgb(50%,0%,50%)表示的颜色相同的是 ( )(选 1 项 ) A)rgb(128,0,128) √ B)#FF00FF C)#F0F D)rgb(255,0,255) 4、CSS 指的是 ( )(选 1 项 ) A)Computer Style Sheets B)Cascading Style Sheets √ C)Creative Style Sheets D)Colorful Style Sheets 5、下面 css语法有误的是 ( )(选 1 项) A)h3,h4h5{color:red} √ B)body{font-size:20px;} C)a{color:red} D)font.html{color:blue} 6、一条 css语句的基本结构主要有哪几个部分组成 ( )(选 3 项 ) A)选择符 √ B)函数名 C)属性名 √ D)属性值 √ E)事件处理句柄 7、在 css 的文本属性中 ,text-decoration : overline 表示 ( )(选 1 项 ) A)不用修饰 B)下划线 C)上划线 √ D)横线从文字中间穿过 8、外部样式表文件的扩展名为 ( )(选 1 项 ) HTML 网页设计 A).JS B).DOC C).HTML D).CSS √ 9、如何显示这样一个边框:上边框  10 像素、下边框  5 像素、左边框  20 像素、右边框  1 像素( )(选 1项) A)border-width:10px 5px 20px 1px B)border-width:10px 20px 5px 1px C)border-width:5px 20px 10px 1px D)border-width:10px 1px 5px 20px  √ 10、在以下的  CSS 中 ,如何改变元素的左边距  (  )(选  1 项) A)text-indent B)margin-left  √ C)margin-right D)padding 11、在以下的 CSS 中 ,如何使文本变为粗体 ( )(选 1 项 ) A)font:b B)font-weight:bold √ C)style:bold D)font-style:bold 12、在以下的 CSS 中 ,如何使文本变为斜体 ( )(选 1 项 ) A)font:italic B)font-weight:italic C)font-family:italic D)font-style:italic √ 13、在以下的 CSS 中 ,可使所有 p 元素变为粗体的正确语法是 ( )(选 1 项 ) A)p style=font-size:bold B)p style=text-size:bold C)p {font-weight:bold} √ D)p {text-size:bold} 14、在以下的 CSS 中 ,如何显示没有下划线的超链接 ( )(选 1 项 ) A)a {text-decoration:none} √ B)a {text-decoration:no underline} C)a {underline:none} D)a {decoration:no underline} 15、在 css 中 ,如何改变某个元素的文本颜色 ( )(选 1 项 ) A)text-color HTML 网页设计 B)color √ C)fgcolor D)fontcolor 16、哪个 CSS 属性可控制文本的尺寸 ( )(选 1 项) A)font-size √ B)font-style C)font-weight D)text-size 17、 HTML 的中注释符是 ( )(选 1 项) A)//this is a comment B)//this is a comment// C)/*this is a comment*/ D)!--this is a comment-- √ 18、 CSS的注释符是( )(选 1 项) A)//this is a comment// B)//this is a com

文档评论(0)

1亿VIP精品文档

相关文档