-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathHTMLMcq2.html
More file actions
1307 lines (1253 loc) · 31.1 KB
/
HTMLMcq2.html
File metadata and controls
1307 lines (1253 loc) · 31.1 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html>
<head>
<link rel="icon" type="image/png" href="images/logo.png"/>
<title>OneLiner HTML MSQs</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.container {
display: flex;
flex-direction:row;
}
.main{
font-size: 1rem;
padding:0px 10px;
}
* {
box-sizing:border-box;
}
body {
margin: 0px;
font-family: 'segoe ui';
}
.nav {
height: 53px;
width: 100%;
background-color: #1177ca;
position: relative;
}
.nav > .nav-header {
display: inline;
}
.nav > .nav-header > .nav-title {
display: inline-block;
font-size: 22px;
color: #fff;
font-weight: 550;
font-family: Arial, Helvetica, sans-serif;
padding: 10px 10px 10px 10px;
}
/*to be appear in phones*/
.nav > .nav-btn {
display: none;
}
.nav{
position:fixed;
}
.nav > .nav-links {
display: inline;
float: right;
justify-content:right;
font-size: 18px;
height:50px;
}
.nav > .nav-links > ul li a{
display: block;
padding: 0 8px;
color: #fff;
line-height: 38px;
font-size: 18px;
text-decoration: none;
}
.nav > .nav-links > ul{
padding: 0;
margin-top: 5px;
list-style: none;
position: relative;
}
.nav > .nav-links > ul li{
display: inline-block;
background-color: #1177ca;
}
.nav > .nav-links > ul li:hover{
background-color: #0b65af;
border-radius: 5px;
}
.nav > #nav-check {
display: none;
}
.nav .nav-links ul a.icon{
margin-left: 80px;
margin-right: 10px;
}
.nav .nav-links ul a i{
background-color: #fff;
border-radius: 50px;
padding: 7px;
margin-left: 5px;
}
.container{
box-sizing:border-box;
width:100%;
}
.container div{
display:flex;
justify-content:center;
}
.container div ul li{
list-style:none;
}
@media (max-width:750px) {
.nav > .nav-btn {
display: inline-block;
position: absolute;
right: 0px;
top: 0px;
}
.nav > .nav-btn > label {
display: inline-block;
width: 50px;
height: 50px;
padding: 13px;
}
.nav > .nav-btn > label:hover,.nav #nav-check:checked ~ .nav-btn > label {
background-color: rgba(0, 0, 0, 0.3);
}
.nav > .nav-btn > label > span {
display: block;
width: 25px;
height: 10px;
right:20px;
border-top: 2px solid #eee;
}
.nav > .nav-links {
position: absolute;
display: block;
width: 100%;
background-color: #333;
height: 0px;
transition: all 0.3s ease-in;
overflow-y: hidden;
top: 50px;
left: 0px;
}
.nav > .nav-links > ul li a {
display: block;
width: 100%;
}
.nav > .nav-links > ul li{
display: block;
margin-bottom: 20px;
padding: 0;
background-color: #333;
}
.nav > .nav-links > ul li a{
margin-left: 40%;
}
.nav .nav-links ul a.icon{
margin-left: 33%;
}
/* */
.nav > #nav-check:not(:checked) ~ .nav-links {
height: 0px;
}
.nav > #nav-check:checked ~ .nav-links {
height: calc(100vh - 50px);
overflow-y: auto;
}
.container div ul li{
list-style:none;
}
}
@media (max-width:480px){
.container div{
flex-direction:column;
justify-content:center;
}
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script>
$(document).ready(function(){
<!--main jquery for mcqs-->
<!--first question-->
$(".ans").hide();
$(".but").click(function () {
$(this).text(function(i, v){
return v === 'View Answer' ? 'Hide Answer' : 'View Answer'
})
});
});
function show(q){
var a = document.getElementsByTagName("p");
var toggle = a[q].style.display;
if(toggle == "none"){
a[q].style.display = "block";
}
else{
a[q].style.display = "none";
}
}
</script>
</head>
<body>
<div class="container">
<div class="nav">
<input type="checkbox" id="nav-check">
<div class="nav-header">
<div class="nav-title">
OneLinerNotes
</div>
</div>
<div class="nav-btn">
<label for="nav-check">
<span></span>
<span></span>
<span></span>
</label>
</div>
<div class="nav-links">
<ul>
<li><a href="#" target="_blank">Home</a></li>
<li><a href="#" target="_blank">HTML</a></li>
<li><a href="CSS.html" target="_blank">CSS</a></li>
<li><a href="#" target="_blank">Javascript</a></li>
<li><a href="C++.html" target="_blank">C++</a></li>
<li><a href="" target="_blank">Mcqs</a></li>
<a class="icon">
<i class="fa fa-twitter"></i>
<i class="fa fa-linkedin"></i>
<i class="fa fa-youtube"></i>
</a>
</ul>
</div>
</div>
<center>
<br><br><br>
<div id="google_translate_element"></div>
<div class="main">
<table cellpadding="0" cellspacing="0">
<tr><td><br><br>
<h3>1)Not adding closing tag in a container tag will hide the element:</h3>
<ol type="A">
<li>True </li>
<li>False</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(0)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>2)If you want to format the following:<br>
i)Hell!! <strong>Yeah</strong> ii)Lucifer Morning<font color="red">*</font></h3>
<ol type="A">
<li>format and b tag</li>
<li>Strong and mark tag</li>
<li>Strong and font tag</li>
<li>font tag and mark tag</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(1)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>3)what is use to modify the property of an element present in your webpage?</h3>
<ol type="A">
<li>Tags</li>
<li>Colors</li>
<li>Attributes </li>
<li>Format Painter</li>
</ol>
<p class="ans">Correct answer :C</p>
<button class="but" onclick="show(2)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>4)To view the source code of a published website we use?</h3>
<ol type="A">
<li>Inspect</li>
<li>view page source</li>
<li>both a and b</li>
<li>Notepad++</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(3)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>5)suppose you want to display a HTML file anywhere in your webpage along with the content of the website,which tag will you use?</h3>
<ol type="A">
<li>Framaset tag</li>
<li>Frame and Frameset Tag</li>
<li>iframe tag</li>
<li>div tag</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(4)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>6)How will you create a logo only using html5?</h3>
<ol type="A">
<li>table tag,tr tag, td tag,font tag,center tag</li>
<li>table tag, th tag,font tag,center tag</li>
<li>table tag,tr tag, font tag, th tag, center tag,td tag</li>
<li>all of the above</li>
</ol>
<p class="ans">Correct answer : A</p>
<button class="but" onclick="show(5)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>7)To create an image hyperlink what will you do?</h3>
<ol type="A">
<li>Put the anchor tag outside the img tag</li>
<li>Put the link tag outside the img tag</li>
<li>Put the src tag outside the img tag</li>
<li>Put the img tag outside the anchor tag</li>
</ol>
<p class="ans">Correct answer : A</p>
<button class="but" onclick="show(6)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>8)which of the following is correct?</h3>
<ol type="A">
<li>article tag are use to contain the connected content with respect to webpages.</li>
<li>article tag is use to contain the text independent of the webpage.</li>
<li>section tag is a inline level tag</li>
<li>All are correct</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(7)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>9)You can add floating text on your webpage using?</h3>
<ol type="A">
<li>iframe tag</li>
<li>float tag</li>
<li>frameset tag</li>
<li>Marquee tag</li>
</ol>
<p class="ans">Correct answer : D</p>
<button class="but" onclick="show(8)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>10)The first line of every html5 file is ?</h3>
<ol type="A">
<li><html></li>
<li><!doctype></li>
<li><!doctype html></li>
<li><html/></li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(9)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>11)which tag will you use to insert comment in your webpage?</h3>
<ol type="A">
<li><-- --></li>
<li><!!--!!></li>
<li><!-- --></li>
<li><-- --!></li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(10)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>12)Mark tag and ins tag are same?</h3>
<ol type="A">
<li>True</li>
<li>False</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(11)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>13)what is * in the following code:
<frameset rows=”30%,40%,*”></h3>
<ol type="A">
<li>* is known as asterisk</li>
<li>* is a wild card character</li>
<li>* shows the remaining spaces</li>
<li>*shows all frames</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(12)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>14)what will happen if you accidently clicked ctrl+D while coding in Notepad++?</h3>
<ol type="A">
<li>duplicate the line</li>
<li>duplicate the cursor</li>
<li>duplicate the tag only</li>
<li>open a duplicate file</li>
</ol>
<p class="ans">Correct answer : A</p>
<button class="but" onclick="show(13)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>15)while learning many time you use style attributes,how the values inside the style attributes are given?</h3>
<ol type="A">
<li>property:value seperated by comma</li>
<li>property;value seperated by colon</li>
<li>property:value seperated by semicolon</li>
<li>property:value seperatd by colon</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(14)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>16)cellspacing and cellpadding can be negative in table tag?</h3>
<ol type="A">
<li>True</li>
<li>False</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(15)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>17)what will happen if you forgot to close the b tag?</h3>
<ol type="A">
<li>No change out content is safe.</li>
<li>all the content of the webpage will be bold</li>
<li>content after the b tag will be bold</li>
<li>both b and c</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(16)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>18)We can use body tag and iframe tag together in our webpage to create sections in our webpage containing another content or webpage?</h3>
<ol type="A">
<li>True</li>
<li>False</li>
</ol>
<p class="ans">Correct answer : A</p>
<button class="but" onclick="show(17)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>19)which tag are you going to use if you want to create a favicon icon?</h3>
<ol type="A">
<li>img </li>
<li>link</li>
<li>a</li>
<li>icon</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(18)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>20)which attribute we use if we want to use inline css?</h3>
<ol type="A">
<li>inline</li>
<li>style tag</li>
<li>css </li>
<li>style</li>
</ol>
<p class="ans">Correct answer : D</p>
<button class="but" onclick="show(19)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>21)which of the following attribute doesn’t take any value?</h3>
<ol type="A">
<li>name</li>
<li>for</li>
<li>required</li>
<li>placeholder</li>
</ol>
<p class="ans">Correct answer : C </p>
<button class="but" onclick="show(20)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>22)A website is only made up of HTML?</h3>
<ol type="A">
<li>True</li>
<li>False</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(21)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>23)which option will you use if you want to insert “>” symbol in your webpage?</h3>
<ol type="A">
<li>&tl;</li>
<li>&gt;</li>
<li>&lt;</li>
<li>&amp;</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(22)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>24)Which of the following option is correct?
</h3>
<ol type="A">
<li>image tag will display image along with the heading tag in one line.</li>
<li>Image tag will display image along with the span tag in one line</li>
<li>image tag will display image along with the paragraph tag in one line.</li>
<li>Both b and c</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(23)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>25)What will happen if you press Ctrl+H in Notepad++?</h3>
<ol type="A">
<li>Find Dialog Box will open</li>
<li>Replace Dialog Box will open</li>
<li>Hyperlink is inserted</li>
<li>Duplicate cursor created</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(24)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>26)To insert the characters not present in your keyboard we use?</h3>
<ol type="A">
<li>Hexcode</li>
<li>RGB code</li>
<li>Entities</li>
<li>#ab;</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(25)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>27)HTML was developed in year?</h3>
<ol type="A">
<li>1990</li>
<li>1991</li>
<li>1992</li>
<li>1993</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(26)">View Answer</button>
</td>
</tr>
</tr>
<tr>
<td>
<h3>28)Which attribute is used inside frame tag to add any html webpage?</h3>
<ol type="A">
<li>href</li>
<li>src</li>
<li>link</li>
<li>source</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(27)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>29)which of the following attribute is use in form to add textbox,radio button,checkbox.</h3>
<ol type="A">
<li>input</li>
<li>type</li>
<li>value</li>
<li>for</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(28)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>30)In how many ways can we create a hyperlink?</h3>
<ol type="A">
<li>2</li>
<li>1</li>
<li>3</li>
<li>4</li>
</ol>
<p class="ans">Correct answer : A</p>
<button class="but" onclick="show(29)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>31)what is the meaning of named anchor?</h3>
<ol type="A">
<li>Link to some external webpage</li>
<li>Link within the same webpage</li>
<li>Link to multiple webpage</li>
<li>Both a and c</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(30)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>32)How many sizes of headers are available in HTML by default?</h3>
<ol type="A">
<li>5 </li>
<li>1</li>
<li>3</li>
<li>6</li>
</ol>
<p class="ans">Correct answer : D</p>
<button class="but" onclick="show(31)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>33)We enclose HTML tags within? </h3>
<ol type="A">
<li>< ></li>
<li>! !</li>
<li><!-- --></li>
<li><? ?></li>
</ol>
<p class="ans">Correct answer : A</p>
<button class="but" onclick="show(32)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>34)Which of the following is correct about HTML?</h3>
<ol type="A">
<li>HTML Uses user Defined Tags</li>
<li>HTML Uses Tags Defined Within the Language.</li>
<li>Both A and B</li>
<li>None of the above.</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(33)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>35)Which of the following is true about HTML attributes?</h3>
<ol type="A">
<li>Are Case Sensitive</li>
<li>Are not Case Sensitive</li>
<li>Are in Uppercase</li>
<li>Are in Lowercase</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(34)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>36)Which HTML Tag is used to embed YouTube videos?</h3>
<ol type="A">
<li>Frame </li>
<li>Frameset and Frame</li>
<li>Iframe </li>
<li>Src</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(35)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>37)Which of the following is not a value for type attribute for input tag?</h3>
<ol type="A">
<li>day</li>
<li>week</li>
<li>month</li>
<li>time</li>
</ol>
<p class="ans">Correct answer : A</p>
<button class="but" onclick="show(36)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>38)Which attribute defines the file-select field?</h3>
<ol type="A">
<li>Ctrl+Shift+V</li>
<li>text</li>
<li>file</li>
<li>select</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(37)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>39)Month attribute defines only?</h3>
<ol type="A">
<li>Day and month</li>
<li>Month only</li>
<li>Month and year</li>
<li>Day only</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(38)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>40)Which element is used to create multi-line text input?</h3>
<ol type="A">
<li>Textbox</li>
<li>div tag</li>
<li>Textarea </li>
<li>article </li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(39)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>41)What is the work of controls?</h3>
<ol type="A">
<li>specify the path to an audio file</li>
<li>audio starts playing automatically</li>
<li>Displaying controls to the user</li>
<li>Showing controls images.</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(40)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>42)What is the work of src?</h3>
<ol type="A">
<li>audio starts playing automatically</li>
<li>play again after finishing the audio</li>
<li>specify the path to an audio file</li>
<li>insert more than one audio</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(41)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>43)To create a web page you need?</h3>
<ol type="A">
<li>Text Editor </li>
<li>Web Browser</li>
<li>Both a and b</li>
<li>Macbook</li>
</ol>
<p class="ans">Correct answer : A</p>
<button class="but" onclick="show(42)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>44)Which html tag tells the browser where the page ends and starts?</h3>
<ol type="A">
<li>body </li>
<li>html</li>
<li>head </li>
<li>container tag</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(43)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>45)HTML Tags are recognized by?</h3>
<ol type="A">
<li>attributes </li>
<li>content </li>
<li>angular brackets </li>
<li>parenthesis</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(44)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>46)which tag will set the background color of your html webpage?</h3>
<ol type="A">
<li>head</li>
<li>bgcolor</li>
<li>style attribute</li>
<li>body</li>
</ol>
<p class="ans">Correct answer : D</p>
<button class="but" onclick="show(45)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>47)What will be added by using td tag?</h3>
<ol type="A">
<li>Row</li>
<li>Column</li>
<li>Cell</li>
<li>Steps</li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(46)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>48)Image list will show a text label if you use?</h3>
<ol type="A">
<li>img tag</li>
<li>alt attribute</li>
<li>src attribute</li>
<li>None of the above</li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(47)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>49)To start the list at the count of 3 we use?</h3>
<ol type="A">
<li><ol list=3></li>
<li>< ol begin=3> </li>
<li> <ol start=3 ></li>
<li>< ol type=3> </li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(48)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>50)which of the following is the correct way to create internal link?</h3>
<ol type="A">
<li><a href="#">Link1</a></li>
<li><a href="www.google.com">Link2</a></li>
<li><a href="id1">Link3</a></li>
<li><a href="#id">Link4</a></li>
</ol>
<p class="ans">Correct answer : D</p>
<button class="but" onclick="show(49)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>51)Which of the following is a correct way to write an HTML element?</h3>
<ol type="A">
<li><element attribute="value"></li>
<li><element value="attribute"></li>
<li><element></li>
<li><element(attribute="value")></li>
</ol>
<p class="ans">Correct answer :A</p>
<button class="but" onclick="show(50)">View Answer</button>
</td>
</tr>
<tr>
<td><h3>
52)How do you create a hyperlink in HTML?</h3>
<ol type="A">
<li><a src="URL">Link text</a></li>
<li><link href="URL">Link text</link></li>
<li><a href="URL">Link text</a>
<li><link src="URL">Link text</link></li>
</ol>
<p class="ans">Correct answer : C</p>
<button class="but" onclick="show(51)">View Answer</button>
</td>
</tr>
<tr>
<td><h3>
53)What is the correct HTML element for inserting a line break?</h3>
<ol type="A">
<li><br></li>
<li><lb></li>
<li><break></li>
<li><linebreak></li>
</ol>
<p class="ans">Correct answer : A</p>
<button class="but" onclick="show(52)">View Answer</button>
</td>
</tr>
<tr>
<td><h3>
54)How do you specify the color of text in HTML?</h3>
<ol type="A">
<li><text color="color">Text</text></li>
<li><font color="color">Text</font></li>
<li><span color="color">Text</span></li>
<li><p color="color">Text</p></li>
</ol>
<p class="ans">Correct answer : B</p>
<button class="but" onclick="show(53)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>
55)What is the correct HTML element for creating a table?</h3>
<ol type="A">
<li><table></li>
<li><tab></li>
<li><grid></li>
<li><list></li>
</ol>
<p class="ans">Correct answer : A</p>
<button class="but" onclick="show(54)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>56)How do you create a table row in HTML?</h3>
<ol type="A"></li>
<li><tr>
<li><row> </li>
<li><td></li>
<li><th></li>
</ol>
<p class="ans">Correct answer : A</p>
<button class="but" onclick="show(55)">View Answer</button>
</td>
</tr>
<tr>
<td>
<h3>57)What is the correct HTML element for creating a table cell?</h3>
<ol type="A">
<li><td></li>
<li><th></li>
<li><cell></li>
<li><data></li>
</ol>
<p class="ans">Correct answer : A</p>