Programming Assignment UNIT 3 PDF

Title Programming Assignment UNIT 3
Author A M
Course Web Programming 1 (proctored course)
Institution University of the People
Pages 7
File Size 201.8 KB
File Type PDF
Total Downloads 23
Total Views 182

Summary

UNIT 3 Assignment....


Description

CS 2205: WEB PROGRAMMING 1 AY2021-T5 Discussion Assignment Unit 3 Questions 1. 2.

Create an HTML document that displays the numbers 1 - 10, each number being a different color. Create an HTML document that displays the squares of the numbers 1 - 10. Each number should be on a separate line, next to it the number 2 superscripted, an equal sign and the result. (Example: 102 = 100)

3.

Create an HTML document that displays two lists with any information you want. One list should be an ordered list, the other list should be an unordered list

4.

Create an HTML document that displays two addresses in the same format used on the front of envelopes (senders address in top left corner, receivers address in the center). Like the following

Dilbert H. 1234 Anim Street P.O. Box 22222 Someone A. Person 5555 Street Avenue Metrpolitan, Metropolis 11111 5.

Create a page with a link at the top of it that when clicked will jump all the way to the bottom of the page. At the bottom of the page there should be a link to jump back to the top of the page.

6.

Create links to four different pages on four different websites that should all open in a new window

7.

Display five different images. Skip two lines between each image. Each image should have a title

8.

Display an image that has a border of size 2, a width of 200, and a height of 200.

9.

Display an image that when clicked will link to itself and will display the image in the browser by itself

10.

Display an image that when clicked will link to a search engine of your choice (should be opened in a new window)

Pick 5 corporations and hunt down their current stock prices. Place them in a neatly arranged table with their name, symbol, last price, 52wk high, 52wk low and PE ratio. The end result should look like the following. Notice that he first column is aligned left and the rest are centered.

SOLIUTION

1



Numbers 1-10 in different colors

Numbers 1-10 in Different Colors 1 2 3 4 5 6 7 8 9 10

------------------------------------------------2



Squares of Numbers

Program to Create Squares of 1-10 12=1 22=4 32=9 42=16 52=25 62=36 72=49 82=64

92=81 102=100

3



List

Ordered and Unordered Lists Ordered List

Honda Toyota Mazda GMC Mercedes Benz Bugatti Chiron

Unordered List Honda Toyota Mazda GMC Mercedes Benz Bugatti Chiron

4



Address

John Green 1003 Rosemere Ave Silver Spring, MD 20904-3008, U.S. Mary Moses Joseph 103243 Topville Ave Silver Spring, MD 20901-3009, U.S.





Navigating Within Same Page

Top Section Go to bottom section



Bottom Section Go to top section

9



Squares of Numbers

Page 1 Rooms in Fraser Hotels, Abuja page 2 Rooms in Transcorp, Abuja page 3 Rooms in Sheraton, Abuja page 4 Rooms in Iris Hotel, Abuja

7



Five Images

A Small Island

A Meat Vendor in Niger

A Town in Niger

Transit Donkey



A Palace

8



An Image With Dimension



9



An Image as Hyperlink...


Similar Free PDFs