Multiple choice technology web technology

createElement(fititlefl) means

  1. Create a new HTML element

  2. Create a title for a new HTML element

  3. Create a new XML element

  4. Create an attribute called title for the current XML element

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

createElement() is a DOM method used to create new element nodes. While it can create both HTML and XML elements, in the context of XML programming (which the other questions reference), option C is the intended answer. Option B is incorrect because it doesn't create titles - it creates elements. Option D is incorrect because it doesn't create attributes.