Exam 12: Working With Document Nodes and Style Sheets Tutorial

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Identify the property that describes a collection of all of the element nodes contained within node .

(Multiple Choice)
4.7/5
(33)

Identify the HTML code to create form buttons to switch between the web view and page view.

(Multiple Choice)
4.8/5
(36)
Identify the letter of the choice that best matches the phrase or definition.
The immediate sibling element after node
rule .style. property
The number of child elements within node
node .lastElementChild
The contents of rule as a text string (read-only)
rule. cssText
Correct Answer:
Verified
Premises:
Responses:
The immediate sibling element after node
rule .style. property
The number of child elements within node
node .lastElementChild
The contents of rule as a text string (read-only)
rule. cssText
The total number of child elements within node
node .previousElementSibling
The style sheet containing rule (read-only)
rule . parentStyleSheet
The immediate sibling element after node
node .children.length
The style rule containing rule as a parent (read-only)
rule .selectorText
The final element within node
node .nextElementSibling
The total number of child elements within node
rule .parentRule
The immediate sibling element after node
node .childElementCount
(Matching)
4.8/5
(36)

The node.childNodes describes a collection of all of the nodes that are direct children of node .

(True/False)
4.8/5
(36)

Case-Based Critical Thinking Questions Case 12-2 Samantha has been asked by her university to create a website that contains a list of all the subjects that the students in Computer Science and Information Science can take up during each semester in college. She wants to create a nested list that will contain an h1 heading level for a student's chosen subject stream, h2 heading level for the semester number, h3 heading level for the name of the subject, and h4 heading level for its subdivisions. Which of the following rules must Samantha use to determine the insertion of a sub division of a subject right after the subject is inserted into the list?

(Multiple Choice)
4.8/5
(43)

Identify a true statement about the sheet. parentStyleSheet property .

(Multiple Choice)
4.8/5
(36)

Identify the syntax for adding new rules to a style sheet.

(Multiple Choice)
4.7/5
(45)

A value of _____ is returned when the rule.type property describes the @charset rule.

(Multiple Choice)
4.8/5
(45)
Identify the letter of the choice that best matches the phrase or definition.
The text of the patterns that select the element(s) to be styled for rule
node .childElementCount
The immediate sibling element before node
node .previousElementSibling
The contents of rule as a text string (read-only)
rule .style. property
Correct Answer:
Verified
Premises:
Responses:
The text of the patterns that select the element(s) to be styled for rule
node .childElementCount
The immediate sibling element before node
node .previousElementSibling
The contents of rule as a text string (read-only)
rule .style. property
The number of child elements within node
rule. cssText
The value of a style feature within rule
node .nextElementSibling
The final element within node
rule . parentStyleSheet
The total number of child elements within node
rule .parentRule
The style rule containing rule as a parent (read-only)
node .children.length
The style sheet containing rule (read-only)
rule .selectorText
The immediate sibling element after node
node .lastElementChild
(Matching)
4.7/5
(29)

The node .firstElementChild property is applicable only to element nodes.

(True/False)
4.8/5
(41)

The innerHTML property is equally effective for large document structures as it is for small fragments of HTML code.

(True/False)
4.9/5
(43)

Explain the hierarchical or tree-like structure of an HTML file with an example.

(Essay)
4.9/5
(32)

Identify the value returned by the node.nodeType property for an element node.

(Multiple Choice)
4.9/5
(36)

To represent an element name in the nodeName property, only lowercase letters are used.

(True/False)
4.9/5
(42)

Element nodes do not have a value for the nodeValue property.

(True/False)
4.8/5
(29)

The contents of an HTML file are arranged in a hierarchical structure, starting from the root html element itself and moving down to the text strings contained within individual page elements.

(True/False)
4.8/5
(40)
Showing 61 - 76 of 76
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)