首页 > 编程知识 正文

web期末考试试题及答案,web前端开发期末题库答案

时间:2023-05-04 23:59:23 阅读:141448 作者:174

题型与知识点

一、知识点:课程内容全覆盖(补充的html5和css3内容除外)。

使用常见的html标签和属性,使用块元素和内联元素htmlheadtitle/title/headbodyhnpfontbisuimgdivhrbr/spanpreaolliuldtdforminputtextareareastextareastion

I .字体: font-size font-family font-weight font-variant font-style font

ii .文本外观: color letter-spacing word-spacing line-height text-transform text-decoration text-align text-indent whitent

iii .写入复合属性,如border-http://www.Sina.com/- width border-*-color或border:1px solid red

iv .外部距离: margin (上右下左,顺时针) )。

v .内毛利: padding

vi .背景: background-repeat background-color background-image background-size background-attachment

vii. list-style

viii .超链接伪类: a : linka : visiteda : hovera : active (a可以是类选择器或id选择器) )。

ix .浮动: float(left,right ); 清除浮动: clear:left/right/both; overflow : visible/hidden/auto/scrol

x .位置:对准定位(静态、相关、固定、固定)左、顶js

I .有什么关键词

ii .变量定义: var变量名

iii .常用函数: prompt、alert、console.log

iv .数组的定义和使用: var a=new Array[n]

v. DOM节点访问: document.getelementbyidgetelementsbytagnamegetelementsbyclassname等

vi .元素html的内容: innerHTML

vii .元素样式:-style border-

viii .一般运算符

ix .控制结构

x. Bom对象: window、screen、location、history和Date String

xi .事件对象:事件

xii .事件处理:键盘事件onkeydown onkeyup onkeypress表单事件: onbluronchangeonfocusonresetonsubmit鼠标onclickonloadondbclickonmon

语法:选择器{属性键-值对}

基本选择器:标签选择器; 类选择器(.); id选择器(#; 通配符();

复合选择器:标签指定表达式; 子孙; 并集

例如,设定id为aa的标记文本:宋体,12px,红色

#aa{font-family:宋体; font-size:12px; 颜色:红色; ) b )表单)明确有哪些具体的表单控件(第六章) )。

form input type=" text "/formc (创建js脚本(第8、9章) ) ) ) )。

明确js的语法和框架

script type=" text/JavaScript " function * * () {}/script

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。