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

      

Web page

HTML page

 A web page is a document created with HTML that is part of a group of hypertext documents or resources available on the World Wide Web. Collectively, these documents and resources form a web site. Every Web page is identified by a unique URL.

a HyperText Markup Language document stored in a directory on a Web server and/or created dynamically at the time of the request for the purpose of satisfying that request. In addition to text, an HTML page may include graphics, video, audio, and other files.

 

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

      I do not need to constantly connect to the Internet while creating the HTML pages.       During creating the HTML pages, what the most important thing to do is to write and include the HTML codes in a correct way. After finished with the codes, should display them as web page type. Then, we can publish it on the Internet after being satisfied with the quality and appearance of the web page. Therefore, it does not matter if we do not connect to the Internet while creating the HTML pages.

 

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

 

           The definitions of the Internet are as follows:

Ø      is logically linked together by a globally unique address space based on the   Internet Protocol (IP) or its subsequent extensions/follow-ons;

Ø      is able to support communications using the Transmission Control       Protocol/Internet Protocol (TCP/IP) suite or its subsequent extensions/follow-ons, and/or other IP-compatible protocols; and

Ø      provides, uses, or make accessible, either publicly or privately, high level services layered on the communications and related infrastructure described herein.

           The definitions of the web page are:

·        A document written in HTML that can be accessed on the Internet which every Web page has a unique address called a URL.

·        A text document which is encoded in HTML, displayed by a browser application, and accessible from remote sites via the WWW.

·        A web page is a document created with HTML that is part of a group of hypertext documents or resources available on the World Wide Web. Collectively, these documents and resources form a web site. Every Web page is identified by a unique URL.

              

         World Wide Web is defined as:

·        (WWW) -- An information system using the Internet to access information stored on computers worldwide.

·        A client-server software package which uses hypertext to organize, connect, and present information and services throughout the Internet. A hypertext-based system for finding and accessing Internet resources.

 

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.

 

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

      Yes, we can create Web pages using MS Word or WordPerfect. The steps involved in the Web page creation are as follows:

Ø      Open the Word application

Ø      Write: " This is my first page Web " (for example)

Ø      From the File menu, select the Save As Web Page option.

Ø      Save the word document as HTML format.

Ø      Enter the name page1.html in the Name of file box.

Ø       Press on the Save button.

    

6.   What four tags are required in every 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>

      <HEAD>

      <TITLE></TITLE>

      </HEAD>

      <BODY><P><U>Categorization of   classification of  tawheed</U><BR><BR>Tawheed  ar-Rububiyyah<BR><BR>Tawheed al-Asma’ was Sifaat<BR><BR>Tawheed al-Uluhiyyah </P>

       < /BODY></HTML>

 

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

      

      <H1><BLINK>We are proud to be Muslims</BLINK></H1><HR>

      <H6 >By</H6>

      <H3>UIA students</H3><HR>

 

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><H2>Welcome to my home in the cyber space</H2>Come in

       </BODY>

       </HTML>

 

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

    

      The methods to link both home pages are such as:

·              Type this tag in the HTML page,<A HREF= “URL address of friend’s homepage”>. The address could be, for example, http://www.geocities.com/potcut_sue. Then, the tag should look like this <A HREF= “http://www.geocities.com/potcut_sue”> 

·              Followed by the words “Click Here To See Homepage”( for example).

·              Then, end the tag by typing </A>

·              When clicking on the words “Click Here To See Homepage”, the users can get access to the friend’s home page.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      

     

10. 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>home.htm</TITLE>
<BODY><A HREF= “ http://www.mysite.com/mylife.html”> All about me</A>
</BODY>
</HTML>

 

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

 

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

      <A HREF=”chapter1\superpositions.htm”>superposition</A>

 

13. 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 will be transferred to the Internet are such as:

·        My Page, joy.gif, me.jpg, otherpage.htm files.

 

 

14. 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>O on May 7<SUP>th</SUP> at 9:
</BODY>
</HTML>

 

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

       Use the tags such as :

·        <P ALIGN= CENTER></P> or

·        <H1 ALIGN=CENTER></H1>

 

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

       Use the tags such as:

·        Put tag <CENTER> before the first word and the end tag </CENTER> after the last word on the HTML page.

 

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

      The steps to write them in the HTML codes:

·        After the tag of <BODY>, type this tag <FONT COLOR= #0000FF>We’re having our annual Nixon Impeachment Day <FONT SIZE=7 COLOR= #FF0000>SALE</FONT> today!</FONT>

      

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

      Below are the HTML codes to create such texts and heading as asked by:

      <HTML>
<HEAD><BASEFONT SIZE= “+1”>
<TITLE></TITLE>
</HEAD>
<BODY TEXT= “green”>All text will appear in green color<Hi><FONT COLOR= “yellow”>All headings will appear in yellow color</FONT></Hi>
</BODY>

      </HTML>

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

       These are the HTML codes:

       <HTML>
       <HEAD>
       <TITLE></TITLE>
       </HEAD>
       <BODY>&copy 1996, Webworks Inc. </BODY>
       </HTML>

 

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

      The HTML command is <STRONG></STRONG>. This tag can be used to indicate an even higher level of emphasis. An example is:

           I <STRONG>love</STRONG> you Juliet. Yours, Romeo.

       This sentence will appear as “I love you Juliet. Yours, Romeo” in the web page. Another example is:
      I<STRONG>hate</STRONG> everything. This sentence will appear as “ I hate everything” in the web page.

 

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

      Three IP addresses of three computers in different places are such as 216.115.108.245, 10.1.2.11, 132.170.4.124, and 172.177.173.2. The classification of IP addresses is known as subnetting which is composed of the class A, class B, and class C subnets. For class A, for example, 216.115.108.245 where the first dotted decimal (216) determine the organization and the last three (115.108.245) specify a computer in that organization. For class B, for example, 10.1.2.11 where the first two dotted decimal digits (10.1) determine the subnet while the last two (2.11) specify the computer in that subnet. For class C, for example, 132.170.4.124 where the first three fields of the IP address (132.170.4) are specified and the last field can vary, these subnet provide 256 IP addresses.

     

23. Print your own home pages from your web site.  Send the html files in the soft copy version.  Make sure that your web pages are free from plagiarism.