Encapsulating with html