What is the function of HTML?

It is used to write documents that will create web pages.
It is used to instruct a computer to take certain startup actions.
It is used to control all of the actions on a computer.
It is used to format documents created in word processing programs.