Introduction to HTML5
2.2 Editing HTML5
2.1 HTML5 documents are edited using a(n) ________.
a) compiler
b) browser
c) operating system
d) text editor
ANS: d
2.2 Machines called ________ store HTML5 documents.
a) contollers
b) web servers
c) web services
d) all of the above
ANS: b
2.3 First HTML5 Example
2.3 HTML5 text is marked up with ________, delimited by ________ that are keywords contained in pairs of ________.
a) elements, angle brackets, tags
b) angle brackets, elements, tags
c) tags, elements, angle brackets
d) elements, tags, angle brackets
ANS: d
2.4 Text put between the ________ tags appears in the browser’s title bar (i.e., the dark bar at the top of the browser window).
a)
b)
c)
d)
ANS: b
2.4 W3C HTML5 Validation Service
(No questions)
2.5 Headings
2.5 Which heading is the smallest?
a) h6
b) h1
c) h5
d) h0
ANS: a
2.6 Linking
2.6 In the statement
, href is a(n) ________ of the a element.
a) anchor
b) element
c) label
d) attribute
ANS: d
2.7 A link to an e-mail address is created using the notation Paul.
a) @LAUNCH_email.
b) mailto:emailAddress.
c) email:emailAddress.
d) emailAddress.
ANS: b
2.7 Images
2.8 The alt attribute is used in a(n) ________ element to provide an alternate ________ description for the image.
a) img, text.
b) a href, address.
c) title, text.
d) src, image size.
ANS: a
2.9 The location of an image is specified in the img element’s _______ attribute.
a) location
b) image
c) src
d) source
ANS: c
2.8 Special Characters and Horizontal Rules
2.10 Which statement is false?
a) The &code; syntax is reserved for special characters.
b) The del element is used to delete text.
c) The sup and sub elements are used to denote superscript and subscript characters.
d) The hr element introduces a horizontal rule.
ANS: b. Most browsers render the del element as strike-through text. With this format users can indicate document revisions.
2.11 The code