Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

f0x

Member since
f0x

Recent Docs Activity

View all activity
Page Date Comment

Document.createElement()


Modified the example to rather use 'createTextNode' instead since the point in creating dom nodes collides heavily with the usage of `innerHTML`; 23 words added, 9 words removed