You may not have fully understood the title. I will explain my question with an example.
https://www.w3schools.com/html/html_exercises.asp Page ranks 1st in
HTML Exercies word because the page is completely optimized for that word, but it ranks high in words such as
HTML Question and
HTMl Challenge. How is this possible even though there is no study for that page in those words?