Secondary education covers two phases on the International Standard Classification of Education scale. Level 2 or lower secondary education (less common junior secondary education) is considered the second and final phase of basic education, and level 3 (upper) secondary education is the stage before tertiary education. Every country aims to provide basic education, but the systems and terminology remain unique to them. Secondary education typically takes place after six years of primary education and is followed by higher education, vocational education or employment. Like primary education, in most countries secondary education is compulsory, at least until the age of 16. Children typically enter the lower secondary phase around age 11. Compulsory education sometimes extends to age 19.
Since 1989 education has been seen as a basic human right for a child, article 28, of the Convention on the Rights of the Child states that: primary education should be free and compulsory while different forms of secondary education, including general and vocational education, should be available and accessible to every child. The terminology has proved difficult, and there was no universal definition before ISCED divided the period between primary education and university into junior secondary education and (upper) secondary education.
In classical and mediaeval times secondary education was provided by the church for the sons of nobility and to boys preparing for universities and the priesthood. As trade required navigational and scientific skills the church reluctantly expanded the curriculum and widened the intake. With Comenius and John Locke, education changed from being repetition of Latin text to building up knowledge in the child, and with the Reformation the state wrestled the control of learning from the church. Education was for the few. As late as 1868, secondary schools were organised to satisfy the needs of different social classes with the labouring classes getting 4 years, the merchant class 5 years and the elite getting 7 years. Only then did it become accepted that girls could be sent to school. The rights to a secondary education were codified after 1945, and countries are still working to achieve the goal of mandatory and free secondary education for all youngsters under 19.
Secondary education is in most countries the phase in the education continuum responsible for the development of the young during their adolescence, the most rapid phase of their physical, mental and emotional growth. It is at this very education level, particularly in its first cycle, where values and attitudes formed at primary school are more firmly ingrained alongside the acquisition of knowledge and skills.
From UNESCO Towards a Convergence of Knowledge Acquisition and Skills Development 
The International Standard Classification of Education (ISCED) (1997) describes seven levels that can be used to compare education internationally. Within a country these can be implemented in different ways, with different age levels and local denominations.
Within this system, national governments can call levels 2, 3 and 4, levels 2 and 3 or just level 2, secondary education. Level 1 and Level 2, that is primary education and lower secondary together form basic education. These definition were put together for statistical purposes, and to allow the gathering of comparative data nationally and internationally and approved by the UNESCO General Conference at its 29th session in November 1997. Though they may be dated they do provide a universal set of definitions, and remain unchanged in the 2011 update.
The start of lower secondary education is characterised by the transition from the single class-teacher delivering all the content to a cohort of pupils, to one where content is delivered by a series of subject specialist. The educational aim is to complete provision of basic education, completing the delivery of basic skills and to lay the foundations for lifelong learning.
Lower secondary education is likely to show these criteria-
The end of lower secondary education often coincides with the end of compulsory education in countries where that exists.
(Upper) secondary education starts on the completion of basic education, which also is defined as completion of lower secondary education and its completion will provide the entry requirements to level 5 tertiary education, the entry requirements to technical or vocational education (Level 5- non tertiary course, or direct entry into the workplace. More subjects may be dropped, and increased specialism occurs. The educational focus is varied according to future direction of the student, and their interests. Education at this level is usually voluntary (Upper) secondary education is likely to show these criteria-
In 2012 the International Standard Classification of Education (ISCED) published a further work on education levels where it codified particular paths and redefined the tertiary levels. Lower secondary education and (Upper) secondary education could last between 2 and 5 years, and the transition between two often would be when students were allowed some subject choice.
Secondary schools may be called high schools, academies, gymnasiums, lyceums, middle schools, upper schools, colleges, sixth-form colleges, vocational schools, or preparatory schools, and the exact meaning of any of these varies among the countries.
A form of education for adolescents became necessary in all societies that had an alphabet and engaged in commerce. In Western Europe, formal secondary education can be traced back to the Athenian educational reforms of 320BC. Though their civilisation was eclipsed and they were enslaved, Hellenistic Athenian teachers were valued in the Roman system. The Roman and Hellenistic schools of rhetoric taught the seven liberal arts and sciences – grammar, rhetoric, logic, arithmetic, geometry, music and astronomy – which were regarded as a preparation for the study at a tertiary level of theology, law and medicine. Boys would have been prepared to enter these schools by private tutors at home. Girls would have only received tuition at home. When the Romans retreated, all traces of civilisation were erased.
England provides a good case study. When Augustine of Canterbury brought Christianity there in 597, no schools existed. He needed trained priests to conduct church services and boys to sing in the choir. He had to create both the grammar schools that taught Latin, to enable the English to study for the priesthood, and song schools (choir schools) that trained the 'sons of gentlefolk' to sing in cathedral choirs. In the case of Canterbury (597) and Rochester (604), both still exist. Bede in his Ecclesiastical history (732) tells that the Canterbury school taught more than the 'intended reading and understanding of Latin', but 'the rules of metric, astronomy and the computus as well as the works of the saints' Even at this stage,there was tension, as the church was worried that knowledge of Latin would give the student access to non-Christian texts that it would not wish them to read.
Over the centuries leading to the renaissance and reformation the church was the main provider of secondary education. Various invasions and schisms within the controlling church challenged the focus of the schools, and the curriculum and language of instruction waxed and waned. From 1100, With the growth of the towns, grammar schools 'free' of the church were founded, and some church grammar schools were handed over to the laïty. Universities were founded that didn't just train students for the priesthood.
Whereas in mainland Europe the renaissance preceded the reformation, local conditions in England caused the reformation to come first. The reformation was about allowing the laïty to interpret the Bible in their own way without the intervention of priests, and prefereably in the vernacular. This stimulated the foundation of free Grammar schools- who searched for a less constrained curriculum. Colonialisation required navigation, mensuration, languages and administrative skills. The laïty wanted these taught to their sons. After Gutenberg1455 had mastered moveable metal type printing and Tyndale had translated the Bible into English (1525), Latin became a skill reserved for the catholic church and sons conservative nobility. Schools started to be set up for the sons of merchants in Europe and the colonies too- for example Boston Latin Grammar School (1635).
Comenius (1592–1670), a Moravian protestant proposed a new model of education- where ideas were developed from the familiar to the theoretical rather than through repetition, where languages were taught in the vernacular and supported universal education. In his Didactica Magna (Great Didactic), he outlined a system of schools that is the exact counterpart of many western school systems: kindergarten, elementary school, secondary school, six-form college, university. Locke's Some Thoughts Concerning Education (1693) stressed the importance of a broader intellectual training, moral development and physical hardening. .
The grammar schools of the period can be categorised in three groups: the nine leading schools, seven of them boarding institutions which maintained the traditional curriculum of the classics, and mostly served 'the aristocracy and the squirearchy' ; most of the old endowed grammar schools serving a broad social base in their immediate localities which also stuck to the old curriculum; the grammar schools situated in the larger cities, serving the families of merchants and tradesmen who embraced change.
During the 18th century their social base widened and their curriculum developed, particularly in mathematics and the natural sciences. But this was not universal education and was self-selecting by wealth  The industrial revolution changed that. Industry required an educated workforce where all workers needed to have completed a basic education. In France, Louis XIV, wrestled the control of education from the Jesuits, Condorcet set up Collèges for universal lower secondary education throughout the country, then Napoleon set up a regulated system of Lycee. In England, Robert Peel's Factory Act of 1802 required an employer to provide instruction in reading, writing and arithmetic during at least the first four years of the seven years of apprenticeship. The state had accepted responsibility for the basic education of the poor. The provision of school places remained inadequate, so an Order in Council dated 10 April 1839 created the Committee of the Privy Council on Education.
There was considerable opposition to the idea that children of all classes should receive basic education, all the initiatives such as industrial schools and Sunday schools were initially a private or church initiative. With the Great Exhibition of 1851, it became clear just how far behind the English education system had fallen. 
Three reports were commissioned to examine the education of upper, middle and labouring class children. The Clarendon Commission sought to improve the nine Great Public Schools. The Taunton Commission looked at the 782 endowed grammar schools (private and public). They found varying quality and a patchy geographical coverage, with two thirds of all towns not having any secondary school. There was no clear conception of the purpose of secondary education. There were only thirteen girls' schools and their tuition was superficial, unorganised and unscientific. They recommended a system of first-grade schools targeted at a leaving age of 18 as preparation for upper and upper-middle class boys entering university, second-grade targeted at a leaving age of 16 for boys preparing for the army or the newer professions, and third-grade targeted at a leaving age of 14 for boys of small tenant farmers, small tradesmen, and superior artisans. This resulted in the 1869 Endowed Schools Act which advocated that girls should enjoy the same education as boys.
The Newcastle Commission inquired "into the state of public education in England and to consider and report what measures, if any, are required for the extension of sound and cheap elementary instruction to all classes of the people". It produced 1861 Newcastle Report and this led to the 1870 Elementary Education Act (Forster Act).
The school boards set up by the 1870 Elementary Education Act (Forster Act) and were stopped from providing secondary education by the Cockerton Judgement of 1899. The school leaving age at this time was 10. The Judgement prompted the 1902 Education Act (Balfour Act). Compulsory education was extended to 12. The new Local Education Authorities (LEA)s that were formed from the school boards; started to open Higher Grade Elementary Schools (ISCED Level2) or county schools to supplement the endowed grammar schools. These LEAs were allowed to build second-grade secondary schools that in the main became the future secondary modern schools. 
In the "1904 Regulations for Secondary Schools", the Board of Education determined that secondary schools should offer a:
a four year subject-based course leading to a certificate in English language and literature, geography, history, a foreign language, mathematics, science, drawing, manual work, physical training, and, for girls, housewifery. 
The Education Act 1918 (Fisher Act) extended compulsory full-time education to 14, and recommended compulsory part-time education from 14–18. The Hadlow report, "Education the Adolescent" (1926) proposed that there should be a break point at eleven, establishing primary schools and secondary schools.
The United Nations, founded in 1947, was committed to education for all but the definition was difficult to formulate. The Universal Declaration of Human Rights (1948) declared that elementary and fundamental education, which it didn't define, was a right to be enjoyed by all. The Education Act 1944 (Butler Act) made sweeping changes to the funding of state education using the tripartite system, but wasn't allowed to tackle private schools. It introduced the GCE 'O'level at 16, and the 'A' at 18, but only raised the school leaving age until 15, making the exam inaccessible to the majority. But one year of ISCED Level 3 (Upper) secondary education was mandatory and free. 
In 1972 the school leaving was raised to 16. The Education and Skills Act 2008, when it came into force in the 2013 academic year, initially required participation in some form of education or training until the school year in which the child turned 17, followed by the age being raised to the young person's 18th birthday in 2015. This was referred to as raising the "participation age" to distinguish it from the school leaving age which remains at 16. Thus the UK is following the ISCED Level 3 (Upper) secondary education guideline.
The United Nations was strong in its commitment to education for all but fell into linguistic difficultly defining that right.
“Article I: Purposes and functions 1. The purpose of the Organization is to contribute to peace and security by promoting collaboration among the nations through education, science and culture in order to further universal respect for justice, for the rule of law and for the human rights and fundamental freedoms which are affirmed for the peoples of the world, without distinction of race, sex, language or religion, by the Charter of the United Nations.”
The Universal Declaration of Human Rights (1948) declared that elementary and fundamental education was a right to be enjoyed by all, but again could not define either elementary and fundamental education.
Article 26 :(1) Everyone has the right to education. Education shall be free, at least in the elementary and fundamental stages. Elementary education shall be compulsory. Technical and professional education shall be made generally available and higher education shall be equally accessible to all on the basis of merit.
It was assumed that elementary education was basic education, the entitlement for children- and fundamental education was a right for the working man, but for a lawyer the definition is neither qualitative (stating what education means) or quantitative saying when it starts and when it is completed. The term secondary is not defined or mentioned. Together this has enabled countries to terminate free, compulsory, basic education at 11 or only continue education past eleven to boys.
Article 28, of the Convention on the Rights of the Child (1989) stated that primary education should be free and compulsory while different forms of secondary education, including general and vocational education, should be available and accessible to every child. Free education should be provided and financial assistance offered in case of need.  In 1990, at Jomtien again tried to define the content basic education and how it should be delivered. ‘Basic education’ is defined as ‘action designed to meet ‘basic learning needs’. ‘primary schooling’ is considered as ‘the main delivery system of basic education’.  Which is explained in Principals for Action that:
addressing the basic learning needs of all means: early childhood care and development opportunities; relevant, quality primary schooling or equivalent out-of-school education for children; and literacy, basic knowledge and life skills training for youth and adults.’ 
The assumption being made that basic knowledge and life skills training for youth was the function of secondary education. This was codified by the ISCED documents.  The Dakar Framework for Action 2010 goal 2 states: Ensuring that by 2015 all children, particularly girls, children in difficult circumstances and those belonging to ethnic minorities, have access to and complete free and compulsory (primary in the sense basic) education of good quality. The Dakar Framework for Action 2010 goal 5 states: Eliminating gender disparities in primary and secondary education by 2005, and achieving gender equality in education by 2015, with a focus on ensuring girls’ full and equal access to and achievement in basic education of good quality. 
“My goal is to make sure every child, girl and boy, they get the opportunity to go to school." “It is their basic human right, so I will be working on that and I will never stop until I see the last child going to school.” 
UNESCO believes that in order to prepare young people for life and work in a rapidly changing world, secondary-level education systems need to be re-oriented to impart a broad repertoire of life-skills. These skills should include the key generic competencies, non occupation-specific practical capabilities, ICT, the ability to learn independently, to work in teams, entrepreneurship and civic responsibility.
They may be best instilled through a shared foundational learning period and by deferring the directing of students into academic and vocational streams for as long as possible, and then there should be flexibility to ensure the free movement of students between the streams depending on their aptitudes and inclinations. Accreditation in one stream should have equal recognition in the other as well as for access to higher education. This will equip young people with multiple skills so that they are prepared to enter and re-enter the workforce several times in their working lives, as wage employees or self-employed entrepreneurs, and to re-train themselves when their skills become obsolete.
It recognizes that there is no single model that will suit all countries, or even all communities in a given country. Secondary-level education policy should be under continuous review to keep in step with scientific and technological, economic and societal change.
Each country has developed the form of education most appropriate for them. There is an attempt to compare the effectiveness by using the results from the PISA that, each third year, assesses the scholastic performance on mathematics, science, and reading of a representative sample of 5000 fifteen year olds from each country.