added snippets for HTML explanation