[cookbook] Add Web API html_element(), html_template(), and html_nav()