Hopefully that made sense, but basically, I couldn't get a folder that separated the HTML menu tab files ("pages") and the HTML content files ("posts") without the w3school code failing. However, it didn't let me organize the numerous HTML files effectively because unlike referencing a stylesheet like some file named 'style.css', it doesn't let me put the HTML sheet in a folder that doesn't share the same parent folder as the referencing HTML page files. So, I have this 1 HTML file for the header that every page uses so I make a change in that one file and it automatically applies to everything else. I tried using the w3schools method of implementing a separate HTML file (with only the HTML code) onto the page HTML files.The downside (which is pretty obvious) is that not only is it tedious but every time I make a change to the header (like maybe add different menus, add another tab, change the image, etc.) I have to copy the new header code to everything else. I am currently using this method, and it is probably the most ineffective and stupid method ever. The most basic way: Copying the header code to EVERY HTML page on the website.Here are the many different methods I used that all fell short in one way or another: The tabs navigate using links to other HTML files (all located locally on my computer) and so every single new page is another separate HTML file. My header is HTML code, and it is the most important source of navigation on the website. So, I'm trying to make a website, but the problem is I can't find the most effective way to keep the header on every single page.
0 Comments
Leave a Reply. |