test html snippets and code