All-nanoparticle thin-film coatings that exhibit antireflection, antifogging (superhydrophilicity), and self-cleaning properties have been prepared via layer-by-layer deposition of TiO(2) and SiO(2) nanoparticles. The porosity and chemical composition of the coatings were determined using a simple method that is based on ellipsometry and does not require any assumptions about the refractive indices of the constituent nanoparticles. The presence of nanopores in the TiO(2)/SiO(2) nanoparticle coatings results in superhydrophilicity as well as antireflection properties. The superhydrophilicity of contaminated coatings could also be readily recovered and retained after ultraviolet irradiation.