CS Practice exam (on moodle)

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

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

1: <!DOCTYPE html>

What is the correct HTML for adding a background color? Select one: 1: <body style="background-color:yellow;"> 2: <background>yellow</background> 3: <background-color>yellow</background-color> 4: <body bg="yellow">

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

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

1: <footer>

Which HTML element is used to specify a header for a document or section? Select one: 1:<header> 2:<head> 3:<top> 4:<section>

1: <header>

What is the correct HTML for inserting an image? Select one: 1:<img src="image.gif" alt="MyImage"> 2:<img alt="MyImage">image.gif</img> 3:<img href="image.gif" alt="MyImage"> 4:<image src="image.gif" alt="MyImage">

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

How can you make a numbered list? 1: <ol> 2: <ul> 3: <dl> 4: <list>

1: <ol>

Which HTML element defines the title of a document? Select one: 1:<title> 2:meta 3:head 4:header

1: <title>

How can you make a bulleted list? Select one: 1: <ul> 2: <ol> 3: <list> 4: <dl>

1: <ul>

Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed? Select one: 1: alt 2: longdes 3: src 4: title

1: alt

What does HTML stand for? Select one: 1: Hyperlinks and Text Markup Language 2: Hyper Text Markup Language 3: Home Text Markup Language 4: Home Tool Markup Language

2: Hyper Text Markup Language

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

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

Which HTML element defines navigation links? Select one: <navigation> <navigate> <nav>

<nav>

Which HTML character is used to indicate an end tag? Select one: 1: / 2: * 3: < 4: >

1: /

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

True

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

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

How can you open a link in a new tab/browser window? Select one: 1: <a href="url" target="_blank"> 2: <a href="url" new> 3: <a href="url" target="new">

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

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

a. <input type="checkbox">

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

a. The World Wide Web Consortium

Which of these elements are all <table> elements? Select one: a. <table><head><tfoot> b. <table><tr><td> c. <table><tr><tt> d. <thead><body><tr>

b. <table><tr><td>


Ensembles d'études connexes

MAR 4503 Quiz 1, MAR 4503 Quiz 2, MAR 4503 Quiz 3, MAR 4503 Quiz 4

View Set

Ch. 17: Assessment of Respiratory Function

View Set

Macroeconomic confusing question TEST 2

View Set

Neurosensory and Musculoskeletal ATI, ATI - Neurosensory

View Set

Chapter 15: Nursing Care of the Child with an Infectious or Communicable Disorder

View Set

Chapter 12 - Listing Agreement (REPI)

View Set