Font size
WorksheetsWeb Development(HTML+CSS+JAVASCRIPT) QUIZ
Total questions: 120
Worksheet time: 1hrs 3mins
The structure of a web page is primarily created with which of the following?
HTML
CSS
Javascript
C++
Which web development tools would I use if I wanted my web page to have specific colors and style?
HTML
CSS
Javascript
PHP
To "style" a font in a specific type, which "property" would I use?
font-style
font-type
font-family
font-"name of font"
A tag pair assigns meaning to a web page ______, which is a specific component of the page, such as a paragraph or a heading.
element
attribute
object
property
Both the head and body tag pairs are located within the HTML tag pair. This situation is known as ______________.
tagging
pairing
nesting
joining
What language adds interactive features to a website?
HTML
CSS
JavaScript
PHP
The elements <DIV> and <SPAN> have the following characteristics
Element <DIV> inherits properties defined for <SPAN> in a stylesheet
<DIV> is used inside element <P>.
<DIV> and <SPAN> are used as alternatives for the element <P>
Elements <SPAN> and <DIV> define content to be inline or block-level
The raw text, images, and other elements included in a web page
website content
website structure
heading
website
The collected information about an individual across multiple websites on the Internet.
Digital Footprint
Website structure
HTML Element
Heading
The purpose of different pieces of content in a web page, used to help the computer determine how that content should be displayed
Website structure
Website content
Intellectual property
Copyright
What is the purpose of the <HEAD> tag in an HTML document?
To define the main content of the page
To specify the title of the page and include meta information
To create a visible heading on the page
To format the text within the body of the page
Which of the following is responsible for the visual presentation of a web page?
HTML
CSS
JavaScript
PHP
What is the purpose of the <IMG> tag in HTML?
To create a hyperlink to another page
To display an image on the web page
To format text in bold
To define a paragraph of text
What is the purpose of the <A> tag in HTML?
To create a hyperlink to another page
To display an image on the web page
To format text in bold
To define a paragraph of text
Which language is primarily used for adding styles to a web page?
HTML
CSS
JavaScript
PHP
What does the <H1> tag represent in HTML?
An image tag
A heading tag
A hyperlink tag
A paragraph tag
Both the head and body tag pairs are located within the HTML tag pair. This situation is known as ______________.
tagging
pairing
nesting
joining
The _______ is located within the html tag pair.
head tag pair
body tag pair
Both A and B
Neither A nor B
Which of the following is NOT a potential question to ask about the target audience?
What is the average education level?
What is the mix of genders?
Why will people visit the website?
What are the short-term goals of the website?
<td> element of a table can contain images.
True
False
It depends
Fill in the blanks to create an order list starting at 10.
<_ _="10">
<li>HTML</li>
<li>CSS</li>
</ol>
(a)
Where can a script tag be placed directly within an HTML document?
<body>
<head>
<title>
<style>
Which entity character creates a 'greater than' symbol?
>
>
&greaterthan
&greater
The radio type input is responsible for playing music on a page.
True
False
Can a form have multiple submit buttons with different destinations?
Yes
No
Is the following code valid for creating a list with two items?
<p>t1<ul>
<li>t2</li>
</ul></p>
Yes
No
What is the output of this code?
<p>3−2</p>
(a)
Who created the world wide web?
Sir John Lee
Sir Bruce Lee
Sir Tim Berners-Lee
Sir Bill Gates
Which of the following is not a type of network?
Internet
Intranet
Extranet
Arpanet
URL stands for
unified random location
united relay locator
uniform resource locator
unique research lab
What do you call a software application used to access and view web pages?
search engine
web browser
internet
none of the above
CSS stands for
Cascading style sheet
Cyber style sheet
Cassandra style sheet
None of the above
What are the three types of style sheet
Internal, external, inline
Inline, internal, extreme
Insidious, internal, external
None of the above
Style will come inside head for
External
Inline
Internal
All of the above
When you use class selector
What should present in front of classname
#
&
@
.
-Applied inline to individual HTML elements on an HTML page.
-Embedded within an HTML page to affect all specified elements on that page.
-Collected in an external file that is linked to multiple HTML pages.
What is a CSS selector?
The value in a markup tag you want to change with a CSS style
Any element to which designated styles are applied
A format instruction in a CSS file
The property in a markup tag to which designated styles are applied
/* This is a multi-line comment */
Can an HTML element have more than 1 "class"?
Yes
No
What's an element?
Where am I, and how did I get here?
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.
Can you assign styles to a "class" with in-line CSS?
Yes
No
What is in-line styling?
Where am I?
What selector is most specific?
h1 {height: 200px;}
#this-one {height: 200px;}
.theseOnes {height: 200px;}
* {height: 200px;}
To declare a JavaScript variable, you should NOT use?
Let
Var
Const
Int
When to use JavaScript var?
JS code from 1995 to 2015
JS code in 2015
Older browser
Any JS code
What is the output for this code?
The value of z is z
The value of z is 11
The value of z is: 11
The value of z is: x + y
What are variables? Choose two from the answers.
container for storing data
storing data values
A cupboard
hold a water in it
What is the value of x?
3
83
80
803
JavaScript is a flexible programming language.
I don't know
Yes
No
Maybe
JavaScript is removing the interactivity of a browser.
I don't know
Yes
No
Maybe
Where JavaScript available in?
Opera
Microsoft Edge
Microsoft Word
Safari
Inside which HTML element do we put the JavaScript
<scripting>
<script>
<js>
<javascript>
where id the correct place to insert a JavaScript?
<body>
<head>
<body>, <head>
html
How do you write "Hello World" in an alert box?
msg("Hello World");
alertBox("Hello World");
alert("Hello World");
msgBox("Hello World");
If I want to change the mathematical expression from addition into division, what symbol should I use?
/
*
-
x
This is arithmetic operation for
JavaScript
JAVA
Which programming language have this code for displaying output?
JavaScript
JAVA
JavaScript : value of z should be the increment of y. What operation should z use?
z = x ++ y
z += y
z = ++ y
z = z + y
Javascript is _________ language.
Programming
Scripting
Application
applet
JavaScript is ______ Side Scripting Language.
JSP
Servlet
Server
Browser
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 can be written -
directly into JS file and included into HTML
directly into HTML pages
directly on the Server Script
None of these
JavaScript is an ________ language.
compiled
interpreted
JavaScript Code is written inside file having extension __________.
.jsc
.jvs
.js
.javascript
Why JavaScript is called as Lightweight Programming Language ?
because JS can provide programming functionality inside but up to certain extend.
because JS is client side scripting
because JS is available free of cost.
because we can add programming functionality inside JS
Local Browser used for validations on the Web Pages uses __________.
HTML
CSS
js
java
JavaScript Code can be called by using _________.
RMI
Function / Method
Triggering Event
Preprocessor
We cannot Place JS Code in the body tag . Say true/false.
True
False.
To declare a JavaScript variable, you should NOT use?
Let
Var
Const
Int
When to use JavaScript var?
JS code from 1995 to 2015
JS code in 2015
Older browser
Any JS code
What is the output for this code?
The value of z is z
The value of z is 11
The value of z is: 11
The value of z is: x + y
What are variables? Choose two from the answers.
container for storing data
storing data values
A cupboard
hold a water in it
What is the value of x?
3
83
80
803
JavaScript is a flexible programming language.
I don't know
Yes
No
Maybe
JavaScript is removing the interactivity of a browser.
I don't know
Yes
No
Maybe
Where JavaScript available in?
Opera
Microsoft Edge
Microsoft Word
Safari
Inside which HTML element do we put the JavaScript
<scripting>
<script>
<js>
<javascript>
where id the correct place to insert a JavaScript?
<body>
<head>
<body>, <head>
html
How do you write "Hello World" in an alert box?
msg("Hello World");
alertBox("Hello World");
alert("Hello World");
msgBox("Hello World");
If I want to change the mathematical expression from addition into division, what symbol should I use?
/
*
-
x
If I want to change the mathematical expression from addition into multiplication, what symbol should I use?
/
*
-
x
What attribute/value do we use to make a button execute JavaScript when clicked?
onclick="doSomething;"
on-click="doSomething;"
onclick="doSomething();"
onclick=doSomething();
Which of the following platform(s) can be used to run Javascript Code
Google Chrome
Firefox
Microsoft Edge
Safari
What symbol represents the and operator in JavaScript?
AND
and
&
&&
What is a * ?
What is -- ?
What is === ?
What is && ?
What will this code display?
Hello Emma
Hello user
Hello+user
nothing
What will this code display?
570
569
568
attendees
JavaScript : What is the alert display for text3 ?
John Doe
JohnDoe
"John" " " "Doe"
"JohnDoe"
JavaScript : What is the alert display for z?
Hello5
10
55
Hello15
What is the value of:
”41” + 1
42
“42”
411
“411”
A store has 20 apples in its inventory. How can you store this information in a JavaScript variable?
var numApples == 20;
20 = numApples;
var numApples = 20;
var num apples = 20;
What are the 3 languages used with website coding?
HTML, HTTP,,code
HTML, CSS, Javascript
words, pictures and graphics
CSS, text hypertext
A collection of interlinked web pages on the World Wide Web
website
content
footprint
heading
The structure of a web page is primarily created with which of the following?
HTML
CSS
Javascript
C++
To "style" a font in a specific type, which "property" would I use?
font-style
font-type
font-family
font-"name of font"
sets the element to one side of the page
margin
width
float
height
What does a class do?
adds color to words
adds style to specific elements
adds style to a whole page
adds a lot more work
Which rule set would change the font size to 24?
font-size: 24
size: 24;
font-size: 24;
font size: 24;
Which tag is used to add an image?
<image>
<img>
<<img>>
</image>
What is missing from this HTML skeleton?
<!DOCTYPE html>
<html>
<body>
</body>
</html>
<head></head>
<div></div>
<img></img>
<head>
