Font size
WorksheetsExam
Total questions: 42
Worksheet time: 44mins
What is the purpose of HTML?
Creating the structure and content of web pages
Creating animations on web pages
Creating 3D graphics on web pages
Creating video content on web pages
What does the <a> tag define in HTML?
An image
A heading
A hyperlink
A paragraph
Which attribute is used to specify a unique id for an HTML element?
src
id
href
class
What property defines the text color for an HTML element?
font-color
font-size
color
text-color
What does CSS stand for?
(a)
Choose the correct property value pair.
propert; value;
property: value:
property: value
property: value;
How many elements can share the same "id"?
None, There can be only 1 element per "id".
Any element of the same type.
Any element with the same class.
All of them.
Javascript can only be run on a browser.
True
False
A programming language is case-sensitive and is utilized for developing interactive web pages.
JavaScript
HTML
CSS
Java
(...................) is JavaScript statements grouped together in a named block and performed according to the call it.
Function
HTML
If else
Switch
(............................. ) used for displaying a dialogue box with a message to the user.
alert( " ");
document.write(" ");
document.getElementById
Console.log()
Javascript statements are written between tags ……………………………
alert( " ");
<script> .. </script>
<style>..<style>
{}
If you want JavaScript statements to be implemented when an event occurs (such as button click), you should use a …………………………..……………….... to execute a certain task or function.
Onclick
messsage
Onchange
Mouseover
Form is used to record your data in the webpage.( )
True
False
There is no different between capital and small letters in java script statements.( )
True
False
A function name is immediately followed by:
( )
[ ]
{ }
a space
What symbols are used to begin and end the body of a function?
{ }
[ ]
( )
;
The < (a) > tag is used to embed images in an HTML document.
To create a hyperlink, you use the (a) attribute within the <a> tag.
You can create headings in HTML using the <h1> to <h6> tags where <h1> is the largest and <h6> is the (a) .
The <i> tag is used for making text (a) .
The <b> tag is used for making text (a) .
The <a> tag is used for creating (a) .
What is the correct syntax for defining a hyperlink in HTML?
<a href=”url”> Link text </a>
<a href=”url”> Link text <a>
<a=”url”> Link text <a>
<ref=”url”> Link text <a>
HTML5 incorporates three kinds of code: HTML, CSS and Javascript. Which of these provides the styling of a webpage?
What is the internet?
A worldwide network of networks
The World Wide Web
An internal network
A net
p {color: red;}
border.JavaScript is designed for following purpose -
To Style HTML Pages
To Perform Server Side Scripting Opertion
To add interactivity to HTML Pages.
To Execute Query Related to DB on Server
Javascript is _________ language.
Programming
Scripting
Application
applet
We cannot Place JS Code in the body tag . True/false.
True
False.
JavaScript Code is written inside file having extension __________.
.jsc
.jvs
.js
.javascript
JavaScript is ______ Side Scripting Language.
JSP
Servlet
Server
Browser
What HTML input type is used to create this password field?
<input type="text">
<input type="submit">
<input type="password">
<input type="radio">
TRUE or FALSE
The id attribute of the <input> element should always be equal to the for attribute of the <label> element.
(a)
What form elements are used in creating this text field?
<select> and <option>
<label> and <input>
<textarea> and <input>
<select> and <input>
(5 points Question)
for 2mins
What is the output of this code?
0
10
5
NaN
(5 points Question)
for 2mins
What is the output of this code?
2
3
0
1
