Added html snippets. TODO: update code when snippet change