Azhane bt Ahmad ... NAME: AZHANE BT AHMAD MATRIC NO: 0325788

advertisement
Azhane bt Ahmad
0325788
Section 3
NAME: AZHANE BT AHMAD
MATRIC NO: 0325788
DEGREE PROGRAM: BIOTECHNOLOGY
COURSE: COMPUTER IN SCIENCE
SECTION: 3
ASSIGNMENT NO: 2
DUE DATE: 6 AUGUST 2004
SUBMISSION DATE: 6 AUGUST 2004
INSTRUCTOR: DR IBRAHIM ALI NOORBATCHA
E-MAIL: azhane_ahmad@yahoo.com
HOMEPAGE ADDRESS: http://www.geocities.com/azhane_ahmad
1. What is the difference between a "Web page" and an "HTML page"?
Web page:
-Interpreted by web browsers from HTML language.
-Designed to be interpreted by web browsers.
-Display graphics, text, and even interactive elements such as video sound and
input forms then enable them to be accessed by visitors to web sites.
HTML:
-The language in the HTML page will interprets as the web page in the web
browser.
-The page is displayed in the Hypertext Mark up Language format.
-The page contains command.
2. Do you need to be connected to the Internet constantly while you create HTML
pages? Explain your answer.
No. This is because the Internet connection does not involve in creating HTML
pages. Random Access Memory will be used when we want to upload the web
page in the World Wide Web while the creation of the HTML pages only using
the hard drives.
3. Define the terms Internet, Web page, and World Wide Web.
Internet:
The world wide collection of computers connected to each other by a network. An
agreed upon common language called a protocol links these network to each
other. The internet begins in the 1960s as the first-large scale computer network
designed to give scientist and research institutions access to compute information
at remote locations.
2:36 AM
7/28/2016
Azhane bt Ahmad
0325788
Section 3
Web page:
A file in the HTML format available for retrieval by a browser on a World Wide
Web server. Web page differs from other documents in that they are designed to
be interpreted by a web browser. Microsoft Internet Explorer and Netscape
Navigator take text, graphics and even interactive such as input sounds, forms and
video.
World Wide Web:
In the popular method for accessing and strong documents in the Internet. Begun
in 1989 at CERN, the Europe Laboratory for particles physics, then WWW(also
simply known as web) can display picture (graphics), sound and video.
4. How many files would you need to store on your computer to make a Web page
with some text and two images on it?
Three files. The first file is the page file itself, the second and the third are the
first and second images files.
5. Can you create Web pages with Microsoft Word or WordPerfect? If so, how?
Yes, by using the web page wizard, a web template or save a word document as a
web page.
6. What four tags are required in every HTML page?
Four tags required in the HTML page:
<html>,<head>,<title>,<body>.
7. Write the HTML with the appropriate line break and paragraph break tags to
format the following with a blank line between them:
Categorization of classification of tawheed
Tawheed ar-Rububiyyah
Tawheed al-Asma’ was Sifaat
Tawheed al-Uluhiyyah
<html>
<body>
<p><u>Categorization of classification of Tawheed</u></p>
<p>Tawheed ar-Rububiyyah</p>
<p>Tawheed al-Asma’ was Sifaat</p>
<p>Tawheed al-Uluhiyyah</p>
</body>
</html>
2:36 AM
7/28/2016
Azhane bt Ahmad
0325788
Section 3
8. Write the HTML for the following to appear one after the other:
A large heading blinking with the words, "We are proud to be Muslims"
A horizontal rule across the page
A small heading with the one word "By"
A medium-sized heading with the words, "UIA students"
Another horizontal rule
<html>
<head>
<title><h1><blink>We are proud to be Muslims</blink></h1></title></head>
<hr>
<body>
<h6>by</h6>
<h3>UIA students<h3>
</hr>
</body>
9. Write a complete HTML Web page with the title "My Home Page" and a heading
at the top which reads "Welcome to my home in the cyber space" followed by the
words, "Come in" in regular type.
<html>
<head>
<title>My Home Page</title></head>
<body>
<p>Welcome to my home in the cyber space</p>
<p><h3>Come in</h3></p>
</body>
</html>
10. How do you put a link to your friends’ home page in your home page?
<a href = friends’s home page address>friends’ name</a>
Example:
<a href = http://www.arshana_nor.goecities.com>Arshana home page</a>
2:36 AM
7/28/2016
Azhane bt Ahmad
0325788
Section 3
11. Your home page will be at http://www.mysite.com/home.htm when you put it on
the Internet. Write the HTML code to go on that page so that when someone
clicks on the words "All about me," they see the page located at
http://www.mysite.com/mylife.html
<a href = http://www.mysite.com/mylife.html>all about me</a>
12. You plan to publish a CD-ROM disc containing HTML pages. How do you create
a link from a page in the \guide directory folder to the \guide\main\tips.htm page?
<p><a href = “…\guide\main\tips.htm”>tips</a></p>
13. How about a link from \guide\main\tips.htm to
the\guide\chapter\chapter1\superstitions.htm page ?
<p> <a href = ‘…\guide\chapte1\superstitions.htm”>tips</a></p>
14. If the following Web page is named mypage.htm, which files would you need to
transfer to the Web server to put it on the Internet?
<HTML><HEAD><TITLE>My Page</TITLE></HEAD>
<BODY BACKGROUND="joy.gif">
<IMG SRC="me.jpg" ALIGN="right">
<H1>My Web Page</H1> Oh happy joy I have a page on the Web!<P>
<A HREF="otherpage.htm">Click here for my other page.</A>
</BODY></HTML>
The files that should be transferred to the web servers to put in on the Internet are:
- Joy.gif file
- Me.jpg file
- The file with named My Page.htm
- Other page, htm file
2:36 AM
7/28/2016
Azhane bt Ahmad
0325788
Section 3
15. Write the HTML to produce the following:
Come for cheap free H2O on May 7th at 9:
<html>
<body>
<p>Come for cheap free H<sub>2</sub>O on May 7<sup><u>th</u></sup>at
9:</p>
</body>
</html>
16. What is the easiest way to centre a single paragraph or heading?
<head>
<title>heading</title></head>
<body>
<p><centre>single paragraph</centre></p>
</body>
17. How would you centre everything on an entire page?
<p align = “center”> </p>
18. How would you say, "We're having our annual Nixon Impeachment Day SALE
today!" in normal-sized blue text, but with the word "SALE" at the largest
possible size in bright red?
<p><font color = “#0000ff”> We’re having our annual </font><font color =
“#ff0000”><h1>SALE</h1></font><font color = “#0000ff”>today</font></p>
19. How would you make all text on a page green and a little larger than normal, but
make all headings yellow?
<html>
<head>
<title><font colour = “#ffff00>heading</font></title></head>
<body>
<p><h4><font colour = “#00800”>text</font></h4></p>
</body>
</html>
2:36 AM
7/28/2016
Azhane bt Ahmad
0325788
Section 3
20. How do you say "(c) 1996, Webworks Inc." on a Web page?
<html>
<body>
<p> (c) 1996, Webworks Inc </p>
</body>
</html>
21. Explain the usage of any other HTML command which is not discussed in the
class, using suitable examples.
<dynamicanimation>
- In the web page, the text, or the object we will give the flash effect.
22. Search for any free web site in the internet and check whether you can upload
molecular structure data files such as .mol, .xyz, etc. Give the name of this web
site and comment whether this web site is much easier to use compared to other
web sites.
Free web site that able to upload molecular structure data files such as .mol, .xyz,
etc is www.planet.time.net.my . This web site is much easier to use compared to
other web sites.
23. Write the IP addresses of three computers in different places and use these
examples to explain the classification of IP addresses as belonging to Class A,
Class B..etc..
10.1.2.11/20.1.22.12/ 44.15.5.45
Class A subnets
In class A subnets, the first number determines the organization. The last 3
numbers specify compute in that organization.
For example, 10.1.2.11 is IP address for IIUM
10 is for IIUM and 1, 2, and 11 are for the computer in IIUM
Class B subnets
In class S subnets, the first 2 decimal digits determine the subnet while 21 and 22
determine the computer in the subnets.
For example 20.1.22.12
20 and 1 are determine the subnets while 21 and 22 determine the computer in the
subnets.
Class C subnets
In which the first 3 fields of the IP address are specified and the last field can
vary, these subnets provide 256 IP address. For example 44.15.5.45
2:36 AM
7/28/2016
Azhane bt Ahmad
2:36 AM
7/28/2016
0325788
Section 3
Download