For multi-line column labels in html, the word you are looking for is:
<br>
For example, I have r-code that reads a CSV, modifies the labels with line breaks, and writes out as html like this:
filename <- "table1.csv"
pubTable <- read.table(file=filename,header = TRUE, sep = ",")
labels = c("Period", "2D and 3D <br>Image <br>Analysis"," Document <br>Processing","
Biometric <br>Identification ","Image <br>Databases","Video <br>Analysis","Biomedical
<br>and <br>Biological")
library(stargazer)
stargazer(pubTable[],type = "html", rownames = FALSE,
summary=FALSE,out="Table1.html",covariate.labels = labels)
The resulting table looks like this 1:

1 Adopted from Conte, Donatello, et al. "Thirty years of graph matching in pattern recognition." International journal of pattern recognition and artificial intelligence 18.03 (2004): 265-298.