The present application provides a C1-xNx nanotube with pores having nano-sized diameter ranging from 5 to 10 +, where x ranges from 0.001 to 0.2, and a method for controlling the size and quantity of pores in said nanotube by reacting hydrocarbon gas, nitrogen gas, and oxygen gas or hydrogen gas together in the presence of metal catalyst and by controlling the concentration of nitrogen gas.