base server. fetch html content