write custom HTML tag, struct then generate standard html source