added functions to wrap html with tags