CHAPTER 24

 < Day Day Up > 



  1. When you start your own organization, you need to have a Web address. To obtain a unique URL for your organization, you can go to a site such as http://www.register.com or http://www.networksolutions.com and find out whether the required URL is already registered by someone or is available. If it is available, you can pay the registration charges (about US$70 for two years). Then you can develop your Web site and host it on a Web-hosting service provider's server by paying the hosting charges (about US$10 per month).

  2. When you go to http://www.register.com, and give a URL, you will get information about the owner of the URL.

  3. XHTML code for displaying text, playing audio and video clips, and displaying images in the background and foreground is given below. You need to have the necessary audio clip, video clips, or the image files in your directory before running this code. The names of these files are indicated in the code itself.

Listing C.8: XHTML code to display text.

start example
       <?xml version="1.0" encoding="UTF-8"?>       <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional// EN"                   "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd">    <html xmlns="http://www.w3.org/1999/xhtml1" xml:lang="en" lang="en">    <head>    <title>Text Sample</title>    </head>    <body>       <h1> XHTML Document welcomes you</h1> </body>    </html> 
end example

Listing C.9: XHTML code to play an audio file.

start example
    <?xml version="1.0" encoding="UTF-8"?>    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional// EN"                "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd">    <html xmlns="http://www.w3.org/1999/xhtml1" xml:lang="en" lang="en">       <head>       <title>Audio Sample</title>       </head>    <body>       <a href="sample.mid">Audio</a> </body>    </html>    using embed tag:       <embed src ="sample.mid" autostart="true" width="200" height="100" hidden="true" />    using object tag:    <object data ="sample.mid" type="audio/midi" autostart="true" width="400" height="400" hidden="true" />    Listing C.10 XHTML code to play a video file.    <?xml version="1.0" encoding="UTF-8"?>    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional// EN"                "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd">    <html xmlns="http://www.w3.org/1999/xhtml1" xml:lang="en" lang="en">     <head>     <title>Video Sample</title>     </head>     <body>        <a href="search.avi">Video</a> </body>     </html>     using embed tag:     <embed src ="search.avi" autostart="true" width="200" height="200" loop="true" />    using object tag:       <object data ="search.avi" type="video/x-msvideo" autostart="true" width="400" height="400" hidden="true" /> 
end example

Listing C.11: XHTML Code to display an image in the background.

start example
    <?xml version="1.0" encoding="UTF-8"?>    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional// EN"                "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd">    <html xmlns="http://www.w3.org/1999/xhtml1" xml:lang="en" lang="en">      <head>      <title>Background Image Sample</title>      </head>    <body background="TajMahal.jpg">    <br /><br /><br /><br />    <h1 align="center">Sample Text</h1>    </body>    </html> 
end example

Listing C.12: XHTML code to display an image in the foreground.

start example
    <?xml version="1.0" encoding="UTF-8"?>    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional// EN"                "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd">    <html xmlns="http://www.w3.org/1999/xhtml1" xml:lang="en" lang="en">     <head>     <title>Image Sample</title>     </head>    <body>       Sample Text       <img src="/books/4/329/1/html/2/rose.gif" alt="Rose Blum" />    </body>    </html> 
end example

  1. Search engines can be compared based on the number of Web pages searched, the amount of time it takes to present the results, and the relevance of information presented to the user. You can search for your name using different search engines the engine that gives the highest number of results is the best! Intelligent search engines are now being developed, and they will be able to present more relevant information.

  2. Some of the Web-based learning portals are:

    • http://www.techonline.com

    • http://www.elearn.cdacindia.com

    • http://www.gurukulonline.co.in



 < Day Day Up > 



Principles of Digital Communication Systems and Computer Networks
Principles Digital Communication System & Computer Networks (Charles River Media Computer Engineering)
ISBN: 1584503297
EAN: 2147483647
Year: 2003
Pages: 313
Authors: K V Prasad

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net