Consider the following code segment:
Which of the following code segments would successfully access the list item with the id “list-one”?
A. document.getElementById("list-one");
B. document.getElementsByTagName("li")[1];
C. document.getElementsByTagName("ul")[0].firstElementChild;