Skip to main content Accessibility Feedback

DOM Injection

document.createElement()

Create an element.

var div = document.createElement('div');
var link = document.createElement('a');
var article = document.createElement('article');

Works back to at least IE6.