学习啦>创业指南>职场>面试题>

前端工程师面试题及答案

时间: 如英753 分享

  完成面试题是前端工程师求职者在面试过程中必须经历的环节。下面是由学习啦小编分享的前端工程师面试题,希望对你有用。

  前端工程师面试题:CSS

  1. CSS样式表根据所在网页的位置,可分为?(B )

  A.行内样式表、内嵌样式表、混合样式表

  B.行内样式表、内嵌样式表、外部样式表

  C.外部样式表、内嵌样式表、导入样式表

  D.外部样式表、混合样式表、导入样式表

  2. 对于标签,其中*代表( C )

  A. 注释的时候才用上

  B. 没有这个标签

  C. 通配符,意思是所有的标签

  3. 在CSS中下面哪种方法表示超链接文字在鼠标经过时,超链接文字无下划线?(B )

  A. A:link{TEXT-DECORATION: underline }

  B. A:hover {TEXT-DECORATION: none}

  C. A:active {TEXT-DECORATION: blink }

  D. A:visited {TEXT-DECORATION: overline }

  4. 下面代码片段,说法正确的是:(B )

  .DIV1 { position:absolute;

  line-height:22px;

  height:58px;

  background-color: #FF0000; }

  A. Line-height:22px;修饰文本字体大小

  B. position:absolute;表示绝对定位,被定位的元素位置固定

  C. height:58px; 表示被修饰的元素距离别的元素的距离

  D. background-color: #FF0000; 表示被修饰的元素的背景图像

  5. 关于css hack正确的是(A,B,C)

  a) CSS hack的目的就是使你的CSS代码兼容不同的浏览器。

  b)“_”下划线是IE6专有的hack

  c)“*”星号是IE6和IE7专有的hack

  d) !important IE6可以识别

  6. 如何用CSS分别单独定义IE6、7、8的width属性。

  所有浏览器通用 height: 100px;

  IE6专用 _height: 100px;

  IE6、IE7共用 *height: 100px;

  IE7专用 *+height: 100px;

  IE7、FF共用 height: 100px !important;

  7. CSS中哪些属性可以同父元素继承。

  所有元素可继承:visibility和cursor。

  内联元素可继承:letter-spacing、word-spacing、white-space、line-height、color、font、 font-family、font-size、font-style、font-variant、font-weight、text- decoration、text-transform、direction。 块状元素可继承:text-indent和text-align。

  列表元素可继承:list-style、list-style-type、list-style-position、list-style-image。

  表格元素可继承:border-collapse。

  前端工程师面试题:HTML

  1. 在Dreamweaver 中, 在设置各个框架属性时, 参数Scroll 是用来设置( B )属性的。

  A. 是否进行颜色设置

  B. 是否出现滚动条

  C. 是否设置边框宽度

  D. 是否使用默认边框宽度

  2. 若将Dreamweaver中2个横向相邻的单元格合并,则两单元格中文字会( A )

  A.文字合并B.左单元格文字丢失C.右单元格文字丢失D.系统出错

  3. 下列标签可以不成对出现的是( B)

  A.〈HTML〉〈/HTML〉

  B.〈P〉〈/P〉

  C.〈TITLE〉〈/TITLE〉

  D.〈BODY〉〈/BODY〉

  4. 关于Document对象,下列叙述正确的是(AC )

  a)Document对象表示浏览器中显示的HTML文档

  b)Document对象的常用属性bgcolor用来设置文档的背景图片

  c)Document对象的常用方法getElementById()用于访问唯一的一个元素

  d)Document对象的常用方法getElementByNames()

5. 与 HTML4 比较,HTML5 废弃了哪些元素(A, B, D)

  a) frame

  b)applet

  c) i

  d) big

  前端工程师面试题:jquery

  1. 在javascript中,以下哪个变量名是非法的(B )

  a)Nameb)9namec)Name_ad)Name9

  2. Javascript可以在以下什么地方执行?(B )

  a)服务器端的浏览器

  b)客户端的浏览器

  c)在服务器端的tomcat容器里

  d)在客户端的tomcat容器里

  3. 在javascript中,( B )变量在函数外声明,并可从脚本的任意位置访问

  a)局部b)全局c)typeOfd)New

  4. 关于javascript说法正确的是(B )。

  a)它是面向对象的

  b)它是基于对象的

  c)它是面向过程的

  d)以上说法都不正确

  5. 以下哪条语句会产生运行错误(A,D )

  A、varobj = ()

  B、varobj = []

  C、varobj = {}

  D、varobj = //

  6. 在javascript中,下拉列表框的(B )方法可从列表中删除一个元素

  a)Add( )b)Remove( )c)Focus( )d)blur()

  7. 请选择结果为真的表达式(C )

  a)null instanceof Object

  b)null === undefined

  c)null == undefined

  d)NaN == NaN

  8. 在javascript中,String 对象的方法不包括(D )。

  a)charAt()

  b)substring()

  c)toUpperCase()

  d)Length //这个是属性不是方法

  9. 下拉菜单中,用户更改表单元素Select中的值时,就会调用(A )事件处理程序。

  a)onChange

  b)onFocus

  c)onMouseOver

  d)onClick

  在前端工程师求职者的求职面试过程中,回答面试题与进行面试自我介绍一样重要。

  前端工程师面试自我介绍范文

  good morning, my name is jack, it is really a great honor to have this opportunity for a interview, i would like to answer whatever you may raise, and i hope i can make a good performance today, eventually enroll in this prestigious university in september. now i will introduce myself briefly,i am 21 years old,born in heilongjiang province ,northeast of china,and i am curruently a senior student at beijing xx uni.my major is packaging engineering.and i will receive my bachelor degree after my graduation in june.in the past 4 years,i spend most of my time on study,i have passed cet4/6 with an ease. and i have acquired basic knowledge

  of packaging and publishing both in theory and in practice. besides, i have attend several packaging exhibition hold in beijing, this is our advantage study here, i have taken a tour to some big factory and company. through these i have a deeply understanding of domestic packaging industry. compared to developed countries such as us, unfortunately, although we have made extraordinary progress since 1978,our packaging industry are still underdeveloped, mess, unstable, the situation of employees in this field are awkard. but i have full confidence in a bright future if only our economy can keep the growth pace still. i guess you maybe interested in the reason itch to law, and what is my plan during graduate study life, i would like to tell you that pursue law is one of my lifelong goal,i like my major packaging and i won't give up,if i can pursue my master degree here i will combine law with my former education. i will work hard in thesefields ,patent ,trademark, copyright, on the base of my years study in department of p&p, my character? i cannot describe it well, but i know i am optimistic and confident. sometimes i prefer to stay alone, reading, listening to music, but i am not lonely, i like to chat with my classmates, almost talk everything ,my favorite pastime is valleyball,playing cards or surf online. through college life,i learn how to balance between study and entertainment. by the way, i was a actor of our amazing drama club. i had a few glorious memory on stage. that is my pride.


看过“前端工程师面试题”的人还看了:

1.web前端工程师面试题及答案

2.web前端面试题整理参考

3.web前端开发面试题及答案

4.开发人员笔试题

5.前端工程师的自我评价

前端工程师面试题及答案

完成面试题是前端工程师求职者在面试过程中必须经历的环节。下面是由学习啦小编分享的前端工程师面试题,希望对你有用。 前端工程师面试题之CSS 1. CSS样式表根据所在网页的位置,可分为?(B ) A.行内样式表、内嵌样式表、混合样式表 B.
推荐度:
点击下载文档文档为doc格式
1592044