The main sector of this study is the application of genetic algorithm as a method of data security, it is applied in the field of evolutionary programming in artificial intelligence, as the experimental method is used in the analysis of different types of home pages, these proposed technical HTML tags and its attributes are applied to hide illogical database using the genetic algorithm. This proposed technique considers labels as genes and characteristics as chromosomes. Then the architecture has been detailed and the implementation of the proposed system of hiding information using the software program C sharp and the system has been simulated using different scenarios and a variety of data. The good side of using steganography with a genetic algorithm has been clarified.