There's more...

The tree command can generate output in HTML as well as to a terminal.