There are two states that are not attached to the continental United States. Alaska (Postal Abbreviation: AK) is separated from the continental United States by Canada. Hawaii (HI) is separated from the continental United States by the Pacific Ocean.
There are five states in the United States that border the Pacific Ocean. However, there are only three continental states that 'touch it'. The continental states are Washington, Oregon, and California. The other two are Alaska and Hawaii.
(see related question) There are 50 US states. There are 48 (all but two) in the "continental United States", those two being Alaska and Hawaii. (even though Alaska is obviously part of North America as well)
The continental United States refers all of the states in the country except Hawaii and Alaska. Hawaii is out in the Pacific Ocean and Alaska is north of much of Canada. In other words, these two states are not connected to the other 48.