Exam 1 Answers Flashcards
T/F The most common way of accepting user input is through a web form
T
Write the HTML code to create a paragraph element with “Hello World” as the text:
< p > Hello World < /p >
a(n) ___ includes the blank spaces, tabs, and line breaks found within the file
a) black-space character
b) blank-space character
c) empty-space character
d) white-space character
c) empty-space character
the style rule
ul { list-style-image: url(redball.png); }
displays items from ___ lists marked with the graphic image in the redball.png file.
a) structured
b) ordered
c) unordered
d) unstructured
c) unordered
fill in the blank in the following CSS code to change the background of the document to the color blue
body {background-color: blue;}
___ is the current version of HTML
a) HTML 4.01
b) HTML 5
c) DHTML
d) XML
b) HTML 5
t/f JS written inside HTML document is an example of server-side scripting
f
the “D” in DHTML stands for
a) Duo
b) Dictionary
c) Deprecated
d) Dynamic
d) Dynamic
a “reset” input element will clear other input elements as long as it is placed inside the same ___
a) body
b) head
c) table
d) form
d) form
a ___ layout sets the width of the page elements as a percent of the available screen width
a) fixed
b) elastic
c) fluid
d) modified
c) fluid
t/f in the background-attachment property, the “fixed” type creates a background that stays in place… element content is scrolled horizontally or vertically.
t
individual items in a list are created using the ___ element
a) il
b) ol
c) ul
d) li
d) li
which of the following is an inline element
a) < hr >
b) < img >
c) all of these
d) < p >
b) < img >
a(n) ___ element has no text mark up
a) blank
b) null
c) empty
d) HTML
c) empty
which of the following CSS 3 filters applies transparency to an image
a) opcacity
b) invert
c) blur
d) gray scale
a) opcacity
the ___ value of the overflow style keeps an element at a specific size, adding scroll bars only as they are needed.
a) visible
b) scroll
c) hidden
d) auto
d) auto
since the li element is itself a grouping element, is can be used to group other lists, which in turn creates a series of ___
a) nested lists
b) separated lists
c) navigation lists
d) ordered lists
a) nested lists
the WWWC enfocrced a stricter set of standards in a different version of HTML called ___
a) DHTML
b) HTML 4,01
c) XHTML
d) XML
c) XHTML
T/F the img element is inserted using the empty element tag because it does not enclose any page content, but instead links to an external image file
t
a ___ language is a language used to describe the content and structure of documents
a) lexical
b) markup
c) parsing
d) validation
b) markup
which of the following elements can be used to “float” a block-level element to the left or might of another element?
a) p
b) margin
c) head
d) div
d) div
write the HTML code to create the largest heading with the text “Welcome to My Website!”
< h1 > Welcome to My Website < /h1 >
an often-used empty element is a(n) ___ element, which creates a dividing line to indicate a new section or topic change within a web page.
a) anchor
b) img
c) horizontal rule
d) div
c) horizontal rule
you can insert a comment in HTML using ___
a) < !–comment – >
b) –comment>
c)
d)
a)