createProcessingInstruction

createProcessingInstruction() generates a new processing instruction node and returns it.

MDN Reference