Yes, DNA ladders can be used with different types of gel electrophoresis, including agarose gels and polyacrylamide gels. The choice of gel type depends on the size range of the DNA fragments being analyzed.