Why is women's history often overlooked in history books?

This is another facet of the civil rights movement. We are still trying to establish our place in the world and be taken seriously. I do use whatever resources I can to teach my students of women who made a major impact on society but it will take all teachers to share the information before women will become more recognized. Could it be that history books, as a generalisation, are written by men ?