El Salvador is NOT South America. It is part of the North American continent. South America begins where Panama's southern border lies.
The Caribbean Islands are not part of any continent and are, technically, neither North America or South America though the island are usually considered part of North America.