Exam 12: Working With Document Nodes and Style Sheets Tutorial

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

The _____ property describes the embed or link element node that creates a style sheet.

(Multiple Choice)
4.8/5
(31)

The node .previousSibling expression describes the sibling after node.

(True/False)
4.9/5
(42)

One advantage of the counter variable method over familial references method is that it also provides the flexibility to insert new nodes into a document within the for loop without having to recalculate the length of the child nodes collection.

(True/False)
4.8/5
(40)

Each parent node can contain only one child node.

(True/False)
4.9/5
(36)

Which of the following methods creates a node containing the text string text ?

(Multiple Choice)
4.9/5
(39)

Identify the syntax for looping through a collection of child nodes using the counter variable method.

(Multiple Choice)
4.8/5
(47)

Identify the method that eliminates the old node and exchanges it with a new node.

(Multiple Choice)
4.8/5
(39)

Which of the following methods uses familial reference to loop through a collection of child nodes?

(Multiple Choice)
4.7/5
(39)

Case-Based Critical Thinking Questions Case 12-1 Consider the following code that Wilson has written in HTML: Historic Documents Dept. of History The constitution online. Identify the value that the node.nodeType property will return for the "Dept. of History" node.

(Multiple Choice)
4.9/5
(39)

Case-Based Critical Thinking Questions Case 12-3 Natasha has created the following nested list: h1 text h1 text h2 text h2 text h3 text h3 text h4 text h1 text Natasha wants to add a new entry to the accompanying list, which requires her moving from the h3 heading level to the h1 heading level. Identify the number of levels Natasha needs to traverse to add the new entry to the list.

(Multiple Choice)
4.8/5
(36)

Case-Based Critical Thinking Questions Case 12-5 William has created the following style sheet rule for his website. h1 {color: violet;} h2 {color: yellow;} h3 {color: black;} h4 {color: blue;} While creating the website, William wants to add a new style sheet rule to the code. h3 { color: magenta; } Identify the correct syntax for adding the style as the fifth rule in the accompanying code.

(Multiple Choice)
4.8/5
(36)

Identify the syntax that determines how a new item is inserted into a nested list.

(Multiple Choice)
4.9/5
(32)

Which of the following methods is used to create an attribute node with the name age ?

(Multiple Choice)
4.8/5
(36)

Jonathan wants to access the last style sheet in the object collection document.styleSheets . Which of the following syntaxes should he use to reference the last style sheet?

(Multiple Choice)
4.9/5
(39)

Which of the following methods affixes the new node as a child of a specified node?

(Multiple Choice)
4.9/5
(30)

Identify the value of the node.nodeValue property for the element node.

(Multiple Choice)
4.8/5
(41)

Identify the node type when the node . nodeType property returns a value of 3.

(Multiple Choice)
4.8/5
(33)

Which of these properties describes the URL of a styleSheet file?

(Multiple Choice)
4.9/5
(32)

Which of these nodes is absent from a node tree?

(Multiple Choice)
4.7/5
(36)

Which of the following properties returns the Boolean value true when an element contains an attribute?

(Multiple Choice)
4.8/5
(29)
Showing 41 - 60 of 76
close modal

Filters

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