You will create a personal web page using HTML. HTML (HyperText Markup Language) is a standard markup language used to format web pages (it is not a programming language). You will upload your HTML code to your UCSC server, and then anyone can view your web page on the internet.
This assignment will be out of 1000 possible points.
Before You Start:
- We highly recommend using a specialized text editor, such as Notepad++ for Windows (download here) or TextWrangler for Mac (download here). Do not use a standard word processor, like Microsoft Word. It will mangle your code in unforeseen ways. And do not use a web page generator (it is easy to tell the difference).
- Open your text editor and start writing your HTML code in a blank document. Be sure to save your file as "index.html" (all lowercase). There is probably a drop-down menu in the save window that will let you choose HTML. Do not save your file as "index.txt".
- To edit your index.html file later, do not double-click on the file on your computer. Instead, either right click on index.html and choose your text editor, or open the text editor first and open index.html from there.
- To preview your index.html file, double-click on you index.html file to open it in your default browser (i.e. Firefox, Chrome, Safari, Internet Explorer, etc.). This is a preview of what your HTML website will look like when you upload it to your UCSC server.
- You may use the professor's example web page as a starting point. Simply go to the website and view the page's source code (sometimes achieved by pressing Control-U on your keyboard). The website has only some of your required items. Be sure to use different content and values than the professor.
- You can find a list of many HTML tags here. In general, if you do not know the HTML tag for something, a Google search will help (ex. search "centered text html").
- For full credit, you must close all your HTML tags. For example, <B> must eventually close with </B>, <LI> must eventually close with </LI>, etc.
- Title (this is different than a heading) (100 points)
- Headings of two different sizes (ex. h1, h2, h3, etc.) (50 points each)
- Colored background (other than white) (100 points)
- "Mailto" link to your email address (100 points)
- Hyperlink to another website (must use a URL, not a file path) (100 points)
- Bold text and italic text (50 points each)
- Centered text (100 points)
- Horizontal line (aka "horizontal rule") (100 points)
- Ordered list (numbered list) and unordered list (bulleted list) (50 points each)
- Picture (100 points)
- Download and install a Secure File Transfer Protocol (SFTP) program, such as Cyberduck, which you can download from the Files section of the class portal.
- To install Cyberduck for Mac, open the Cyberduck zip file to create Cyberduck.app
- To install Cyberduck for Windows, run the Cyberduck installer
- Click "Open Connection" in the top left corner
- Change "FTP (File Transfer Protocol)" to "SFTP (SSH File Transfer Protocol)" and then enter:
- Server: unix.ic.ucsc.edu
- Username: your UCSC username
- Password: your UCSC blue password
- Click "Connect." If an "Unknown Fingerprint" warning comes up, click "Allow"
- Select the "public_html" folder. Note: Do not delete, rename, or move the public_html folder. It is a special folder created by the UCSC IT department.
- To upload your website to the internet, simply drag and drop your index.html file from your computer into the public_html window. Remember, anything you upload is publicly available online for anybody. Also, whatever file is named "index.html" becomes your homepage (hence the importance of naming your file index.html).
- If you want to upload any other files (ex. a picture to include on your website), drag that file to public_html as well. That file can be accessed/referenced at the URL http://people.ucsc.edu/~username/filename (replace "username" with your UCSC username and replace "filename" with the name of your uploaded file, like "cat.jpg")
- Now visit your website live on the internet by going to http://people.ucsc.edu/~username (replace "username" with your UCSC username).
- If you want to update your website, just change your HTML code in your index.html file and drag it into public_html again (overwrite the previous index.html).
Extra Credit: Add your website listing to the UCSC directory of individual websites (click on "add, update, or remove your entry" and follow the steps). (100 points)
Finally, upload your index.html file to Canvas. Your index.html file should be available both at people.ucsc.edu and on Canvas for full credit.
Revised by Jeremy Baumgartner, Winter 2015.