html working with preview