-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathquiz.js
More file actions
95 lines (95 loc) · 2.26 KB
/
quiz.js
File metadata and controls
95 lines (95 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{"quiz":
[
{
"question":"What does HTML stand for?",
"option": {
"a":"Home Tool Markup Language",
"b":"Hyperlinks and Text Markup Language",
"c":"Hyper Text Markup Language"
},
"ans":"c"
},
{
"question":"Who is making the Web standards?",
"option": {
"a":"Microsoft",
"b":"The World Wide Web Consortium",
"c":"Mozilla"
},
"ans":"b"
},
{
"question":"Choose the correct HTML tag for the largest heading",
"option": {
"a":"<h1>",
"b":"<head>",
"c":"<h6>",
"d":"<heading>"
},
"ans":"a"
},
{
"question":"What is the correct HTML tag for inserting a line break?",
"option": {
"a":"<break />",
"b":"<br />",
"c":"<lb />"
},
"ans":"b"
},
{
"question":"What is the preferred way for adding a background color in HTML?",
"option": {
"a":"<body background=\"yellow\">",
"b":"<body style=\"background-color:yellow\">",
"c":"<background>yellow</background>"
},
"ans":"b"
},
{
"question":"Choose the correct HTML tag to make a text bold",
"option": {
"a":"<bold>",
"b":"<b>"
},
"ans":"b"
},
{
"question":"Choose the correct HTML tag to make a text italic",
"option": {
"a":"<italic>",
"b":"<i>"
},
"ans":"b"
},
{
"question":"What is the correct HTML for creating a hyperlink?",
"option": {
"a":"<a name=\"http://www.w3schools.com\">W3Schools.com</a>",
"b":"<a>http://www.w3schools.com</a>",
"c":"<a href=\"http://www.w3schools.com\">W3Schools</a>",
"d":"<a url=\"http://www.w3schools.com\">W3Schools.com</a>"
},
"ans":"c"
},
{
"question":"How can you create an e-mail link?",
"option": {
"a":"<mail href=\"xxx@yyy\">",
"b":"<mail>xxx@yyy</mail>",
"c":"<a href=\"xxx@yyy\">",
"d":"<a href=\"mailto:xxx@yy\">"
},
"ans":"d"
},
{
"question":"How can you open a link in a new browser window?",
"option": {
"a":"<a href=\"url\" target=\"_blank\">",
"b":"<a href=\"url\" target=\"new\">",
"c":"<a href=\"url\" new>"
},
"ans":"a"
}
]
}