WorksheetsWebathon1.0
Total questions: 30
Worksheet time: 30mins
Which of the following is correct?
Different meta tags are defined by changing the ___ attribute to a valid value.
scheme
content
http-equiv
name
Which of the following is correct?
<img alt="MyImage">image.gif</img>
<img src="image.gif" alt="MyImage">
<img src="image.gif" alt="MyImage"/>
<img href="image.gif" alt="MyImage">
Choose the correct option.
Choose the correct syntax.
Choose the correct option.
10
4 5 6
4
6
Choose the correct option.
{name:”sarah”, age:23}
{name:”Lydia”, age:23}
{name:”sarah”, age:22}
{name:”Lydia”, age:22}(
Choose the correct option.
null “” true
Null Null true
false null [ ]
{ } “ ” [ ]
Choose the correct option.
border-width:5px 20px 10px 1px;
border-width:10px 5px 20px 1px;
border-width:10px 20px 5px 1p
border-width:10px 1px 5px 20px;
Choose the correct syntax.
Choose the correct option.
Hi
Developer
?
Hi Developer
Choose the correct option.
True
False
Choose the correct option.
True
False
Which of the following is NOT a data type in Javascript?
String
Undefined
Bool
Number
What is the actual width of CSS box?
Width+Padding+Margin+Border
Width+Padding+Border
Width+Padding+Margin
Width+Margin+Border
Which of the following is NOT a list type in HTML?
Ordered List
Unordered List
Definition List
None
Choose the correct option.
undefined undefined
undefined number
number undefined
number number
Choose the correct option.
It worked! undefined
It worked! Hello graphians!
Oh no an error: undefined
Oh no an error: Hello graphians!
Which CSS property allows you to hide an element but still maintain the space it occupies on the web page?
visibility:none;
display: none;
hidden:none;
display:hidden;
Which of the following will produce the given output on web page?
Which of the following is NOT an example of Pseudo-classes?
link
focus
inactive
visited
Which of the following CSS syntax is correct?
body {
color = black;
}
body{
color : black;
}
body[
color : black,
]
body{
"color" : "red"
}
Which of the following is correct option?
1. space-
between
2. space-evenly
3. space-around
1. space-evenly
2. space-between
3. space-around
1. space-around
2. space-evenly
3. space-between
1. space-around
2. space-evenly
3. space-between
Which of the following HTML tag is used to create a dropdown list?
<select>
<input>
<option>
<list>
Which of the following are VALID HTML layout structure?
header
footer
aside
search
Which is NOT a valid HTML element positioning ?
absolute
sticky
relative
adjacent
Which of the following order of CSS background-repeat Property is correct?
1.horizontal
2.vertical
3. full
1. repeat-x
2. repeat-y
3. repeat
1. repeatX
2. repeatY
3. repeat
1. stretchX
2. stretchY
3. stretch
Which of the following is the correct syntax for creating a comment in HTML?
<!-- This is a comment -->
{# This is a comment #}
/* This is a comment */
<!-- This is a comment --!>
Which of the following is the correct way to define a custom attribute in HTML?
<div custom-attribute="value">content</div>
<div data-custom="value">cont
<div attribute="custom value">content<
<div custom:value="value">content</div>
let a = document.getElementsByTagName('p').innerText;
console.log(a)
undefined
Paragraph 1
['Paragraph 1', 'Paragraph 2', 'Paragraph 3']
{'Paragraph 1', 'Paragraph 2', 'Paragraph 3'}
