When you need to apply a small tweak to the document, it should not take long to Tag name document. This kind of basic action does not have to demand additional training or running through handbooks to learn it. Using the proper document editing tool, you will not take more time than is needed for such a quick edit. Use DocHub to simplify your editing process whether you are a skilled user or if it’s the first time making use of an online editor service. This instrument will take minutes to learn to Tag name document. The sole thing required to get more effective with editing is actually a DocHub profile.
A plain document editor like DocHub can help you optimize the amount of time you need to dedicate to document editing irrespective of your previous experience with this kind of tools. Create an account now and increase your productivity instantly with DocHub!
in the previous lecture you will learn how to select an element by its id this method selects a single element the html tag with the id but what if you want an element that doesnt have an id or you want to select multiple elements on a page for example you might want to select all the items inside an unordered list so you can turn them into to-do list items that users can click to mark a task is done well if you know the tag name of the element you can use a method called document.getelement by tag name this method is very similar to the previous one we have learned but keep in mind that this method contains the word elements while the last one has element so if you mix these up you definitely get an error because each method returns a different data type while getelementbyid method returns a single element that can be accessed directly the getelementsbytagname method returns a collection of elements a collection is like an array that you can access an element using its index number