Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord