There is a problem with the way iHTML analyses the file. It searches for all the "<" signs and considers it as a command opening.
For (i=0; i<10; i++)
Would be considered as an iHTML command opening.
When trying to serve this file the server will return a 'Tag Not Closed' error.
Three ways to solve this problem:
1. Don't use the '<' operator. There's always a way around it.