CIW JavaScript Specialist Exam Prep

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

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

b. <textarea>

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

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

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

a. <footer>

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

a. True

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

a. <br>

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

b. False

What does HTML stand for? a. What does HTML stand for? b. Hyper Text Markup Language c. Home Tool Markup Language d. Hyperlinks and Text Markup Language

b. Hyper Text Markup Language

Which character is used to indicate an end tag? a. / b. < c. * d. ^

a. /

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

a. <!DOCTYPE html>

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

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

Choose the correct HTML element for the largest heading: a. <h1> b. <head> c. <h6> d. <heading>

a. <h1>

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

a. alt

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

a. draw graphics

What is the correct HTML element for playing audio files? a. <mp3> b. <audio> c. <sound>

b. <audio>

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

b. <header>

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

b. True

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

b. True

Which input type defines a slider control? a. slider b. range c. controls d. search

b. range

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

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

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

c. <select>

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

d. <meter>

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

a. required

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

c. <input type="text">

Choose the correct HTML element to define important text a. <important> b. <i> c. <strong> d. <b>

c. <strong>

Graphics defined by SVG is in which format? a. CSS b. HTML c. XML

c. XML

Choose the correct HTML element to define emphasized text a. <em> b. <i> c. <italic>

a. <em>

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

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

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

a. <input type="checkbox">

Which HTML element defines navigation links? a. <nav> b. <navigate> c. <navigation>

a. <nav>

How can you make a numbered list? a. <ol> b. <ul> c. <dl> d. <list>

a. <ol>

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

a. <title>

1. How can you make a bulleted list? a. <ul> b. <ol> c. <dl> d. <list>

a. <ul>

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

a. Content aside from the page content

Who is making the Web standards? a. The World Wide Web Consortium b. Mozilla c. Microsoft d. Google

a. The World Wide Web Consortium

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

a. True

In HTML, onblur and onfocus are: a. Style attributes b. Event attributes c. HTML elements

b. Event attributes

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

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

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

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

What is the correct HTML element for playing video files? a. <media> b. <video> c. <movie>

b. <video>


Kaugnay na mga set ng pag-aaral

CH 62 - Common Joint Surgical Procedures

View Set

Consumer Behavior Test 1 Ginder Chapter 1 & 2

View Set

Chapter 5 NCLEX-Style Review Questions

View Set

Self Assessment Questions - Unit 6

View Set

The multiplication rule for dependent events quiz

View Set