Do less unnecessary work!

Also less nesting!
So why not just do all the markup at once?