TECHNOLOGY FOCUS - INORGANIC CHEMISTRY - Preferred Components: The nanotubes and the nanoparticles are formed of a compound selected from titanium (Ti), tin (Sn), zinc (Zn) and/or tungsten (W) (preferably titanium dioxide (TiO2), tin dioxide (SnO2), zinc oxide (ZnO) and/or, tungsten trioxide (WO3)). The nanotube has an outer diameter of 50 to 300 nm and an inner diameter of 50 to 200 nm and a size of 2 to 50 nm. The nanoparticle has a spherical, tubular, or rod-like shape. Preferred Method: The nanotube is formed by etching the substrate or a conducting layer for nanotubes formed on the substrate. The nanoparticles are disposed within the nanotube or between adjacent nanotubes using electrophoresis, spin coating, or deep coating. EXAMPLE - Titanium foil substrate was dipped into a mixture of acetone and alcohol, fine foreign materials and an oxide layer were removed using ultrasonic waves and 0.1% HF solution, respectively. Ti foil sample was dipped into a solution of ethylene glycol containing ammonium fluoride (0.25%) and then a voltage of 50 V was applied using platinum (Pt) as a counter electrode to etch the sample by anodization. After performing the etching for about 10 hours, the sample was cleaned with acetone and alcohol to form a TiO2 nanotube. Titanium tetrachloride (TiCl4) aqueous solution (0.5 mole) was formed at 0 degrees C, followed by hydrolysis at room temperature for 1 week such that white TiO2 powder was produced. The TiO2 powder sedimented in the aqueous solution was then recovered using a rotary evaporator and redispersed in distilled water. The resulting TiO2 aqueous solution was evaporated again using the rotary evaporator to synthesize a white TiO2 nanoparticle having a diameter of less than an inner diameter of a nanotube or distance between nanotubes into which they will be later incorporated. TiO2 nanotube was submerged in the aqueous solution in which the TiO2 nanoparticles had been dispersed and then a voltage of 10V was applied such that the TiO2 nanoparticles were incorporated into the TiO2 nanotube. The resulting material was then heat treated at 500 degrees C for 30 minutes under an air atmosphere. After the resulting product was dipped into the TiCl4 solution at 70 degrees C, it was heat treated again at 500 degrees C for 30 minutes under an air atmosphere to complete a nanocomposite having the TiO2 nanoparticles incorporated into the TiO2 nanotube.