Introduction to Topology -- 1 in nLab https://ncatlab.org/nlab/print/Introduction+to+Topology+--+1
nLab Introduction to Topology -- 1
This page is a detailed introduction to basic topology. Starting from scratch (required background is just a basic concept of sets), and amplifying motivation from analysis, it first develops standard point-set topology (topological spaces). In passing, some basics of category theory make an informal appearance, used to transparently summarize some conceptually important aspects of the theory, such as initial and final topologies and the reflection into Hausdorff and sober topological spaces. The second part introduces some basics of homotopy theory, mostly the fundamental group, and ends with their first application to the classification of covering spaces.
main page: Introduction to Topology
this chapter: Introduction to Topology 1 – Point-set topology
next chapter: Introduction to Topology 2 -- Basic Homotopy Theory
For introduction to more general and abstract homotopy theory see instead at Introduction to Homotopy Theory.
Point-set Topology Context 1. Metric spaces Topology Continuity Compactness 2. Topological spaces Examples Closed subsets 3. Continuous functions Examples Homeomorphisms 4. Separation axioms