programming language provides formal rules that govern how text is displayed as part of a web page .