improved HTML for resource types