Web Tech
Web Tech
0)
HTML - Pre-Quiz
1. Which element is a container for all the head elements, and
may include the document title, scripts, styles, meta information,
and more?
Select one:
<body></body>
<head></head>
<title></title>
<br></br>
5. Question text
4.Which of the below java script code helps to change the content
of the paragraph tag dynamically?
<p id="pid1">Aim Higher.. Sky is your limit
Select one:
document.getElement("p").innerHTML = "Never give up!!";
document.getElementById("pid1").innerHTML = "Never
give up!!";
document.getElementByName("p").innerHTML = "Never give
up!!";
#demo.innerHTML = "Never give up!!";
5.Sita wishes to greet the user when the user clicks on "Greet
Me" button. In which event does she need to write the JavaScript
code for greeting the user?
Select one:
onchange
onmouseclick
onclick
onmouseover
Select one:
getCharAt()
characterAt()
charAt()
Select one:
instanceof
isofType
getType
typeof
7,0,%, ,3,0,%
7,0,3,0
7,0,%,3,0,%
p,a,s,s, ,%, ,f,a,i,l, ,%
JQuery : Pre-Quiz
1. Which of the following is/are true about HTML?
Select one or more:
Browser does not throw any error even if we have
mistaken in the HTML syntax
HTML is case sensitive
Some of the tags are self closing while some of the tags
must be explicitly closed in HTML5
JQuery : Post-Quiz
1. Kiran wants to remove all the child nodes from the given div
element. Help him to select the correct option to remove all the
child node from the div element.
<body>
<div>
This is some text
<h2>Good morning</h2>
<p>This is a paragraph inside the div.</p>
</div>
<p>This is a paragraph outside the div.</p>
</body>
Select one:
delete()
None of the above
remove( expr )
empty()
.blurOn()
.blurElement()
.focus()
.blur()
8. Raju wants to remove an event handler that was attached with on()
function.Help him to select the correct option.
Select one:
empty()
off()
change()
delete()