change attribute order in docs according to mdo code guide

Change attribute order in docs according to @mdo [Code Guide](http://codeguide.co/#html)