An inorganic route for controlled synthesis of W18O49 nanorods and nanofibers in solution.