Edit in JSFiddle

<ul>
        <li class="firstThreeElements">The <strong>HTML</strong> elements as objects</li>
        <li class="firstThreeElements">The properties of all HTML elements</li>
        <li class="firstThreeElements" id="thirdElement">The methods to access all HTML elements</li>
        <li class="anotherElements">The events for all HTML elements</li>
        <li class="anotherElements">The events for all HTML elements</li>
    </ul>

              
var li3 = document.getElementById("thirdElement");
li3.style.color = "red";