A trait to add html attributes management