logo - 刷刷题
下载APP
【多选题】

Which form attributes have been added to html5? ( )

A.
autocomplete
B.
action
C.
novalidate
D.
name
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

【单选题】The function of src attribute in audio element is ( ).

A.
providing play, pause and volume control.
B.
controlling whether to play cyclically or not.
C.
specifying the audio file path to play.
D.
inserting a paragraph of replacement text.

【多选题】(Multiple-choice question) Which of the following statements about video tag are correct? ( )

A.
If autoplay is enabled, we can set the player to be in muted state. In this way, autoplay will be muted to prevent users from getting bored.
B.
The img tag is used in video tag to show the video cover.
C.
The loop attribute can make the media file play cyclically.
D.
Multiple source elements can be added, and the browser will choose to play the first file it supports.

【单选题】Which of the following is true about html5?( )

A.
HTML5 is an upgraded version of the original HTML.
B.
HTML5 does not require DTD.
C.
Without <! DOCTYPE html>, HTML5 can also work normally.
D.
The <output> is a new tag for html5.

【单选题】Which of the following statements about the attributes ofvideo tag is incorrect ? ( )

A.
The controls attributeis used to provide play, pause and volume controls.
B.
The loop attribute controls whether to play video file cyclically or not.
C.
The poster attribute indicates the image displayed by the video when it does not start playing.
D.
We can introduce the video source file with url attribute.

【单选题】Which of the following statements about canvas is incorrect? ( )

A.
Canvas element in html5 is used to draw graphics, which is usually done by js.
B.
The canvas element is just a graphics container, and you must use scripts to draw graphics.
C.
You can draw paths, boxes, circles, characters and add images for the canvas element.
D.
You can change the graphics at any time after drawing it.

【单选题】In canvas, what is used to move coordinate space? ( )

A.
transition
B.
context.transparent
C.
context.translate
D.
context.transform

【单选题】Which of the following statements about canvas is correct? ( )

A.
The maxWidth, the third parameter of fillText() method, is optional.
B.
The fillText() method can draw a text string in the canvas.
C.
When arc() method draws an arc, its last parameter is true or fasle, that is, whether it is clockwise or not, and it cannot be omitted.
D.
The clearRect(width, height, left,top) method is used to clear all the contents in the rectangular area with width=width and height=height and the top left corner at (left, top).