民意测验与误差幅度 练习_HTML5练习测验

民意测验与误差幅度 练习

介绍 (Introduction)

Worth: 10% of your final grade. There are eight questions in this closed-book quiz, worth a total of 22 marks.

值:最终成绩的10%。 本闭卷测验中有八个问题,总计22分。

Time: You have 15 minutes to complete this quiz.

时间:您有15分钟的时间来完成此测验。

Note: Code written must be valid and work in order to achieve full marks.

注意:编写的代码必须有效并且可以取得满分。

For full recreation of quiz conditions, it is suggested that you print out this page and write your answers on the page. The quiz key will print out separately.

为了完全恢复测验条件,建议您打印出此页面并在页面上写下答案。 测验键将单独打印出来。

问题1 (Question 1)

Write the correct DOCTYPE for an HTML5 page. (2 marks)

为HTML5页面编写正确的DOCTYPE。 (2分)



问题2 (Question 2)

Write a form text input that will be required to be filled out by a user before they can submit the form in an HTML5-compatible browser. (Only the input markup is required) (2 marks)

编写表单文本输入,要求用户填写该文本输入,然后他们才能在与HTML5兼容的浏览器中提交表单。 (仅输入标记是必需的)(2个标记)





问题3 (Question 3)

Name three form input types that are new and exclusive to HTML5 (1 mark for each correct answer, for a total of three marks).

命名三种新颖HTML5专用的表单输入类型(每个正确答案1个标记,总共3个标记)。



问题4 (Question 4)

The words “next Saturday” in the body copy sentence “I’ll see you next Saturday” should be marked up with what HTML5 tag? (2 marks)

正文中的“下个星期六”一词中的“下个星期六”应该用什么HTML5标签标记? (2分)



问题5 (Question 5)

Rather than traditional descriptive meta tags in the <head>, HTML5 works best with (circle one, for one mark).

<head>中的传统描述性元标记不同,HTML5最适用于(第一个标记一个符号)。

  1. Microdata

    微数据
  2. Metaformats

    元格式
  3. Microformats

    微格式
  4. RDF

    RDF
  5. <link />

    <link />
  6. 1, 4 & 3

    一,四,三
  7. 1 & 3

    1和3

问题6 (Question 6)

Write a valid link to a stylesheet using the minimal amount of HTML possible. (2 marks)

使用尽可能少HTML编写指向样式表的有效链接。 (2分)



问题7 (Question 7)

What is wrong with the following code? (You can assume that the rest of the page is correct). (2 marks)

以下代码有什么问题? (您可以假定页面的其余部分正确)。 (2分)

<article>
	<header>Umbrella Corporation</header>
	<p>Article content</p>
	<sidebar>Footnotes</sidebar>
</article>


问题8 (Question 8)

Name two codecs supported by browsers for the HTML5 <video> or <audio> tag. (2 marks each, for a total of 4 marks)

为HTML5 <video>或<audio>标签命名浏览器支持的两个编解码器。 (每项2分,共4分)



答案: (Answers:)

Question 1 问题1

<!DOCTYPE html> more info

<!DOCTYPE html> 更多信息

Question 2 问题2

<input type="text" name="firstname" id="firstname" required> more info

<input type="text" name="firstname" id="firstname" required> 更多信息

Question 3 问题3

color, number, tel, url, search more info

colornumbertelurlsearch 更多信息

Question 4 问题4

time more info

time 更多信息

Question 5 问题5

6

6

Question 6 问题6

<link rel=stylesheet href=styles.css> more info

<link rel=stylesheet href=styles.css> 更多信息

Question 7 问题7

No such tag as <sidebar>; <aside> should be used instead. more info

没有<sidebar>这样的标签; 应该使用<aside>代替。 更多信息

Question 8 问题8

OGG, H264, VP8 more info

OGG,H264,VP8 更多信息

翻译自: https://thenewcode.com/418/HTML5-Practice-Quiz

民意测验与误差幅度 练习

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值