Chapter 1: Introduction to the Web and HTML

Description

Sanchez, L. (2017). Web Programming with HTML, CSS, Bootstrap, JavaScript, JQuery, PHP, and MySQL . CreateSpace Independent Publishing Platform.
Rebecca Walton
Quiz by Rebecca Walton, updated more than 1 year ago
Rebecca Walton
Created by Rebecca Walton over 4 years ago
4
0

Resource summary

Question 1

Question
Which character is used to indicate the end tag of an HTML element?
Answer
  • #
  • <
  • >
  • /

Question 2

Question
Which of the following elements inserts a line break in HTML file?
Answer
  • <break>
  • <br>
  • <newline>
  • <line>

Question 3

Question
A tag such as <br> is often called ______ because it does not require a closing tag for the element.
Answer
  • break tag
  • short tag
  • brief tag
  • void element

Question 4

Question
The HTML ________is/are the building blocks of HTML documents
Answer
  • link
  • <h1>
  • elements
  • packets

Question 5

Question
All HTML elements must be __________
Answer
  • in lowercase
  • properly nested
  • short
  • closed with a tag

Question 6

Question
Which of the following is a correct way to use comments in HTML?
Answer
  • <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*/

Question 7

Question
HTML elements can have attributes. These attributes are used to __________.
Answer
  • add additional information for the element
  • override the elements
  • make an element more readable
  • identify each element

Question 8

Question
An inline element is normally displayed without starting a new line
Answer
  • true
  • false

Question 9

Question
Which of the following should be used for the most important heading of a Web page?
Answer
  • <header>
  • <head>
  • <heading>
  • <h1>

Question 10

Question
Which of the following HTML elements is used to define important text?
Answer
  • <em>
  • <strong>
  • <important>
  • <b>

Question 11

Question
Which of the following HTML elements is used to define emphasized text?
Answer
  • <em>
  • <strong>
  • <important>
  • <b>

Question 12

Question
Which HTML element is used to insert an image?
Answer
  • <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>

Question 13

Question
Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
Answer
  • alternate
  • alt
  • backup
  • text

Question 14

Question
Which of the following HTML element is used to create a hyperlink?
Answer
  • <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>

Question 15

Question
Which HTML element is used to make a numbered list?
Answer
  • <list>
  • <ol>
  • <ul>
  • <number>

Question 16

Question
Which HTML element is used to make a bulleted list?
Answer
  • <list>
  • <ol>
  • <ul>
  • <number>

Question 17

Question
Which HTML element is used to display a webpage within the current webpage?
Answer
  • <input>
  • <newpage>
  • <insert>
  • <iframe>

Question 18

Question
Which of the following HTML elements are used to mark up a table?
Answer
  • <table><tr><td>
  • <tb><tr><td>
  • <body><table>
  • <table><ul><li>

Question 19

Question
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>
Answer
  • 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

Question 20

Question
Which HTML element is used to specify a footer for a document or section?
Answer
  • <footer>
  • <foot>
  • <endofdocument>
  • <eod>

Question 21

Question
Which HTML element is used to specify a navigation for a page?
Answer
  • <navigation>
  • <nav>
  • <navigate>
  • <menu>

Question 22

Question
Which HTML element is used to specify content aside from the page content?
Answer
  • <footer>
  • <side>
  • <aside>
  • <sidebar>

Question 23

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

Question 24

Question
Which HTML element is used to make a text input field in a form?
Answer
  • <input type = "input">
  • <input type = "field">
  • <input type = "text">
  • <input type = "inputfield">

Question 25

Question
Which HTML element is used to make a checkbox in a form?
Answer
  • <input type = "checkbox">
  • <input type = "check">
  • <input type = "box">
  • <input type = "select">

Question 26

Question
Which HTML element is used to make a dropdown list in a form?
Answer
  • <input type = "dropdown">
  • <input type = "list">
  • <select>
  • <list>

Question 27

Question
Which HTML element is used to make a text area in a form?
Answer
  • <input type = "textarea">
  • <input type = "text_area">
  • <select>
  • <textarea>

Question 28

Question
Which attribute in HTML form is used to specify that an input field must be filled out?
Answer
  • checked
  • placeholder
  • value
  • required

Question 29

Question
Who is making the standard for the Web?
Answer
  • Nobody
  • The World Wide Web Consortium
  • Microsoft
  • Unite Nation

Question 30

Question
HTML 5 was the result of hard work of W3C from the first day.
Answer
  • true
  • false
Show full summary Hide full summary

Similar

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr