In the British case, that originally meant Latin and sometimes Greek in addition; and in the American case, that of English. However, the meaning of the term has since changed considerably, and grammar schools now provide as full an education as any other type of school.
See secondary education, secondary education in the United Kingdom.