An essentially āUā shaped endless elastic loop gasket, with the opening facing inwardly, has multipurpose uses with flanged containers. A foil can be stretched over the top of a raised ridge on top of the multipurpose elastic loop gasket on the flanged containers to form a closure. A foil can alternately be placed over the container flange around the container opening under the elastic loop gasket to form a closure. The elastic loop is stretched to encompass both the foil and flange and then released to secure the foil over the container opening. A first foil can be placed between the elastic loop gasket and container flange and a second foil can be placed over the raised ridge forming an insulation area over the container opening. Heat-resistant elastic loop gaskets of low heat conductivity enable the pan or container to be placed in an oven or refrigerator and removed by bare hands. The elastic loop gasket upper and lower corners extend inward to form webs that rigidify the corners and ease application and removal of the closure from the container flanges. The elastic loop gasket seals the container over a container support and/or the container lid over the container.