Once upon a time, pretty much all schools had all twelve grades in the same facility (the small, rural school I went to in South Louisiana was one of these). They are still called "high schools".
The idea of having separate facilities for different grade levels (elementary, middle school, high school) is of relatively recent vintage.
Thanks for explaining that. Now I understand.