added snippets for html and ruby