Problem Set 7: Website Development

Similar documents
Part A Short Answer (50 marks)

Create a cool image gallery using CSS visibility and positioning property

Dreamweaver: Portfolio Site

2.) You need personal webspace. This is usually provided by your Internet service provider. Check with your ISP on how to set up the webspace.

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.

CSCI 1100L: Topics in Computing Spring 2018 Web Page Project 50 points

Implementing a chat button on TECHNICAL PAPER

HTML and CSS COURSE SYLLABUS

Creating HTML files using Notepad

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Lab 4 CSS CISC1600, Spring 2012

How the Internet Works

Getting Started with Eric Meyer's CSS Sculptor 1.0

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

Deccansoft Software Services

Table of contents. DMXzoneUniformManual DMXzone

Introduction to Web Technologies

Semantic Web Lecture Part 1. Prof. Do van Thanh

An Introduction to WebSphere Portal content publishing channels

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Web Development IB PRECISION EXAMS

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

HTML & XHTML Tag Quick Reference

Exercise 1: Understand the CSS box model

Introduction to Web Development

Motivation (WWW) Markup Languages (defined). 7/15/2012. CISC1600-SummerII2012-Raphael-lec2 1. Agenda

CS 1124 Media computation. Lab 9.3 October 24, 2008 Steve Harrison

Introduction. Introduction. JavaScript 1.8: Web and Objects Copyright by LearnNow, LLC All rights reserved. Reproduction is strictly prohibited.

Positioning in CSS: There are 5 different ways we can set our position:

CSC 121 Computers and Scientific Thinking

The Marketer s Guide to. Responsive Design

Dreamweaver CS5 Lab 4: Sprys

Programmazione Web a.a. 2017/2018 HTML5

Web Development and HTML. Shan-Hung Wu CS, NTHU

Microsoft Expression Web Quickstart Guide

Hyper- Any time any where go to any web pages. Text- Simple Text. Markup- What will you do

MP3 (W7,8,&9): HTML Validation (Debugging) Instruction

PIC 40A. Lecture 4b: New elements in HTML5. Copyright 2011 Jukka Virtanen UCLA 1 04/09/14

Html basics Course Outline

HTML/CSS Lesson Plans

CMT111-01/M1: HTML & Dreamweaver. Creating an HTML Document

Free Web Development Tools: The Accessibility Toolbar

Tutorial 4. Activities. Code o Editor: Expression Web o Focus : Base Layout, navigation with folders, external stylesheets, Open up Expression Web

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

Computer Science E-1. Understanding Computers and the Internet. Lecture 10: Website Development Wednesday, 29 November 2006

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo

Dreamweaver CS3 Lab 2

(from Chapter 5 & 25.6 of the text)

Web Site Development with HTML/JavaScrip

Getting Started with CSS Sculptor 3

A Balanced Introduction to Computer Science, 3/E

CMPT 165 Unit 2 Markup Part 2

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

Creating A Web Page. Computer Concepts I and II. Sue Norris

Bridges To Computing

How to SFTP to nice.fas.harvard.edu from Windows

Page Layout Using Tables

XHTML & CSS CASCADING STYLE SHEETS

FUNDAMENTALS OF WEB DESIGN (405)

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

SOEN287: Web Programming

This is a book about using Visual Basic for Applications (VBA), which is a

In the early days of the Web, designers just had the original 91 HTML tags to work with.

Beginning HTML. The Nuts and Bolts of building Web pages.

Intro to html. --- define every element, attribute, and entity along with the rules for their use

HTML Overview. With an emphasis on XHTML

Comm 244 Week 3. Navigation. Navigation. Websites need a formalized system of links to allow users to navigate the site

Certified HTML5 Developer VS-1029

introduction to XHTML

PART COPYRIGHTED MATERIAL. Getting Started LEARN TO: Understand HTML, its uses, and related tools. Create HTML documents. Link HTML documents

Using htmlarea & a Database to Maintain Content on a Website

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

CSC309 Tutorial CSS & XHTML

Web Design and Development ACS Chapter 3. Document Setup

Introduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100

Creating Accessible Web Sites with EPiServer

Overview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS

:

Modify cmp.htm, contactme.htm and create scheduleme.htm

HTML, XHTML, and CSS 8/21/2011. Chapter Objectives. Chapter 4. Chapter Objectives. Chapter Objectives

HTML Exercise 24 Tables

.hedgehog { background-image: url(backyard.jpg); color: #ffff99; height: 6in; width: 12in; } .tube {

Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points)

Cascading style sheets


Using Dreamweaver 2 HTML

Table Basics. The structure of an table

Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser.

The University of Hawaii at Manoa Library Webpage Content/Design/Style Guidelines General Site Design... 2

One of the fundamental kinds of websites that SharePoint 2010 allows

Revision for Grade 7 ASP in Unit :1&2 Design & Technology Subject

LING 408/508: Computational Techniques for Linguists. Lecture 14

Using Dreamweaver CS6

('cre Learning that works for Utah STRANDS AND STANDARDS WEB DEVELOPMENT 1

CSE 143: Computer Programming II Spring 2015 HW2: HTMLManager (due Thursday, April 16, :30pm)

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

Creating Tables in a Web Site Using an External Style Sheet

Web Publishing Basics I

HTML. Hypertext Markup Language. Code used to create web pages

HTML and CSS a further introduction

Transcription:

Problem Set 7: Website Development due Thursday, 22 December 2005, by 5:30 P.M. ET Please type or write your answers, but do not write your answers on the problem set itself (except for question 8). The Dragon s Lair. (5 points each.) Consider the screen shot, below, of a SecureFX session with fas.harvard.edu. 1. Note the appearance of / atop the left-hand pane; what does this symbol denote? 2. Given the directory structure above, what is the URL of dragons_and_wizard.jpg on www.fas.harvard.edu? (Note that the course s website is served by www.fas.harvard.edu rather than www.people.fas.harvard.edu, by which your website is served.) 3. Consider the element below. <img height="515" src="water_dragons.jpg" width="309" /> What are the attributes of this element? 1 of 6

Short Answers. (8 points each.) 4. Suppose that you ve just entered http://www.fas.harvard.edu/~cscie1/collections/dragons/fire_dragon2.jpg into your browser. Unfortunately, upon hitting Enter, rather than being rewarded with a cool image of dragons, you are confronted with a page containing the error message below. HTTP Error 403 - Forbidden What exactly does this error message mean? Suggest at least two reasons for this error s occurrence. 5. What does it mean for a webpage to be well-formed? How is the well-formedness of a page different from its validity? 6. Speaking of well-formedness, the XHTML in each of the following statements is not wellformed. Tweak each statement so that it is well-formed, making as few changes to the original text as possible. a. <p>dragons prefer to sleep with <em>one eye open!</p></em> b. Purple dragons are, no surprise, <span style="color:purple">purple. c. I like Puff, the Magic Dragon. <br> I don't like Smaug, J.R.R. Tolkien's nasty dragon. d. It's the <b>"dragon Tales"</strong> show! Abra Kadabra! (10 points.) 7. There exists a group of wizards that use the Internet to share their spells, potions, and dragontaming techniques by creating webpages that detail their methods and strategies. Unfortunately for them, the dragons are also quite high-tech and check the wizards pages daily to learn the new techniques and figure out ways to fight against them. In a rash underestimation of the dragons intelligence, the wizards use some XHTML magic to hide the information by modifying their webpages so that all of the text appears white. Since the background color is also white, the text doesn t seem to appear on the page! Demonstrate how the wizards could implement this trickery by writing some well-formed and valid XHTML and CSS with your own secret message that you wouldn t want dragons to read. Keep in mind that there s no fancy wizardry involved! Since the wizards have a large site, your XHTML and CSS should be in separate files. Specifically, your XHTML should be at http://www.people.fas.harvard.edu/~username/wizards.html, while your CSS 2 of 6

should be at http://www.people.fas.harvard.edu/~username/wizards.css, where username is your FAS username. Within comments (flanked by <!-- and -->) in your XHTML, explain how the wizards could read each other s secret messages without viewing the source code of the document. Contact The Tolkien Society for Details. (16 points.) 8. Consider the XHTML below. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html> <head> <title>there There Be Dragons!</title> </head> <body> <div align="center"> <h1>there There Be Dragons!</h1> <br /> <table border="0" cellspacing="10"> <tr> <td> <p> <a href="http://www.tolkien.co.uk/"> <img align="middle" alt="beautiful Dragons" height="300" src="dragons_and_wizard.jpg" width="400" /> </a> </p> </td> <td align="left"> <p> <h2>contact The Tolkien Society for Details</h2> <h3> <a href="mailto:webmaster@tolkiensociety.org">the Tolkien Society</a> </h3> </p> </td> </tr> </table> </div> </body> </html> 3 of 6

Within the confines of the empty browser window on the last page of this document, sketch the webpage that would be generated by this XHTML, were you to view it with a browser. 1 You may assume that dragons_and_wizard.jpg is simply a drawing of a wizard s hat. You are welcome to seek the assistance from an XHTML book or online reference, particularly with any tags unfamiliar to you. However, it is expected that you will not save the above XHTML in a file and view that file with an actual browser. Consider this an exercise of thought, not of copy-paste. Twenty Unique Start Tags?! (35 points.) 9. Okay, enough drawing of webpages. It s time to make a webpage! We ll leave its design largely up to you, but let s put forth a few guidelines, below. i. The URL of your page must be http://www.people.fas.harvard.edu/~username/twenty.html where username is your FAS username. ii. iii. iv. Your page must contain at least one image. Your page must contain at least one mailto: link and one link to another website. Your page must include at least one SSI tag. v. You must use at least two different styles using CSS defined in your page (i.e., don t use a separate file for your style sheet). vi. vii. Your page must be XHTML 1.0-compliant (i.e., well-formed and valid). Your page must contain at least twenty unique start tags. While the specific contents of your page are up to you, things of beauty are encouraged. However, your work be evaluated solely on the basis of its compliance with XHTML 1.0. We suggest that you build your page incrementally, confirming its well-formedness and validity (with, say, the W3C s validator at http://validator.w3.org/) often. 2 1 You should tear that page out of this printout and submit it along with the rest of your work. 2 Trust us. Finding and fixing errors in 10 lines of XHTML is a lot easier than in 20 lines. 4 of 6

Extra Credit. (5 points.) 10. Although XHTML 1.0 is based on HTML 4.0, the former differs from the latter in a number of ways. Possibly by conducting a bit of research or doing a bit of reading, point out at least five fundamental differences between XHTML 1.0 and HTML 4.0. 5 of 6

6 of 6