Suggestions and corrections are greatly
appreciated: montecino@gmu.edu
HTML editing programs | FTP | UNIX | Backgrounds - Images | Web publishing guides | Basic html format Creating a Web Site on Mason and Setting Permissions Go to this Web page to activate your Mason
Account [This account is NOT the same
as
your MEMO e-mail account]: https://mason.gmu.edu/ISO/SysEng/Mason/account.html
To create a public_html directory and set permissions:
To re-enter your public_html (Web) directory: At the system prompt: (ie: mason2.gmu.edu> or osf1.gmu.edu>),
type: cd public_html [Press Enter] To Create or Edit Files in your public_html using UNIX: Remember your main "home" page file is always called index.html EDIT A FILE while in your mason Web space on the
server, type: pico
filename.html CREATE A NEW FILE while in your mason Web space on the
server: [File naming conventions: Name your other files with names that are easily identifiable, using no more than eight characters. The extension for all text files must be .htm or .html. Don't leave spaces in file names and don't use slashes ( / ), dashes or hyphens ( - ) in files names. You may use an underscore (ex: web_pg.html ) to separate parts of a name. Use lower case, easily identifiable names.] SET *FILE
PERMISSIONS: If
you create your files in in your mason Web space, after you create each
file, type: *If you create your Web files in your public_html directory using the UNIX "pico" editing program, you will need to set permissions for each file by typing (while in your public_html directory) chmod a+r filename. Substitute "filename" with the name of your .html file. For example: chmod a+r index.html. UNIX EDITING COMMANDS: If you create Web pages in your public_html directory by using
the UNIX
text editor, pico, here are some shortcuts:
To view your Web page type the domain name (mason.gmu.edu) preceeded by http://, plus your user name, preceeded by a tilde: "~". For ex: http://mason.gmu.edu/~username [Replace
"username" with
your mason account name - the same as your e-mail "name" without
the @gmu.edu]. Type this address in the location window of your
browser. If you set permissions and correctly executed all of the
commands and tags, then your Web page should appear. BASIC FORMAT OF A WEB PAGE Below is what a basic html document template looks like.
Always
put the html tags between the < > brackets. Notice that
some
tags have a / symbol in front of the tag. This signifies that the
"command"
for that tag ends at that point. [To see or edit this underlying
structure
when you use an html editing program or a wordprocessor which has the
option
to save as an html file, select "view" or "edit" html source or
similar
option. ] [These tags are used to create basic Web pages without using a Web page composing program like DreamWeaver or Front Page. These tags are the basic, conventional Web page tags.] <html> This tag signifies this is an html document. <head> This tag signifies the beginning of the header information. <title> The Title goes here - it shows at the top of the browser - but not on your Web page.</title> </head> This tag signifies the end of the header information. [Information above the <body> tag does not show on the Web page.] <body> This tag signifies the beginning of the html material. <h1> Your first header or title should go between these symbols. </h1> <p> This tag designates a paragraph.</p> <p> And this is the second paragraph...and so on.</p> </body> This tag signifies the end of the body of the document. </html> This tag signifies the end of the html
document. MORE HTML TAGS (http://mason.gmu.edu/~montecin/htmltags.htm) When you create your web pages using a program such as FrontPage or Dreamweaver or Netscape Composer, you need to upload your files, using a program such as WS-FTP, to your Web (public_html) directory . Use ftp (file
transfer protocol):
© copyright 1996 Virginia Montecino - revised 4/22/03 |