The article examines the effectiveness and role of the use of electronic textbooks in the education system. And, including in the section «Optics», optical phenomena and patterns are taken as a basis. The creation of electronic textbooks is one of the most pressing problems of the educational process today. The expansion of the use of modern information technologies has led to the need to develop electronic learning tools that increase the effectiveness of self-learning and the quality of learning for students. The use of electronic means in the learning process is effective for both the teacher and the student. The use of electronic learning tools in the educational process does not contradict the traditional teaching method, but rather complements the use of its achievements. Comparison parameters are also considered: page and rotation; reader's movement through the book; plane and depth; book block; personal appearance of the book; text; illustration; tactile sensations; reliability of information storage and accessible information update; one can say about the pros and cons of this and other types of books. The advantages of an electronic textbook in terms of printing are accompanied only by sound effects associated with its large information capacity and ease of use. With all the convenience of the e-book format, the reader may want to see it directly on the site if he does not want to download it, or, as in a bookstore, first view the publication and then decide whether to download it or not. The main disadvantages of the electronic textbook are due to its loss of personal artistic appearance. Currently, there are many tools for creating electronic textbooks. For example, the possibilities of the program SunRav BookEditor, SunRav BookReader, TurboSite, Flipsnack, EdApp, Canva, etc. are considered. In the article, we will define the role of analyzing the digital literacy of students using an electronic textbook. Examples of electronic forms of a physics textbook for grades 7-9 can be given.