Corning Community College
Computer Essentials
Web Page Creation
To explore and create a web page to better understand web pages and HTML.
To create a web page on lab46, the following steps need to be followed:
lab46:~$ cd public_html lab46:~/public_html$
lab46:~/public_html$ nano mypage.html
Now you would type in web content… for example, you could type in the following:
<html> <head> <title>MY first web page</title> </head> <body> <p>Yay! A paragraph.</p> <p>A second paragraph that has more words in it than the first paragraph. Even thought it isn't technically a paragraph because I only have 2 sentences in it.</p> <hr /> <p>One more <strong>paragraph</strong>.</p> </body> </html>
After saving and exiting from the text editor, the very first time you'll need to “bless” the web page so it can be viewable on the internet.
The technical aspect of what is going on is this: The system has 3 levels of access- user (owner), group, and other (world). The web server retrieves HTML documents under the “other” category. Files on the system can have the attributes of “read”, “write”, and “execute/search” applied to them… so in order to make a web page viewable by the world (including yourself, when you view your page on the server in a web browser you are from the “world”), we need to give “world” the “read” permission. This next command will ensure that (along with ensure the proper setting of values for user and group). All you need to know is that you need to do this the first time you make any new web document.
lab46:~/public_html$ chmod 644 mypage.html lab46:~/public_html$
If your lab46 username were js1234, and your web page created was mypage.html, the URL to your page would be:
<html> <center> </html> http://lab46.corning-cc.edu/~js1234/mypage.html <html> </center> </html>
To modify your page, simply follow the above steps (get into ~/public_html, run nano on the file in question), make your changes, and save (or save/exit).
Once done, you can simply refresh the page in your browser, and see the latest and greatest.
Your mission is to create a web page that is essentially a business letter (you can be writing to a business, or be a business writing to another business or customer… bottom line: your web page must display in the format of a business letter). The business can be imaginary, it can be talking about imaginary things… but there must be real, actual content in the letter (no filler or latin text).
Full requirements are as follows:
For added exploration, feel free to utilize any of the following (not required, but may get you bonus points):
Assignment Submission
<form> Action mail wedge@lab46.corning-cc.edu Thanks “Thank you. Your submission has been received.”
Textbox “What is your name?” Textbox “What is the URL of your web page?”
submit “Submit”
</form>