initial html resolving