add a new element using createElement and append it to an element using appendChild or insertBefore. modifying the attributes of HTML elements: You may modify the attributes of an HTML element in ...