respect container html attributes