Shared Flashcard Set

Details

Organizing HTML5 Content
lists, div element, document flow, comments
20
Computer Science
10th Grade
09/13/2017

Additional Computer Science Flashcards

 


 

Cards

Term
The div element:rong
Definition
A. marks a "division" in your web page
B. divides your web page into 3 equal parts
C. divides numbers in math equations
D. makes all of your elements bold
Term
The _________ element can be used to identify a block section and make sure
the content appears on its own lines, but it does not add any extra styling by
itself
Definition
A. blockquote
B. strong
C. span
D. div
Term
What attribute does not do anything other than put a unique label on the
container?
Definition
A. The “id” attribute
B. The “target” attribute
C. The “identifier” attribute
D. The “label” attribute
Term
Which of the following is NOT a use for a Comment?
Definition
A. write notes to yourself in your code that wouldn’t be displayed in the
browser
B. write descriptive text to help someone else understand a section of code
C. to help identify the ending tags that go with a particular attribute
D. bold certain areas of text
Term
What is used to start and end a comment?
Definition
A. "+" tag and end with "-" characters.
B. "" characters.
C. "!!!" tag and end with "***" characters.
Term
You can type pretty much anything inside a comment except:
Definition
A. double dashes (--)
B. numbers
C. asterisks (***)
D. pound signs (###)
Term
What is the purpose of a “character reference” in HTML?
Definition
A. To add symbols to your visible content that do not exist on the keyboard
B. Too add symbols to your visible content such as < or > that have special
meaning in HTML
C. Both of these are true
D. Neither of these are true
Term
Which of the following is a correctly formatted character reference for the greater than (>) angle bracket?
Definition
A. >
B. &>;
C. >
D. gt;
Term
What kind of area do you normally find at the bottom of a web page?
Definition
A. A header
B. A footer
C. A main content area
D. A navigation sidebar
Term
Which of the following elements are block elements?
Definition
A.

B. strong C. em D. All of these are block elements

Term
Block elements can contain:
Definition
A. Only other block elements
B. Only inline elements
C. Only paragraphs
D. Both other inline and other block elements
Term
This kind of element does not add any space around the data within the element;
it will just control how the data is displayed.
Definition
A. Block element
B. Inline element
C. Bold element
D. New line element
Term
Which of the following elements inline elements doesn’t do anything by itself, but
can mark things for later styling?
Definition
A. span B.
C. em D. div
Term
If your web site contains ____________, searching for problems and errors is
much easier and faster
Definition
A. clean code
B. organized lines
C. new code
D. specific code
Term
When you set code inside other code, in an orderly fashion, it is called:
Definition
A. Inside code
B. Nesting
C. Orderly code
D. Organized lines
Term
Which of the following examples shows correctly written elements with one
nested inside another?)
Definition
A. (body)(div) (/div)(/body)
B. (body)(div) (/body)(/div)
C. (body)(/body)(div)(/div)
D. All of these will work just fine
Term
Which of the following examples shows an opening tag and “id” attribute with a
value equal to “Banner”?(
Definition
A. div id="Banner"
B. div Banner="id"
C. div id=Banner/div
D. id value="Banner"
Term
To create a list where the ordering is important, what element would you use?
Definition
A. The
  • element B. The
    element C. The
    element D. The
    element
    Term
    What element is used to mark the text for each entry in the list?
    Definition
    A. The
  • element B. The
    element C. The
    element D. The
    element
    Term
    Use this type of list when no item is more important than another, or you don’t
    want the items to be numbered.
    Definition
    A. The
  • element B. The
    element C. The
    element D. The
    element
    Supporting users have an ad free experience!