Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAdam Siwiec
12,070 PointsHELP! HTML is not loading on my webpage! Please help ASAP!
Ive added my files to www and everything is working fine, but whenever I go to the webpage, it loads the files with bullets beside them and, are not loading into the full webpage! How can I fix this!
3 Answers
Gábor Balogh
7,503 PointsIs there an index.html in www folder?
David Wyffels
11,548 PointsMr. Siwiec,
HTML is coded language used to provide structure for the content you wish to display on your web pages.
Let's start from the beginning of some possible places one might look as to why a web page might not display at all...
- Have you declared (or correctly declared) the DOCTYPE at the very beginning of your webpage?
- Is your index.html or index.php file in the root directory at your www.... site?
- Does the file contain an .html or .php file extension so it can be properly recognized?
I am unsure as to what you meant by "loading files with bullets beside them". Are you creating additional .php files and using them as "includes" as the source for some of your html code? Might you be seeing this instead of the normal html code placed on the page you are trying to view?
If you can view some of your HTML code then we can skip #1-3 above and look within the page being loaded into your browser window.
When your view a web page in your browser window the reality is that only one file is being displayed and all content that appears on the page being displayed in your browser window is brought to you through that single file. However, you can use additional code on that same page to "call", "link to" or "include" information from other files which will then also appear within the same page being displayed in your browser window. An example of this would be "linking to" an image.
If your syntax is incorrect in how you "link to", "call" or "include" additional information then that may be the source of your problem if you are only "loading the files with bullets beside them" which I interpret to mean that some content is coming through for display and others is not.
Without viewing the html code on the page you are attempting to post/display on your site it becomes more difficult to assist you with finding your problem. Having more information or viewing your code would allow me in being able to help you further.
Thank you.
Kirsten Larsen
7,133 PointsCan you provide the link to the website? That would be the most helpful.
Also, do you have the correct file path to your CSS? Since content is showing, perhaps the stylesheet is not linked properly.
But more likely, it sounds like index.html / index.php isn't set up correctly.
Giving us the link to the website might be the most helpful.