enchance struct and add html new attrs