Ha yes well... "the continent" refers to the European land mass. C.f. "continental breakfast". But the UK is part of the European continent in the continental shelf sense. The word "continent" is not really well defined. Here's a nice video about it:
Apart from Gibraltar I guess