Expands html creation