The namedItem() method returns the element with the specified ID or name.