HTML quiz

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

represents the dominant content of the body

main

Which character is used to indicate an end tag? ^ < * /

/

Which doctype is correct for HTML5? <!DOCTYPE HTML5> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd"> <!DOCTYPE html>

<!DOCTYPE html>

What is the correct HTML for adding a background color? <body bg="yellow"> <background>yellow</background> <body style="background-color:yellow;">

<body style="background-color:yellow;">

Which HTML element is used to specify a footer for a document or section? <bottom> <footer> <section>

<footer>

What is the correct HTML for making a checkbox? <checkbox> <check> <input type="check"> <input type="checkbox">

<input type="checkbox">

specifies relationship between document and external source

<link>

represents metadata>

<meta>

Which HTML element is used to display a scalar measurement within a range? <gauge> <range> <meter> <measure>

<meter>

How can you make a numbered list? <ul> <dl> <ol> <list>

<ol>

indicates high importance of the content

<strong>

Which of these elements are all <table> elements? <table><head><tfoot> <table><tr><tt> <table><tr><td> <thead><body><tr>

<table><tr><td>

defines the document title that is shown in the browser title

<title>

Inline elements are normally displayed without starting a new line. True False

?

In HTML, onblur and onfocus are: HTML elements Event attributes Style attributes

Event attributes

Block elements are normally displayed without starting a new line. True False

False

What does HTML stand for?

Hypertext Markup Language

Who is making the Web standards?

World Wide Web Consortium

generic container

div

Which input type defines a slider control? search slider range controls

range

represents a self-contained composition in a document, page, application

<address>

What is the correct HTML element for playing audio files? <mp3> <audio> <sound>

<audio>

used to draw users attention to elements which are not otherwise granted special importance

<b>

creates an in line break

<br>

What is the correct HTML for making a text input field? <input type="textfield"> <input type="text"> <textinput type="text"> <textfield>

<input type="text">

displays content as subscript

<sub>

represents portion of a document whose content is onlyy related to the document

aside

What is the correct HTML for making a text area? <textarea> <input type="textarea"> <input type="textbox">

<textarea>

represents stand alone section which doesn't have specific semantic to represent

section

indicates that the enclosed text is an extended quotation.

<blockquote>

represents paragraph

<p>

In HTML, what does the <aside> element define? Content aside from the page content The ASCII character-set; to send information between computers on the Internet A navigation list to be shown at the left side of the page

Content aside from the page content

What is the correct HTML for creating a hyperlink? <a name="http://www.w3schools.com">W3Schools.com</a> <a>http://www.w3schools.com</a> <a href="http://www.w3schools.com">W3Schools</a> <a url="http://www.w3schools.com">W3Schools.com</a>

<a href="http://www.w3schools.com">W3Schools</a>

How can you open a link in a new tab/browser window? <a href="url" target="_blank"> <a href="url" target="new"> <a href="url" new>

<a href="url" target="_blank">

creates a hyperlink into other web page, file, location withing the same page

<a>

What is the correct HTML for inserting a background image? <background img="background.gif"> <body bg="background.gif"> <body style="background-image:url(background.gif)">

<body style="background-image:url(background.gif)">

represents the content of an HTML document

<body>

What is the correct HTML element for inserting a line break? <break> <lb> <br>

<br>

Which HTML element is used to specify a header for a document or section? <section> <header> <top> <head>

<header>

Choose the correct HTML element to define emphasized text <em> <i> <italic>

<i>

represents nested browsing context, embeding page into a page

<iframe>

What is the correct HTML for inserting an image? <img href="image.gif" alt="MyImage"> <image src="image.gif" alt="MyImage"> <img alt="MyImage">image.gif</img> <img src="image.gif" alt="MyImage">

<img src="image.gif" alt="MyImage">

embeds image to the document

<img>

generic inline container for phrasing content, can represent anything

<span>

Choose the correct HTML element to define important text <strong> <i> <important> <b>

<strong>

Which HTML element defines the title of a document? <title> <meta> <head>

<title>

How can you make a bulleted list? <dl> <list> <ol> <ul>

<ul>

What is the correct HTML element for playing video files? <movie> <media> <video>

<video>

In HTML, you can embed SVG elements directly into an HTML page. True False

True

Graphics defined by SVG is in which format? CSS HTML XML

XML

Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed? title alt longdesc src

alt

The HTML <canvas> element is used to: display database records draw graphics create draggable elements manipulate data in MySQL

draw graphics

Choose the correct HTML element for the largest heading: <h6> <head> <heading> <h1>

h1

elements for headings

h1 -h6

represents only introduction to the document, navigational aid

header

break between paragraphs

hr

used for navigational links

nav

In HTML, which attribute is used to specify that an input field must be filled out? placeholder required validate formvalidate

required

contains style information of the document

<style>

Which HTML element defines navigation links? <navigation> <nav> <navigate>

<nav>

What is the correct HTML for making a drop-down list? <input type="list"> <input type="dropdown"> <select> <list>

<select>

displays content as superscript

<sup<

The HTML global attribute, "contenteditable" is used to: Return the position of the first found occurrence of content inside a string Specifies a context menu for an element. The menu appears when a user right-clicks on the element Specify whether the content of an element should be editable or not Update content from the server

Specify whether the content of an element should be editable or not

An <iframe> is used to display a web page within a web page. There is no such thing as an <iframe> True False

True

HTML comments start with <!-- and end with --> False True

True


Ensembles d'études connexes

US History: Chapter 1 The Civil War --Study Guide

View Set

Theatre Tech: Semester 2 - Part 1

View Set

Real Estate Online - Brokerage/Agency Relationships

View Set

1.1 - 1.4 Quiz: Foundations of Government - Caydan Jonasch

View Set