Starting with the files you created in project 1, create additional web pages, organize them into a folder hierarchy, connect them via a main navigation menu, and add a linked stylesheet with some basic CSS decorations. Due before midnight. See schedule for due dates. Create a zip file of your project folder and submit via Blackboard.
Create a folder called project2 and copy the three files you created from project1 (index.html, resume.html, and courses.html). Inside of your project2 folder, create two sub-folders, one called examples and one called gallery.
The examples folder will contain some examples that demonstrate HTML expertise. For this project, we will create two examples and an index page describing the examples.
table
, tr
, th
, td
, thead
, tfoot
and caption
.colspan
and rowspan
for cells that obviously span multiple cells, i.e., Student Name, Lab, Ave, and Summary.HTML Table Example Student Name Labs Ave First Last Lab1 Lab2 Lab3 Sol Rosenberg 100 100 100 100.0 Frank Rizzo 50 60 90 66.6 Ali Kamal 90 80 60 76.6 Summary Ave 80.0 80.0 83.3 81.1 Min 50 60 60 66.6
form
, input
, select
, option
, fieldset
, label
and legend
.type
to create the appropriate
input
elements.
select
and option
tags.label
and fieldset
appropriately. See the textbook for details on the proper usages.
In the examples folder, create a page called index.html with the required HTML5 tags. The page should have a title
and h1
with the content "HTML Examples" and it should contain hyperlinks to
the three examples (Table, Form and Photo Gallery) as well as a description of each example, i.e., what does each example demonstrate.
img
), a heading title (h2
) for the image, and a short description (use the p
tag with the class name "image_caption"). Be sure to add relevant and appropriate content for the h2 and a paragraph that describe the image. Select pictures that interest you or pictures that you might have taken yourself. Keep in mind that this emerging website is something you can show future employers to demonstrate your web design skills. Eventually, it will be impressive.
title
and h1
with the content "Photo Gallery" and it should contain smaller versions of the images in each of your photo pages (called thumbnails). Each thumbnail should be a hyperlink to the corresponding photo page.Points will be given based on the overall quality of your work in this section.
Create a navigation menu as follows:
nav
element, i.e., <nav> </nav>
. Put the nav
inside your header
tag and right above your name, which should be in an h1
or h2
tag.nav
element add a nested unordered list that matches the folder hierarchy of your emerging website.
Your main list should have items that link to the following pages:
index.html (Home) resume.html (Resume) courses.html (Courses) examples/index.html (Examples) gallery/index.html (Photo Gallery)Use the page name in parenthesis as the item text and then make that text a hyperlink to the corresponding URLs. For example:
<li><a href="resume.html">Resume</a></li>
examples/table.html (Table) examples/form.html (Form)
gallery/photo1.html (Photo 1) gallery/photo2.html (Photo 2) gallery/photo3.html (Photo 3) etc.
In your project2 folder, create a file called index.css and add the following code:
nav, nav ul, nav li{ margin:0; padding:0; } nav ul{ list-style:none; float:left; width:100%; } nav ul li{ float:left; position:relative; } nav ul a{ display:block; padding:6px 32px; color:#000; background:#ccc; text-decoration:none; border-bottom: 2px solid black; } nav ul ul{ background:#fff; position:absolute; left:-9999px; } nav ul ul li{ float:none; } nav ul li:hover ul{ left:0; } nav ul li:hover a{ background:#888; } nav ul li:hover ul li a:hover{ color:#fff; background:#444; }This code will format all your navigation menu horizontally with drop downs for each sub-menu.
In the head
of all your web pages, add the link
tag with the proper attributes so that index.css is used to style each page. Consider that some of your pages are stored in sub-folder, so be sure to use the correct relative URL to link index.css.
After you are sure that the style sheet is being properly linked on all your web pages, add selectors and properties to decorate your pages. At a minimum, you should add at least one property to the following tags:
p
,
header
,
footer
,
h1
,
h2
,
table
,
th
and
td
.
At a minimum, you should demonstrate the proper usage of the following CSS properties:
font-family
,
font-size
,
color
,
background-color
,
text-decoration
and
text-transform
Points will be given based on the quantity and quality of your CSS code.