Proper HTML element handling