Change type of code snippet for requirement example.

From JavaScript to HTML.