HTML/CSS Bio Homework:
- Read and study the HTML5 Tutorial
- Create a folder called hw3
- all lowercase letters
- no spaces
- no capitals
- this is a FOLDER (also known as a directory), so do not put any extension on the name.
- save all of your work for this homework in the hw3 folder
- Using a text editor, code a four page website about you - you may reuse material from the me.html assignment if you like
- the home page in the folder hw3 must be named index.html
- the file names for the other three pages must follow the naming conventions
- all lowercase letters
- no spaces
- no capitals
- the other four pages (the other 3 html pages and the image file mentioned below) should have descriptive names rather than page2, page3, etc. - as your sites get larger, this is helpful
- Use the following tags
in your site -- a tag does not have to be in every page, e.g. you need only have one image
- h1
- h2
- p
- put at least two paragraphs on each of the inside pages. The paragraphs can be as short as one sentence.
- Use your own words
- img
- you need only use one image, although you may use more
- specify the height and width attributes of the img tag in pixels. In Windows, you can determine the natural size of an image by hovering over the image in File Explorer. In File Explorer, the first figure is the width. For this assignment only, you may resize using these attributes rather than in a graphics program; normally you will want to keep the same aspect ratio when you resize (the relationship between height and width)
- You can resize the image in Paint - In Paint there is a resize button.
- link the pages together, using relative linking
- Because the files are all in the same folder, you specify only the filename for the href attribute of the a tag
- In a small site like this, each page should link to every other page, unless you want the user to go through your site in a particular order (like in a tutorial)
- Use a consistent navigation scheme, meaning the links should be in the same place and in the same order on every page. For the page you are currently on, there should either be a link to itself, or just the text of the link should appear (without it being an actual link). You should not drop the text out of the navigation bar - this is confusing for the user.
- You will find it convenient to copy your navigation links from one page to the other pages in your site
- Don't use any inline CSS.
- Don't use any embedded CSS
- CSS coding in the html files (inline or embedded) will result in points being deducted from your grade. Do NOT put any styling in your html pages.
- Avoid the use of deprecated or obsolete tags and attributes
- Create one, and only one, external CSS style sheet to style the following tags. Get creative! If you use the same CSS property for each tag, use additional CSS properties so there is some variation in your use of CSS properties.
- it is required that you style these tags in your CSS style sheet
- you may also style additional tags if you like.
- Don't forget to link up the html pages with the external CSS style sheet - you use the <link> tag for this purpose in the head section of the html files.
- You will copy your <link> tag to the other html pages in the site so that all html pages are connected to the same css file
- Make the website look attractive.
- Put the four html pages, the one image file, and the one .css file in the folder called hw3
- Validate the html and css pages using the html and css validators. In general, it is best to validate your files before you upload them so you catch errors before uploading, and you cannot validate the files on myDrive.
- Upload the hw3 folder and all of its contents to your myDrive space
- If you are using the myDrive file manager to upload the files, the easiest way is to zip the hw3 folder, upload the zip file using myDrive. and then use the Unzip feature at the right-hand side of myDrive to unzip the folder.
- If you are using an FTP program such as CoreFTP, you can just upload the hw3 directory (which will also upload its contents)
- The URL of your site on myDrive shoud be something like mydrive.nvcc.edu/public/username/hw3 where username is replaced by your myNova username; the URL must contain your myNova username. You can get the URL by clicking "My Web Root" at the left in myDrive.
- After you have uploaded your site to the server, test it in a browser, i.e. go the URL of your site and make sure everything works
- In Canvas, submit the URL when the homework is ready to be graded against the assignment.
- COPY and PASTE the url to your site.
- If you copy and paste the URL from the address bar of your browser, you will know it is correct.
- Do not submit a URL that references a drive on your computer or a folder on your computer (e.g. Desktop)
- A valid myDrive URL will not contain the word "file"
- In myDrive, the top level folder witll be "home"; inside the home folder, you will have a folder named "public"; all your work for this class must go inside the public folder
- As a backup, zip your hw3 directory and attach the zipped file in Canvas; however I will penalize you if your URL does not work..
Revised: 2/7/22