Home >Web Front-end >HTML Tutorial >html news details page_html/css_WEB-ITnose
When creating a news details page, do you need to write a page for each news item? Or do you just need to write a page, and then the background will transfer the news content to a fixed page for display?
There is only one news page, usually the master page. All news are applied to this master page
The details are to request the news content when clicking the link, and take out the database data and put it on a display template. . . There is no need to write a page for each news item
Just use one page. Just click on the links of different news titles to display the content according to the news ID.
Yeah, I understand, thank you for your answers