Working on generating valid HTML