| < Day Day Up > |
|
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).
When you go to http://www.register.com, and give a URL, you will get information about the owner of the URL.
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.
<?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>
Listing C.9: XHTML code to play an audio 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>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" />
Listing C.11: XHTML Code to display an image in the background.
<?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>
Listing C.12: XHTML code to display an image in the foreground.
<?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>
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.
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 > |
|