Add sample for element attributes manipulation