In: Computer Science
Step 2: using text editor (WordPad) to create a web page with the following content (you may cut-and-paste):
-----------------------------------------------------------------------------------
Just a screenshoot of the output
Book-O-Rama Catalog Search
Book-O-Rama Catalog Search
Choose Search Type:
Author Title ISBN
Enter Search Term:
-------------------------------------------------------------------------------------
Then save above document to the local directory (C:\temp) and make sure that you saved it in the plain text format (in the “Save as type” popup window, choose “Text Document (*.txt)), name your file “firstpage.txt”.
Step 3: test your web page
You can test your page by doing the following:
1. change the file extension to html. Thus, you should have a file firstpage.html.
2. create a sub director named “firstwebsite” in the web server’s root directory. Your web root may be different from mine. In my machine, the XAMPP is installed at C drive. Thus, the web root will be:
C:\xampp\htdocs\
At the end of this step, the directory structure will be:
C:\xampp\hpdocs\firstwebsite\
3. copy the newly created file “firstpage.html” to the directory shown in the previous line.
4. fire up a web browser and type the following to the URL:
http:\\localhost\firstwebsite\firstpage.html
Instructions:
1. In wordPad for proper formatting copy paste the following text :
-----------------------------------------------------------------------------------
<br />
Just a screenshoot of the output <br />
Book-O-Rama Catalog Search <br />
Book-O-Rama Catalog Search <br />
Choose Search Type: <br />
Author Title ISBN <br />
Enter Search Term: <br />
-------------------------------------------------------------------------------------
save above document to the local directory (C:\temp) and make sure that you saved it in the plain text format (in the “Save as type” popup window, choose “Text Document (*.txt)), name your file “firstpage.txt”.
Step 3: test your web page
You can test your page by doing the following:
2. change the file extension to html. Thus, you should have a file firstpage.html.
3. create a sub director named “firstwebsite” in the web server’s root directory. Your web root may be different from mine. In my machine, the XAMPP is installed at C drive. Thus, the web root will be:
C:\xampp\htdocs\
At the end of this step, the directory structure will be:
C:\xampp\hpdocs\firstwebsite\
4. copy the newly created file “firstpage.html” to the directory shown in the previous line.
5.. fire up a web browser and type the following to the URL:
http:\\localhost\firstwebsite\firstpage.html
This will be your first WebPage name firstwebpage in the Directory firstwebsite located in C Drive as intructed above.