【摘要】:A.上、下、左、右B.左、底、右、顶C.顶、右、底、左D.顶、左、底、右3.CSS 属性text-decoration 可以设置为以下( )一组值。A.none、justfy、left、rightB.none、left、center、rightC.none、underline、overline、line-throughD.none、capitalize 、uppercase、lowercase4.以下有关字体的CSS 属性的说法,错误的是( )。A.list-style-type、list-style-position、list-style-imageB.list-style-position、list-style-type、list-style-imageC.list-style-image、list-style-position、list-style-typeD.list-style-type、list-style-image、list-style-position6.创建一个HTML 页面,在其中编写CSS 样式代码。设置了背景颜色的页面7.在HTML 中使用无序列表显示商品信息,在其中编写CSS 样式代码。商品列表本章将详细介绍常用的CSS 样式属性。
视频教学资源
学校目标
理解并掌握与背景相关的样式属性
理解并掌握与边框相关的样式属性
理解并掌握与文本相关的样式属性
理解并掌握与字体相关的样式属性
理解并掌握与列表相关的样式属性
理解并掌握其他常用的样式属性
本章单词
请在预习前完成下列单词的学习,将其写在横线上。
① repeat([rɪ'pi:t] 重复)___________________________________________
② fixed([fɪkst] 固定的,不变的)_____________________________________
③ transparent([trænsˈpærənt] 显而易见的,透明的)____________________
④ uppercase(['ʌpəˌkeɪs] 大写字母)__________________________________
⑤ underline([ˌʌndə'laɪn] 下划线,强调)______________________________
⑥ medium(['mi:dɪəm]中间的,中等的)_________________________________
⑦ alpha(['ælfə]希腊字母的第一个字母)________________________________
⑧ disc([dɪsk] 唱片,圆盘)___________________________________________
⑨ square([skweə(r)] 正方形,平方)__________________________________
⑩ outside([ˌaʊtˈsaɪd] 户外,在外边,超出范围)________________________
⑪ visibility([ˌvɪzəˈbɪləti] 可见性,能见度)________________________
预习任务
1.为了使背景图像固定,不随内容一起滚动,可以为css 的( )属性赋值为( )。(选择一项)
A.background-image no-repeat
B.background-attachment no-repeat
C.background-image fixed
D.background-attachment fixed(www.chuimin.cn)
2.使用border-width 属性设置4 个边框的粗细,顺序应为( )。(选择一项)
A.上、下、左、右
B.左、底、右、顶
C.顶、右、底、左
D.顶、左、底、右
3.CSS 属性text-decoration 可以设置为以下( )一组值。(选择一项)
A.none、justfy、left、right
B.none、left、center、right
C.none、underline、overline、line-through
D.none、capitalize 、uppercase、lowercase
4.以下有关字体的CSS 属性的说法,错误的是( )。(选择一项)
A.可以为font-style 赋值为italic
B.可以为font-variant 赋值为normal
C.可以为font-weight 赋值为bold
D.可以为font-family 赋值为normal
5.使用list-style 设置列表项目的符号类型、位置、图像时,正确的顺序应为( )。(选择一项)
A.list-style-type、list-style-position、list-style-image
B.list-style-position、list-style-type、list-style-image
C.list-style-image、list-style-position、list-style-type
D.list-style-type、list-style-image、list-style-position
6.创建一个HTML 页面,在其中编写CSS 样式代码。为页面设置背景颜色,如下图所示。(参考本章例6.1)
设置了背景颜色的页面
7.在HTML 中使用无序列表显示商品信息,在其中编写CSS 样式代码。使用图片替换无序列表的符号,如下图所示。(参考本章例6.5)
商品列表
本章将详细介绍常用的CSS 样式属性。
相关推荐