Advertisement

Assignment # 4 Introduction to Computing (CS 101)

Upload Instructions
Please view the assignment submission process document provided to you by the Virtual University to upload the assignment.
Rules for Marking
Please note that your assignment will not be graded if:
• It is submitted after due date
• The file you upload does not open
• The file you uploaded is copied from some one else
• It is developed using any tool / software like MS Front Page, Dreamweaver etc. (Only Use HTML Tags in Notepad).
• Submit only html file with extension .html / .htm . No other file like Notepad or word file should be submitted.
Objective
This assignment has been designed to enable you to draw a table in a webpage and use mouse event-handler in JavaScript.
Assignment
You have to develop a web page similar to the one given below. (Find the Screen Capture attached below) This page must have the following properties:

• Use HTML tags that you studied in Web Development lectures of CS101.
• The title of the page should be “My student ID is xxxxxxxxxxx”. Instead of writing x’s you should display your own ID, not of someone else or not the one shown in the screenshot.
• Use H1 tag for the heading “Fall-2007 CS101 Assignment # 4”.
• Draw a table with the given columns and rows. The size of table border should be “1”, the background color should be “SkyBlue”, and it should be aligned in the center. The following text must be written in the caption of the table “Wheat and Rice Production in South Asia”. The table should be exactly like the one shown in the screen capture.
• Use H4 tag for the heading “Displaying the title of the webpage on the Status bar”.
• Draw a button “Display Status”. When this button is clicked, the status bar should display the text written in title of the webpage. The title of the page can be read using the “title” property of the “document”. For this assignment use “onClick” event-handler. If you use “onMouseOver” event-handler, marks will be deducted for that.



0 Responses