Added some more HTML5 elements so no suprises in the future
This commit is contained in:
parent
122d1142b9
commit
2e9aab137f
1 changed files with 6 additions and 2 deletions
|
|
@ -1,2 +1,6 @@
|
|||
document.createElement('header');
|
||||
document.createElement('footer');
|
||||
var elements = new Array('header','footer','article','nav','section');
|
||||
|
||||
for(var element in elements)
|
||||
{
|
||||
document.createElement(elements[element]);
|
||||
}
|
||||
Loading…
Reference in a new issue