Lab: Drop Down Menu and PHP Includes This week: First, fix any problems you may have had with your previous lab (the Basic CSS Lab, both parts). Create a drop down menu for your labs tab using the technique described in the "Drop Down Menu using CSS positioning" tutorial. The word "Labs" (in the example below) will no longer be a link, it will be a group heading. Underneath the group heading, the first entry/link will be to labs.php (the whole page). The next links will reference specific areas within labs.php. Put in a link for each of the labs you have completed so far. You will add more links later. To link to a specific place within a page, create a link that looks something like this: Click <a href="labs.php#lab4">here</a> to see what I did in the fourth lab. This is how you mark a spot on page (that can be linked to): <h2 id="lab4">Lab Four: A Very Fantastic Lab</h2> After reading the "How to Make Your Web Site Maintainable" tutorial, modify your index page so that it references an external style sheet, an external javascript file and common php code (before and after the content, using PHP include statements). Then, create all the main pages of your web site and test that all links work properly. Your labs page will have blogs for all labs so far, up to and including this one.
© Copyright 2026 Paperzz