Abstract PHP interface for building common HTML components with microdata