Let $X$ be Hausdorff space and $f$ is a continuous function from $[0,1]$ to $X$. If $f$ is one-one, then image of $f$ is homeomorphic to $[0,1].$
I did something like defining mapping $g$ from image of $f$ to $[0,1]$ as $g(x)=y$ where $f(y)=x.$ Everything is going fine except $g$ is continuous means I don't know how to show continuity of $g$. Any hint please. Thank you.