NEW
Font size
WorksheetsWeb Development Workshop
Total questions: 10
Worksheet time: 3mins
HTML consists of two (2) sections. What are those sections?
head and body
html and head
body and foot
foot and head
What is the keyword that we use to specify variable in JavaScript?
variable
var
int
str
Which of the following CSS ID Selector ‘section’ set the background color to green?
#section {color: green}
#section{background-color:green}
.section{background-color:green}
.section{color:green}
The following HTML statement is embedding external JavaScript file ‘change.js’ into HTML document:
<script href=”change.js”></script>
True
False
JavaScript can be included within <head> and <body> elements.
True
False
The following HTML statement is linking an external CSS file ‘style.css’ into HTML.
<link href="style.css" rel="stylesheet">
True
False
Which of the following is used for closing an HTML tag?
Backward slash
Hyphen
Period
Forward slash
<h10> is the largest header in HTML.
True
False
Which of the following is the correct way to define a JavaScript function?
function _abc { }
function $abc { }
function 1abc { }
function #abc { }
The external JavaScript file must contain the <script> tag.
True
False
