Restriction of Continuous Maps to Subspaces