Assignment 3 (internet-web)

 

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

*      A web page is the HTML document which is accessible on the World Wide Web while the HTML page is the programming page of the Web page and is accessible through the document source.

 

 

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

*      While creating a HTML file, you don’t have to be connected to the Internet. This is because these files can be created using the MS Word or any other processing program as long as you save them as text files and give them a HTML or HTM extension.

 

 

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

*      Internet is the world’s largest communication network which connects all the computers in the world via TCP/IP (Transmission Control Protocol/Internet Protocol).

*      A web page is the HTML page available on the World Wide Web. It consists of texts and pictures compiled together using the html code.

*      The World Wide Web is a virtual network that uses the Internet to transport textual, graphical, video and audio information based on the hypertext information system.  

 

 

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 are needed to be stored in your computer in order to make a web page with some text and two images on it.

 

 

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

*      Yes, a web page can be created with Microsoft Word or WordPerfect. Create the file as desired then save it as text file and give it an HTML or HTM extension.

 

 

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

*      The four required tags in every HTML page are <html>, <head>, <title> and <body>. Each tag has a partner of the same name but with a slash preceding it for example </html>. The purpose of the tag’s partner is to negate the effect of the tag.

 

 

7.   What is the difference between the HTML tags <P> and <BR>?

*      The HTML tag <P> creates a paragraph or skips two lines and it has an end tag while the tag <BR> goes to a new line or line break and it has no end tag.

 

 

 

8.   What is expansion of the alphabets used in the following HTML tags:

      <A>, &nbsp, <HREF>, <SRC> and <HR>

*      <A>                =Address

            &nbsp             =Enter

            <HREF>        =Home page reference

            <SRC>            =Source

            <HR>             =Horizontal Rule

 

 

9.   Do all tags require a beginning and an ending tag?  Give at least three HTML tags that doesn't require an ending tag.

*      All tags have to have a beginning tag but not all tags require an ending tag. The examples of HTML tags which do not require an ending tag are <body background=“small.gif”>, <br> and <body text=“#FF0000”>.

 

 

10. Must tags be written in capital (upper case) letters?

*      No, tags can also be written in the lower case letters.

 

 

11. 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><head><title></title></head>

            <body><u> Categorization of classification of Tawheed </u><br>

            <p>Tawheed ar-Rububiyyah</p>

            <p>Tawheed al-Asma’ was Sifaat</p>

            <p>Tawheed al-Uluhiyyah</p>

            </body><html>

 

 

12. 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></title></head>

<body><blink><font size=6> We are proud to be Muslims </font></blink><hr>

<font size=2>By</font><font size=4>UIA students</font><hr></body><html>

 

 

13. 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><font size=5>Welcome to my home in the cyber space</font>          </center><p>Come in</p></body><html>

 

 

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

*      To put a link, just use the tag below:

<a href=“Your friend’s home page address”>“The hypertext link in your home         page”</a>

 

 

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

 

*      <html><head><title></title></head>

            <body><a href=“http://www.mysite.com/mylife.html”> All about me </a>

      </body></html>

 

 

16. 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?

*      <a href=“main/tips.htm”>TIPS</a>

 

 

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

*      <a href=“chapter1/superstitions.htm”>CHAPTER 1</a>

 

 

18. 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 you need to transfer to the Web server to put them on the Internet are:

*      mypage.htm

*      joy.gif

*      me.jpg

*      otherpage.htm

 

 

19. Write the HTML to produce the following:

Come for cheap free H2O on May 7th at 9:

 

*      <html><head><title></title></head>

<body>Come for <strike>cheap</strike> free H<sub>2</sub>0 on May 7<sup>th </sup> at 9:</body></html>

 

 

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

*      Use the <center> and </center> tags at the starting and ending of your paragraph or heading respectively.

 

 

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

*      Use the <center> tag after the <body> tag and </center> tag before the </body>tag. The example is as follows: <body><center>the contents here</center></body>

     

 

22. How would you say, "We're having our annual SALE today!" in normal-sized blue text, but with the word "SALE" at the largest possible size in bright red?

 

*      <html><head><title></title></head>

<body><font color=“#0000FF”>We’re having our annual <font size=7><font color=“#FF0000”>SALE</font>today!</font></body></html>

 

 

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

 

*      <html><head><title></title></head>

<body><body text=“#008000”><font size=4>my text here<font color= “#FFFF000”> my headings here</font></font></body></html>

 

 

24. How do you say "(c) 1996, Webworks Inc." on a Web page?

      <body> “(c) 1996, Webworks Inc.” </body>

 

*      <html><head><title></title></head>

            <body>&copy 1996, Webworks Inc.</body></html>

 

 

 

 

25. 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, and etc.

*      The IP addresses contain of four different parts and each part is separated with a full stop.

ü      The examples of the A Class IP addresses are 10.1.2.11, 10.3.1.21 and 10.2.6.12. Only the first part of the addresses is similar to one another and it determines the organization while the last three specify a computer in that organization.

ü      The examples of the B Class IP addresses are 11.2.3.21, 11.2.4.22 and 11.2.1.13. The first two parts are specified and they determine the subnet while the last two parts which varies specify a computer in that subnet.

ü      The examples of the C Class IP addresses are 12.2.2.1, 12.2.2.2 and 12.2.2.3. Only the last part varies with one another. The subnet provides 256 IP addresses.  

Hosted by www.Geocities.ws

1