Right now, I have a page using just HTML, CSS, and JS which allows the user to select from various options to get to the resource they are looking for. When they get to this resource, I want the page to load certain <h>, <p>, etc elements. However, there are 50+ different resources, so it would be tedious, difficult to maintain, and probably load slower if I have to insert all of these elements in the initial page or include them as 50+ different individual external html pages.
From what I have researched, my best idea would be using PHP and probably storing these elements in MySQL Server, but I am unsure if this is a good solution. To be clear, I want everything to load on the same page, so that the user does not have to refresh/open a new page.