Use getHtmlCode() instead of getCode() to set the lang attribute

The lang attribute of HTML elements should conform to BCP 47.

Change-Id: Ia8a088add29daea39e90bb277279a6485990d18a
Merge "Use getHtmlCode() instead of getCode() to set the lang attribute"