🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Pierre Grönberg
    Pierre Grönberg
    10,294 Points

    I get a HTTP ERROR 500 when trying to view the browser..

    Posted March 29, 2019 8:14am by Pierre Grönberg
    Pierre Grönberg
    10,294 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    1 Answer

  • Siraj Khan
    Siraj Khan
    3,451 Points

    Below is the snapshot of my project's workspace..! Please help, its not working. https://w.trhou.se/n66do72pfz

    Posted June 17, 2018 3:28pm by Siraj Khan
    Siraj Khan
    3,451 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    1 Answer

  • Siraj Khan
    Siraj Khan
    3,451 Points

    The below code on my local editor and server results in a plain unordered HTML page.? I don't know why. Please help.!

    Posted June 10, 2018 8:49pm by Siraj Khan
    Siraj Khan
    3,451 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    1 Answer

  • Siraj Khan
    Siraj Khan
    3,451 Points

    I have followed the course exactly the same way as described here in my own editor. It shows only plain unordered HTML.!

    Posted June 10, 2018 3:40pm by Siraj Khan
    Siraj Khan
    3,451 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    6 Answers

  • Mahfuzur Rahman
    Mahfuzur Rahman
    3,204 Points

    div class="section page" please explain how it is displaying the text typed inside on the center of the page.

    Posted January 4, 2018 8:12pm by Mahfuzur Rahman
    Mahfuzur Rahman
    3,204 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    1 Answer

  • Duc Duong
    Duc Duong
    8,670 Points

    Index PHP file can't get the links to syle.css

    Posted December 22, 2017 2:44pm by Duc Duong
    Duc Duong
    8,670 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    1 Answer

  • mohammed mayat
    mohammed mayat
    4,228 Points

    page not displaying properly

    Posted September 25, 2017 6:24am by mohammed mayat
    mohammed mayat
    4,228 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    1 Answer

  • vedant shelat
    vedant shelat
    16,877 Points

    I still dont get the concept of adding <div id="content"> in header.php & not closing div tag in suggest.php? HELP!

    Posted July 4, 2017 2:37pm by vedant shelat
    vedant shelat
    16,877 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    2 Answers

  • Priyan Raj
    Priyan Raj
    4,169 Points

    its different output working in local

    Posted June 27, 2017 4:15am by Priyan Raj
    Priyan Raj
    4,169 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    0 Answers

  • Roxanne Navarro
    PLUS
    Roxanne Navarro
    Courses Plus Student 971 Points

    I can't make the include work

    Posted April 1, 2017 1:32am by Roxanne Navarro
    Roxanne Navarro
    Courses Plus Student 971 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    1 Answer

  • Daniel Atonge
    Daniel Atonge
    4,769 Points

    The div id attribute

    Posted December 27, 2016 11:12am by Daniel Atonge
    Daniel Atonge
    4,769 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    1 Answer

  • Jonah Shi
    Jonah Shi
    10,140 Points

    How can suggest page close content div itself?

    Posted September 10, 2016 2:27am by Jonah Shi
    Jonah Shi
    10,140 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    1 Answer

  • Dhavidy Luiz Mamede Pires
    Dhavidy Luiz Mamede Pires
    12,438 Points

    Why would you cut from <html> to <div id="content">?

    Posted September 1, 2016 7:58am by Dhavidy Luiz Mamede Pires
    Dhavidy Luiz Mamede Pires
    12,438 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    1 Answer

  • Jose Reyna
    Jose Reyna
    13,532 Points

    After copying the files my page does not display correctly.

    Posted February 16, 2016 5:51pm by Jose Reyna
    Jose Reyna
    13,532 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    5 Answers

  • Shafeeq Ahmed
    Shafeeq Ahmed
    6,058 Points

    HTML version declaration missing

    Posted February 10, 2016 6:36pm by Shafeeq Ahmed
    Shafeeq Ahmed
    6,058 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    0 Answers

  • Alastair Downie
    Alastair Downie
    402 Points

    What is the advantage of including the Opening <DIV> command in the header file, rather than leaving it in the HTML file

    Posted February 9, 2016 10:51pm by Alastair Downie
    Alastair Downie
    402 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    4 Answers

  • yannverreault
    yannverreault
    12,599 Points

    What is the reason of cutting the opening div id="content" tag from the index.php?

    Posted January 27, 2016 5:32pm by yannverreault
    yannverreault
    12,599 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    2 Answers

  • Rasbin Rijal
    PLUS
    Rasbin Rijal
    Courses Plus Student 10,864 Points

    [ SOLVED ]Including a header file

    Posted January 24, 2016 11:22am by Rasbin Rijal
    Rasbin Rijal
    Courses Plus Student 10,864 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    2 Answers

  • Milad The Computer Guy
    Milad The Computer Guy
    20,287 Points

    After creating inc/header.php, index.php and suggest .php don't load the background images of navigation and logo

    Posted January 19, 2016 8:39pm by Milad The Computer Guy
    Milad The Computer Guy
    20,287 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    3 Answers

  • Coskun Olcucu
    Coskun Olcucu
    4,562 Points

    I can't copy and paste on workspace?

    Posted January 16, 2016 7:42pm by Coskun Olcucu
    Coskun Olcucu
    4,562 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    2 Answers

  • Coskun Olcucu
    Coskun Olcucu
    4,562 Points

    index.php page doesn't show the content proper way

    Posted January 16, 2016 7:38pm by Coskun Olcucu
    Coskun Olcucu
    4,562 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    3 Answers

  • Coskun Olcucu
    Coskun Olcucu
    4,562 Points

    index.html doesn't look the same on my local computer

    Posted January 16, 2016 7:27pm by Coskun Olcucu
    Coskun Olcucu
    4,562 Points
    • PHP
    • Build a Basic PHP Website (2018)
    • Building a Media Library in PHP
    • Including the Header

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.