Topological properties of attractors for dynamical systems