下列选项能够通过类名查找HTML元素的是()
Adocument.getElementsByClass(".box")
Bdocument.getElementsByClassName(".box")
Cdocument.getElementsByClass("box")
Ddocument.getElementsByClassName("box")
Adocument.getElementsByClass(".box")
Bdocument.getElementsByClassName(".box")
Cdocument.getElementsByClass("box")
Ddocument.getElementsByClassName("box")