NAME : Asween Rowena bt Abdullah Sani MATRIC NO. : 0610536

advertisement

Asween Rowena Sani (0610536)

BSBM - Section 3

4/10/2020 9:52:10 AM

NAME : Asween Rowena bt Abdullah Sani

MATRIC NO. : 0610536

DEGREE : BSBM

GROUP : 03

INSTRUCTOR : Dr. Ibrahim Ali Noorbatcha

E-MAIL : asweenrowena@yahoo.com

HOMEPAGE : ww.geocities.com/asweenrowena

DUE DATE : 10/08/2006

SUBMITTED : 10/08/2006

KOS1110 - Assignment 2 1

Asween Rowena Sani (0610536)

BSBM - Section 3

4/10/2020 9:52:10 AM

1. What is the difference between a “Web page” and an “HTML page”?

A Web page displays the outcomes of the codes that were entered in word processors when creating the web page. It is usually viewed using a Web browser. A HTML page shows the HTML codes typed in creating a web page. Thus, a HTML page displays the codes entered only and does not display how the web page looks like.

2. Do you need to be connected to the Internet constantly while you create HTML pages? Explain your answer.

No because in order to create HTML pages, you need only to type the HTML tags in word processing programs which are available offline. You only need to be connected to the Internet when uploading files onto the web site.

3. Define the terms Internet, Web page, and World Wide Web.

Internet - It is the worldwide, publicly accessible network of interconnected computer networks that transmit data by packet switching using the standard Internet

Protocol (IP). It is a "network of networks" that consists of millions of smaller domestic, academic, business, and government networks, which together carry various information and services, such as electronic mail, online chat, file transfer, and the interlinked Web pages and other documents of the World Wide Web.

Web page - A web page or webpage is a resource of information that is suitable for the World Wide Web and can be accessed through a web browser. This information is usually in HTML or XHTML format, and may provide navigation to other web pages via hypertext links.

World Wide Web - The World Wide Web ("WWW" or simply the "Web") is a global, read-write information space. Text documents, images, multimedia and many other items of information, referred to as resources, are identified by short, unique, global identifiers called Uniform Resource Identifiers (URIs) so that each can be found, accessed and cross-referenced in the simplest possible way.

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, two for each image and one for the web page.

5. Can you create Web pages with Microsoft Word or WordPerfect? If so, how?

Yes. When using MS Word, do not type in the html tags, just type in how you would want it to appear in the internet. Then save the file as web page. After you have finished typing, save them as text files and give them an HTML extension.

KOS1110 - Assignment 2 2

Asween Rowena Sani (0610536)

BSBM - Section 3

4/10/2020 9:52:10 AM

6. What four tags are required in every HTML page?

<html></html>

<head></head>

<title></title>

<body></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

<body>

<p>

<blockquote>

<u>Categorization of classification of tawheed</u>

<br><br>

Tawheed ar-Rububiyyah

<br><br>

Tawheed al-Asma’was Sifaat

<br><br>

Tawheed al-Uluhiyyah

</blockquote>

</p>

</body>

8. Write the HTML for the following to appear one after the other:

A large heading 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

<body>

<br><br><br><br><br>

<center><h1>We are proud to be Muslims</h1>

<hr>

<br>

<h5>By</h5>

<br>

<h3>UIA students</h3></center>

<hr></body>

KOS1110 - Assignment 2 3

Asween Rowena Sani (0610536)

BSBM - Section 3

4/10/2020 9:52:10 AM

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>

<center>

<h1>Welcome to my home in the cyber space</h1>

<br>

Come in

</center>

</body>

</html>

10. How do you put a link to your friends’ home page in your home page?

Enter the html tag:

<a href=(friend’s home page address)>My friend’s home page</a>

So, if a person clicks on “My friend’s home page”, he will be linked to that page immediately.

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=mylife.html>All about me</a> http://www.mysite.com

need not be enter since home.htm and mylife.htm will be in the same file.

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?

If anyone were to click on Tips, he or she will be linked to tips.htm page.

<a href=”guide\main\tips.htm”>Tips</a>

13. How about a link from \guide\main\tips.htm to the \guide\chapter1\superstitions.htm page?

<a href="..\chapter1\super.htm">Superstitions</a>

If someone were to click on Superstitions, superstitions.htm file will open.

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?

KOS1110 - Assignment 2 4

Asween Rowena Sani (0610536)

BSBM - Section 3

4/10/2020 9:52:10 AM

<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>

Files that would be transferred are:

Joy.gif

Me.jpg

Otherpage.htm

15. Write the HTML to produce the following:

Come for cheap free H

2

O on May 7 th at 9:

Come for <s>cheap</s> free H<sub>2</sub>O on May 7<u><sup>th</sup></u> at

9:

16. What is the easiest way to centre a single paragraph or heading?

To center a single paragraph heading:

<p=center></p>

To center a single heading:

<h1=center></h1>

17. How would you centre everything on an entire page?

Type all the contents in between the tag <center></center> in the body section of the html page.

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?

<font color=”#0000FF” >We’re having our annual Nixon Impeachment Day <font size=7 color=”#FF0000”>SALE</font> today!</font>

19. How would you make all text on a page green and a little larger than normal, but make all headings yellow?

<body text=”#008000”> <font size=4>“green text”

KOS1110 - Assignment 2 5

Asween Rowena Sani (0610536)

BSBM - Section 3

4/10/2020 9:52:10 AM

<font color=”#FFFF00”><h1> “yellow heading”</h1></font>

“green text”

</font>

</body>

To make headings yellow, each time a heading is entered the tag <font color=”#FFFF00”></font> must be entered too.

20. How do you say "© 1996, Webworks Inc." on a Web page?

<body>

&copy; 1996, Webworks Inc.

</body>

21. Explain the usage of any other HTML command which is not discussed in the class, using suitable examples.

<marquee></marquee> This tag moves text across the page continuously in the default direction from right to left.

22. Write the IP addresses of three computers in different locations and use these examples to explain the classification of IP addresses as belonging to Class A, Class

B..etc..

IP address

Computer A: 101.3.3.3

Computer B: 220.1.1.1

Computer C: 245.2.2.2

Classes of IP Addresses

Class A: 1.0.0.0 to 127.255.255.255

Class B: 128.0.0.0 to 191.255.255.255

Class C: 192.0.0.0 to 223.255.255.255

Class D: 224.0.0.0 to 239.255.255.255

Class E: 240.0.0.0 to 255.255.255.255

Classification of IP addresses

Computer A belongs to class A as its value of IP address falls in range 1.0.0.0-

127.255.255.255

Computer B belongs to class C as its value of IP address falls in range 192.0.0.0-

223.255.255.255

Computer C belongs to class E as its value of IP address falls in range 240.0.0.0-

255.255.255.255

23. Print your own home pages from your web site and submit it along with the assignment.

KOS1110 - Assignment 2 6

Asween Rowena Sani (0610536)

BSBM - Section 3

4/10/2020 9:52:10 AM

KOS1110 - Assignment 2 7

Download