HTML5 test (a)

A test HTML5

1. Question: What is HTML version before HTML5 is?

Answer: A

HTML5 is the latest HTML revision by the World Wide Web Consortium (W3C) standards completed in October 2014. The goal is to replace in 1999 the development of HTML 4.01 and XHTML 1.0 standards.


 2, problem: correct doctype HTML5 is?

Answer: A


3. Question: in HTML5, which combinations of elements for title elements?

A、<group>

B、<header>

C、<headings>

D、<hgroup>

Answer: D


 4, issue: HTML5 Which of the following elements are no longer supported?

A、<p>

B、<ins>

C、<menu>

D、<font>

Answer: D


 5, issue: HTML5 Which of the following elements are no longer supported?

A、<cite>

B、 <acronym>

C、<abbr>

D、<base>

Answer: B


 6. Question: In HTML5, onblur and onfocus are:

A, HTML element

B,  style attributes

C, event attributes

Answer: C


 7. Q: For playing video files correctly HTML5 HTML5 elements are:

A、<movie>

B、 <media>

C、<video>

答案:C


 8. 问题:用于播放 HTML5 音频文件的正确 HTML5 元素是:

A、<mp3>

B、<audio>

C、<sound>

答案:B


 9. 问题:在 HTML5 中不再支持

A、rel

B、type

C、src

答案:A


10. 问题:在 HTML5 中,哪个方法用于获得用户的当前位置?

A、getPosition()

B、getCurrentPosition()

C、getUserPosition()

答案:B

 

HTML5测试二

1. 问题:新的 HTML5 全局属性,”contenteditable” 用于:

A、规定元素的上下文菜单。该菜单会在用户点击右键点击元素时出现。

B、 规定元素内容是否是可编辑的。

C、 从服务器升级内容

D、回内容在字符串中首次出现的位置

答案:B


 2. 问题:在 HTML5 中,contextmenu 和 spellcheck 是:

A、 HTML 属性

B、HTML 元素

C、事件属性

D、样式属性

答案:A


3. 问题:在 HTML5 中,您能够直接将 SVG 元素嵌入 HTML 页面中。

A、 错误

B、正确

答案:A


 4. 问题:由 SVG 定义的图形是什么格式的?

A、 CSS

B、HTML

C、 XML

答案:C


 5. 问题:HTML5 中的 <canvas> 元素用于:

A、 显示数据库记录

B、操作 MySQL 中的数据

C、绘制图形

D、创建可拖动的元素

答案:C


 6. 问题:哪个 HTML5 内建对象用于在画布上绘制?

A、 getContent

B、getContext

C、getGraphics

D、getCanvas

答案:B


 7. 问题:在 HTML5 中,哪个属性用于规定输入字段是必填的?

A、 required

B、formvalidate

C、validate

D、placeholder

答案:A


 8. 问题:哪种输入类型定义滑块控件?

A、 search

B、controls

C、 slider

D、range

答案:D


 9. 问题:哪种输入类型用于定义周和年控件(无时区)?

A、 date

B、 week

C、year

答案:B


10. 问题:哪个 HTML5 元素用于显示已知范围内的标量测量

A、 <gauge>

B、<range>

C、<measure>

D、<meter>

答案:D

 

HTML5测试三

1. 问题:___标签用于指定内联框架?

A、 <jframe>

B、<frameset>

C、<iframe>

D、<frame>

答案:C


 2. 问题:SVG 有多少种图形对象类型?

A、 2

B、3

C、5

D、7

答案:B

在 SVG 中,允许三种图像对象存在,分别是矢量图像、点阵图像和文本


 3. 问题:HTML 5 支持 HTML 4 中的所有表单控件?

A、 正确

B、错误

答案:正确


 4. 问题:DHTML是 ?1、HTML;2、javascript;3、HTML Dom;4、CSS

A、 

B、3 和 4

C、都是

D、都不是

答案:C

DHTML 是一种使 HTML 页面具有动态特性的艺术,对大多数人来说,DHTML 意味着 HTML、CSS 和 JavaScript 的组合。


5. 问题:以下哪个是 html5 中的 input 类型属性?

(1) search

(2) datetime

(3) week

(4) color

(5) track

(6) placeholder

A、 1,2,3,4,6

B、1,2,3,4,5

C、2,3,4,5,6

D、1,3,4,5,6

答案:A

HTML5 中的 input 类型包含 email、url、number、range、search 等属性,每一种属性都具有不同的功能


6. 问题:Canvas 能够使用___绘制 2D 图形?

A、 XML

B、HTML

C、JavaScript

D、XHTML

答案:C


 7. 问题:以下哪个不是 html5 中使用的媒体元素?

A、 <source>

B、<audio>

C、<track>

D、<time>

答案:D

<time> 标签定义日期或时间。


 8. 问题:SVG 是什么意思?

A、二级矢量图形

B、可伸缩的垂直图形

C、可伸缩矢量图形

D、三级矢量图形

答案:B


 9. 问题:是否可以将 HTML 5 用于移动应用程序?

A、可以

B、不可以

答案:A


 10. 问题:input 元素的哪个类型属性将元素的值设置为表示一定范围内的数字?

A、range

B、emile

C、file

D、data

答案:A

 

 

 错题集:

1、以下的 HTML 4.01 元素在HTML5中已经被删除:

<acronym>、<applet>、<basefont>、<big>、<center>、<dir>、<font>、<frame>、<frameset>、<noframes>、<strike>、<tt>

2、<meter>显示已知范围的变量测量

 

Guess you like

Origin www.cnblogs.com/nyw1983/p/11800823.html