Download HTML Quiz with Complete Solutions and more Quizzes Computer Science in PDF only on Docsity! HTML Quiz with Complete Solutions An <iframe> is used to display a webpage within a web page. T/F - ANSWER-True Block elements are normally displayed without starting a new line. T/F - ANSWER-False Graphics defined by SVG is in which format? - ANSWER- How can you make a bulleted list? - ANSWER-<ul> How can you make a numbered list? - ANSWER-<ol> How can you open a link in a new tab/browser window? - ANSWER-target="_blank" HTML comments start with <!-- and end with --> . T/F - ANSWER-True In HTML, onblur and onfocus are___? - ANSWER- In HTML, what does the <aside> element define? - ANSWER- In HTML, which attribute is used to specify that an input field must be filled out? - ANSWER-required In HTML, you can embed SVG elements directly into an HTML page. T/F - ANSWER- True Inline elements are normally displayed without starting a new line - ANSWER-True What does HTML stand for? - ANSWER-Hyper Text Markup Language What is the correct HTML element for inserting a line break? - ANSWER-<br> What is the correct HTML element for playing audio files? - ANSWER-<audio> What is the correct HTML element for playing video files? - ANSWER- What is the correct HTML element for the largest heading? - ANSWER-<h1> What is the correct HTML element to define emphasized text? - ANSWER-<em> What is the correct HTML element to define important text? - ANSWER-<strong> What is the correct HTML for adding a background color? - ANSWER- style="background-color: red;" What is the correct HTML for creating a hyperlink? - ANSWER-<a href="url"> urlname </a> What is the correct HTML for inserting a background image? - ANSWER- What is the correct HTML for inserting an image? - ANSWER-<img src = "image.gif" alt="MyImage"> What is the correct HTML for making a checkbox? - ANSWER-<input type = "checkbox> What is the correct HTML for making a drop-down list? - ANSWER- What is the correct HTML for making a text area? - ANSWER- What is the correct HTML for making a text input field? - ANSWER-<input type = "text"> What is the HTML <canvas> element used for? - ANSWER-to draw graphics What is the HTML global attribute, "contenteditable" used for? - ANSWER-to specify whether the content of an element should be editable or not Which Character is used to indicate an end tag? - ANSWER-/ Which doctype is correct for HTML5? - ANSWER-<!DOCTYPE html> Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed? - ANSWER-alt Which HTML element defines navigation links? - ANSWER- Which HTML element defines the title of a document? - ANSWER-<title> Which HTML element is used to display a scalar measurement within a range? - ANSWER- Which HTML element is used to specify a footer for a document or section? - ANSWER- <footer> Which HTML element is used to specify a header for a document or section? - ANSWER-header Which input type defines a slider control? - ANSWER- Which of these elements are all <table> elements? - ANSWER-<table> <tr>table row