CS 102 HTML Practice Test
True
An <iframe> is used to display a web page within a web page. T/F?
False
Block elements are normally displayed without starting a new line. T/F?
True
HTML comments start with <!-- and end with --> T/F?
<table><tr><td>
Which of these elements are all <table> elements?
The World Wide Web Consortium
Who is making the Web standards?
<ul>
How can you make a bulleted list?
Hyper Text Markup Language
What does HTML stand for?
<title>
Which HTML element defines the title of a document?
<h1>
Choose the correct HTML element for the largest heading:
<em>
Choose the correct HTML element to define emphasized text
<strong>
Choose the correct HTML element to define important text
<ol>
How can you make a numbered list?
<textarea>
What is the correct HTML for making a text area?
<input type="text">
What is the correct HTML for making a text input field?
alt
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
<a href="url" target="_blank">
How can you open a link in a new tab/browser window?
<br>
What is the correct HTML element for inserting a line break?
<body style="background-color:yellow;">
What is the correct HTML for adding a background color?
<a href="http://www.w3schools.com">W3Schools</a>
What is the correct HTML for creating a hyperlink?
<body style="background-image:url(background.gif)">
What is the correct HTML for inserting a background image?
/
Which character is used to indicate an end tag?
<input type="checkbox">
What is the correct HTML for making a checkbox?
<select>
What is the correct HTML for making a drop-down list?
True
Inline elements are normally displayed without starting a new line. T/F?
<img src="image.gif" alt="MyImage">
What is the correct HTML for inserting an image?