+ 3

A basic HTML question.

I'm going to be putting together a blog either today or tomorrow. Before I begin, I'd like to ask how I add a page behind the blog post display block. For example if I have 4 blocks that are about different topics and users click on one of them to read the full article, how do I code the page that the blog post leads to? When I post to my blog, I want a summary of the blog post to be shown along with other stuff. Then after it gets clicked, I want it to bring up a page with the full article along with the comment section. How is this done?

3rd May 2019, 3:46 PM
Jake Serrano
Jake Serrano - avatar
3 Réponses
+ 3
If your main page is in a file called `index.html` you can link to other pages with <a> tags. <a href='bananas.html'>Click here to read about bananas</a> And then you create a file called bananas.html (in the same folder) where you code up the other site. If you're trying to do it all in a single sololearn code box it gets a bit trickier.
3rd May 2019, 5:57 PM
Schindlabua
Schindlabua - avatar
+ 2
Schindlabua Thank you! This makes sense! Thanks for helping me out again :) I have no clue how this is going over my head. I think I skipped something when I learned HTML..
4th May 2019, 3:14 AM
Jake Serrano
Jake Serrano - avatar
+ 2
No worries :P You'll get there.
4th May 2019, 12:32 PM
Schindlabua
Schindlabua - avatar