what is html code used for code example Example: what is html used for html is used to make web pages and it discribes the layout of a web page