A subspace of a metric space is dense if . For metric spaces, saying is equivalent to saying there exists a sequence with . Combine these two for the desired result.

Remark:Personally, I would give the following proof:

By continuity we know that for any that . Taking gives from where the conclusion follows.