HTML is used to create the basic elements of webpages, so that other more advanced web coding languages (like Javascript) can manipulate those basic elements. HTML can be used to code an entire website, but for more complicated sites other languages are generally used in cooperation with HTML.