Font size
WorksheetsWeb Systems Prelim and Premid Examination
Total questions: 50
Worksheet time: 35mins
It is the standard markup language for creating Web pages.
HTML (Hyper Text Markup Language)
Javascript
CSS (Cascading Style Sheets)
HTML tags
Describes the structure of a Web page
HTML elements
HTML (Hyper Text Markup Language)
HTML tags
HTML Page Structure
These are label pieces of content such as "heading", "paragraph", "table", and so on
HTML (Hyper Text Markup Language)
Web Browsers
HTML elements
HTML tags
HTML tags are element names surrounded by __________.
<angle brackets>
(round brackets)
[square brackets]
(round brackets) and [square brackets]
The first tag in a pair is the start tag, the second tag is the __________.
new tag
end tag
last tag
old tag
The start tag is also called the ____________, and the end tag the closing tag.
start tag
beginning tag
new tag
opening tag
The _______________ declaration defines this document to be HTML5
<!DOCTYPE html>
<html>
<head>
<title>
The _______ element contains meta information about the document
<title>
<body>
<h1>
<head>
The end tag is written like the start tag, but with a forward slash inserted before the tag name. Which is the following is an example of a correct end tag?
<p>
<p/>
</p>
</p/>
The <p> element defines a ___________.
title
heading
paragraph
page content
HTML tags normally come _________ like <p> and </p>
in pairs
in groups
in one
in single
Above is a visualization of an HTML page structure:
Which of the following section is displayed in a browser.
<body> section
<head> section
<title> section
none of the above
It must only appear once, at the top of the page (before any HTML tags).
<html>
<head>
<body>
<!DOCTYPE> declaration
The _____ element defines a large heading
<h2>
<h1
<h3>
<h4>
What HTML input type is used to create this form selections?
<input type="text">
<input type="submit">
<input type="password">
<input type="radio">
What HTML input type is used to create this form checkbox?
<input type="text">
<input type="checkbox">
<input type="password">
<input type="radio">
What HTML input type is used to create this submit button?
<input type="text">
<input type="submit">
<input type="password">
<input type="radio">
What is missing in this HTML code
<td>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</td>
(a)
What is missing/incorrect in this HTML code
<ol>
<ul>Coffee</ul>
<ul>Tea</ul>
<ul>Milk</ul>
</ol>
(a)
HTML 5 is the fifth version of HTML and is a core technology mark-up language of the internet
true
false
Which of the following is an example of an empty element?
< img / >
< img > < / img >
< / img>
< br / > What type of tag is this?
Break tag
A broken one
An opening tag
<b> html tag is the same with what html tag?
<em>
<strong>
<weak>
Which of the following is the HTML Tag for Ordered List?
<ul> </ul>
<ol> </ol>
Which of the following is the HTML Tag for Unordered List?
<ul> </ul>
<ol> </ol>
Complete the following Codes. Write the missing HTML Tag.
<html>
<head>
<title> Holla </title>
</head>
(a)
Hello World.
</body>
</html>
Which of the following codes shows the output given?
<i>Viva Las Vegas!</i>
<i>Viva Las Vegas!</i>
<i><b>Viva Las Vegas!</i>
<i><b>Viva Las Vegas!</i>
<i><b>Viva Las Vegas!</b></i>
<i><b>Viva Las Vegas!</b></i>
<i><u>Viva Las Vegas!</u></i>
<i><u>Viva Las Vegas!</u></i>
Which of the following is the syntax for Non-Breaking Space
&nbsn;
&nbs;
nbsp;
How many levels of Heading Tags are there?
5
6
7
8
Which of the following is the Line Break tag?
<br / >
<break>
This tag is used to list items on both unordered and ordered list.
<list>
<li>
<1i>
<LL>
The larger the value of the number in heading tag, the smaller the output of the text?
True
False
<i> html tag is the same with what html tag?
<em>
<strong>
<weak>
Which set contains all of the DEFAULT tags needed to create a webpage?
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
<html>
<head>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
HTML controls the _________ of a webpage.
feel
precision
structure
style
What defines the beginning and ending of the visible part of a webpage?
<head> main part of the document </body>
<body> main part of the document </html>
d) </body> main part of the document <html>
<body> main part of the document </body>
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>
Which character is used to indicate an end tag?
!
#
/
\
Which of the following is the proper format for an HTML tag?
>h1<Content Affected by Tag >/h1<
<h1>Content Affected by Tag<h1>
<h1 Content Affected by Tag />
<h1>Content Affected by Tag</h1>
What is the purpose of the <meta> tag in HTML?
To define the character set
To create a link to a stylesheet
To add a title to the document
To include JavaScript code
Which HTML element is used to define a footer for a document or section?
<footer>
<bottom>
<section>
<aside>
What does the <div> tag represent in HTML?
A division or section in a document
A hyperlink
A form element
A list item
Which HTML tag is used to create a hyperlink?
<a>
<link>
<href>
What is the purpose of the <meta> tag in HTML?
To define the character set
To create a link to a stylesheet
To add a footer to the document
Which of the following is the correct way to create a checkbox input in HTML?
<input type="checkbox">
<checkbox>
<input type="check">
Which HTML element is used to define a navigation section?
<nav>
<navigation>
<menu>
<link>
What is the purpose of the <link> tag in HTML?
To link to external stylesheets
To create a hyperlink
To define metadata
To include scripts
Which of the following is the correct way to create a comment in HTML?
<!-- This is a comment -->
<comment> This is a comment </comment>
<# This is a comment #>
<* This is a comment *>
Which of the following tags is used to create a dropdown list in HTML?
<select>
<dropdown>
<list>
<option>
What is the purpose of the <link> tag in HTML?
To link to external stylesheets
To create a hyperlink
To define metadata
