Rebecca Walton
Quiz by , created more than 1 year ago

Sanchez, L. (2017). Web Programming with HTML, CSS, Bootstrap, JavaScript, JQuery, PHP, and MySQL . CreateSpace Independent Publishing Platform.

4
0
0
Rebecca Walton
Created by Rebecca Walton over 4 years ago
Close

Chapter 1: Introduction to the Web and HTML

Question 1 of 30

1

Which character is used to indicate the end tag of an HTML element?

Select one of the following:

  • #

  • <

  • >

  • /

Explanation

Question 2 of 30

1

Which of the following elements inserts a line break in HTML file?

Select one of the following:

  • <break>

  • <br>

  • <newline>

  • <line>

Explanation

Question 3 of 30

1

A tag such as <br> is often called ______ because it does not require a closing tag for the element.

Select one of the following:

  • break tag

  • short tag

  • brief tag

  • void element

Explanation

Question 4 of 30

1

The HTML ________is/are the building blocks of HTML documents

Select one of the following:

  • link

  • <h1>

  • elements

  • packets

Explanation

Question 5 of 30

1

All HTML elements must be __________

Select one of the following:

  • in lowercase

  • properly nested

  • short

  • closed with a tag

Explanation

Question 6 of 30

1

Which of the following is a correct way to use comments in HTML?

Select one of the following:

  • <comments>This is a line of comments in HTML</comment>

  • <!--This is a line of comments in HTML-->

  • <skip>This is a line of comments in HTML</skip>

  • /*This is a line of comments in HTML*/

Explanation

Question 7 of 30

1

HTML elements can have attributes. These attributes are used to __________.

Select one of the following:

  • add additional information for the element

  • override the elements

  • make an element more readable

  • identify each element

Explanation

Question 8 of 30

1

An inline element is normally displayed without starting a new line

Select one of the following:

  • true

  • false

Explanation

Question 9 of 30

1

Which of the following should be used for the most important heading of a Web page?

Select one of the following:

  • <header>

  • <head>

  • <heading>

  • <h1>

Explanation

Question 10 of 30

1

Which of the following HTML elements is used to define important text?

Select one of the following:

  • <em>

  • <strong>

  • <important>

  • <b>

Explanation

Question 11 of 30

1

Which of the following HTML elements is used to define emphasized text?

Select one of the following:

  • <em>

  • <strong>

  • <important>

  • <b>

Explanation

Question 12 of 30

1

Which HTML element is used to insert an image?

Select one of the following:

  • <img src = "myImage.jpg" alt = "My image">

  • <img src = "myImage.jpg>My Image</img>

  • <img>myImage.jpg</img>

  • <img alt = "My Image">myImage.jpg</img>

Explanation

Question 13 of 30

1

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

Select one of the following:

  • alternate

  • alt

  • backup

  • text

Explanation

Question 14 of 30

1

Which of the following HTML element is used to create a hyperlink?

Select one of the following:

  • <a>http://www.createspace.com</a>

  • <a attribute = "http://www.createspace.com">CreateSpace</a>

  • <a url = "http://www.createspace.com">CreateSpace</a>

  • <a href = "http://www.createspace.com">CreateSpace</a>

Explanation

Question 15 of 30

1

Which HTML element is used to make a numbered list?

Select one of the following:

  • <list>

  • <ol>

  • <ul>

  • <number>

Explanation

Question 16 of 30

1

Which HTML element is used to make a bulleted list?

Select one of the following:

  • <list>

  • <ol>

  • <ul>

  • <number>

Explanation

Question 17 of 30

1

Which HTML element is used to display a webpage within the current webpage?

Select one of the following:

  • <input>

  • <newpage>

  • <insert>

  • <iframe>

Explanation

Question 18 of 30

1

Which of the following HTML elements are used to mark up a table?

Select one of the following:

  • <table><tr><td>

  • <tb><tr><td>

  • <body><table>

  • <table><ul><li>

Explanation

Question 19 of 30

1

Which of the following HTML code, if you need a few extra space between 2017 and Your name, what can you do?
<p>COPYRIGHT &copy;2017 Your name</p>

Select one of the following:

  • Add a few space like this "2017 Your name"

  • Add a space element like <space>

  • Add a few &nbsp; in where you want the space

  • Any of the above works fine

Explanation

Question 20 of 30

1

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

Select one of the following:

  • <footer>

  • <foot>

  • <endofdocument>

  • <eod>

Explanation

Question 21 of 30

1

Which HTML element is used to specify a navigation for a page?

Select one of the following:

  • <navigation>

  • <nav>

  • <navigate>

  • <menu>

Explanation

Question 22 of 30

1

Which HTML element is used to specify content aside from the page content?

Select one of the following:

  • <footer>

  • <side>

  • <aside>

  • <sidebar>

Explanation

Question 23 of 30

1

Which HTML element is used to specify a header for a document or section?

Select one of the following:

  • <header>

  • <head>

  • <section>

  • <document header>

Explanation

Question 24 of 30

1

Which HTML element is used to make a text input field in a form?

Select one of the following:

  • <input type = "input">

  • <input type = "field">

  • <input type = "text">

  • <input type = "inputfield">

Explanation

Question 25 of 30

1

Which HTML element is used to make a checkbox in a form?

Select one of the following:

  • <input type = "checkbox">

  • <input type = "check">

  • <input type = "box">

  • <input type = "select">

Explanation

Question 26 of 30

1

Which HTML element is used to make a dropdown list in a form?

Select one of the following:

  • <input type = "dropdown">

  • <input type = "list">

  • <select>

  • <list>

Explanation

Question 27 of 30

1

Which HTML element is used to make a text area in a form?

Select one of the following:

  • <input type = "textarea">

  • <input type = "text_area">

  • <select>

  • <textarea>

Explanation

Question 28 of 30

1

Which attribute in HTML form is used to specify that an input field must be filled out?

Select one of the following:

  • checked

  • placeholder

  • value

  • required

Explanation

Question 29 of 30

1

Who is making the standard for the Web?

Select one of the following:

  • Nobody

  • The World Wide Web Consortium

  • Microsoft

  • Unite Nation

Explanation

Question 30 of 30

1

HTML 5 was the result of hard work of W3C from the first day.

Select one of the following:

  • true

  • false

Explanation