A hugely useful reference app just got an update. Web Design Cheat Sheet is an app I regularly recommend to those who ask me the best app for learning web design or even just HTML. A lot of people thank me for recommending it as it was exactly what they were looking for. It has a very comprehensive syntax library as well as a resources section and a HTML code editor.
Version 3 changelog