WorksheetsMidterm Examination in Web Programming
Total questions: 16
Worksheet time: 8mins
What does HTML stand for?
Hyperlink and Text Markup Language
Hypertext Markup Language
Home Tool Markup Language
Hyper Transfer Markup Language
Which of the following is NOT an element of a web page?
Title
Background
Stylesheet
Body
What is the main function of HTML tags?
They determine how text is displayed on a web page
They create a database for the web page
They allow for JavaScript execution
They connect the web page to a server
What does the
tag do?Starts and ends a paragraph
Indicates the start and end of a web page body
Creates a heading section
Inserts a horizontal rule
Which HTML tag is used to insert a line break?
<br/>
<p>
<hr/>
<hr/>
Which of the following is NOT a text formatting tag in HTML?
<b>
<i>
<u>
<img>
What is an unordered list in HTML?
A list where the order matters
A bulleted list
A numbered list
A hierarchical list
Which tag is used to create an ordered list?
<ul>
<ol>
<li>
What file format is NOT supported by the tag?
JPEG
PNG
GIF
DOCX
How do you create a hyperlink in HTML?
<a src="url">Link</a>
<a href="url">Link</a>
<link href="url">Link</link>
<src ="url">Link</src>
What does CSS stand for?
Creative Style Sheets
Cascading Style Sheets
Computer Style Sheets
Colorful Style Sheets
Which type of CSS is written directly within an HTML tag?
Internal CSS
Inline CSS
External CSS
Direct CSS
Which CSS selector selects elements by their ID?
. (dot)
# (hash)
> (greater than)
: (colon)
What is JavaScript primarily used for?
Structuring web pages
Styling web pages
Adding interactivity to web pages
Managing databases
Which tag is used to include an external JavaScript file?
<script>
<javascript>
<js>
Which JavaScript feature is used to validate HTML forms?
AJAX
jQuery
Event handling
HTML Form validation
