This may have been asked, but scrolling through about 40+ search results reveals only the jQuery solution. Let\'s say I want to get the first item in an unordered list and a
Since the only valid child of is , you can do this:
var firstLI = document.getElementsByTagName('ul')[0].children[0];