recursive HTML output achieved