find directory path(s) in HTML