HTML W3 Quiz

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

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

/

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

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

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

<audio>

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

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

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

<br>

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

<input type="text">

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

<meter>

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

<nav>

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

<ol>

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

<video>

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

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

Event attributes

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

False

What does HTML stand for? Hyper Text Markup Language Hyperlinks and Text Markup Language Home Tool Markup Language

Hyper Text Markup Language

The HTML global attribute, "contenteditable" is used to: 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 Return the position of the first found occurrence of content inside a string Update content from the server

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

True or False? An <iframe> is used to display a web page within a web page.

True

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

True

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

True

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

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? alt title longdesc src

alt

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

draw graphics

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

range

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

<!DOCTYPE html>

Who is making the Web standards? The World Wide Web Consortium Microsoft Google Mozilla

World Wide Web Consortium

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

required

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

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

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

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

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

<em>

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

<footer>

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

<h1>

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

<header>

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

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

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

<input type="checkbox">

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

<select>

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

<strong>

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

<table><tr><td>

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

<textarea>

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

<title>

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

<ul>


Set pelajaran terkait

Managing People and Work Exam 1 Mr. Chen

View Set

VHLCENTRAL FRE 111: 3 - ComplétezFill in the blanks Activity InstructionsFill in the blanks with the missing numbers to complete each equation. Write out the numbers in words and follow the model.

View Set

Sherpath: Informatics in Nursing Practice

View Set

Assignment 8 - Optimizing Risk for Strategic Advantage

View Set