Differences between revisions 5 and 9 (spanning 4 versions)
Revision 5 as of 2009-06-16 11:47:25
Size: 2063
Editor: 77-56-110-124
Comment:
Revision 9 as of 2018-09-25 10:22:26
Size: 2175
Editor: pmeier
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#rev 2018-09-25 pmeier
Line 2: Line 3:

= Your personal homepage =
You can access your personal EE homepage with a web browser by typing the address `http://people.ee.ethz.ch/~username` where username is the login of your D-ITET account.

In the home directory of your D-ITET account you can find a subdirectory called ~/public_html. Whatever you want to appear on your homepage must be saved in this directory. With the default address `http://people.ee.ethz.ch/~username` the file ~/public_html/index.html is shown by the webserver.

Line 4: Line 12:
= Your personal homepage =

You can access your personal EE homepage with a web browser by typing the address `http://people.ee.ethz.ch/~username` where username is the login of your EE Unix account.

In the home directory of your EE Unix account you can find a subdirectory called ~/public_html. Whatever you want to appear on your homepage must be saved in this directory. The homepage itself is in the file ~/public_html/index.html.
Line 39: Line 42:
----
[[CategoryWEBD]]

Your personal homepage

You can access your personal EE homepage with a web browser by typing the address http://people.ee.ethz.ch/~username where username is the login of your D-ITET account.

In the home directory of your D-ITET account you can find a subdirectory called ~/public_html. Whatever you want to appear on your homepage must be saved in this directory. With the default address http://people.ee.ethz.ch/~username the file ~/public_html/index.html is shown by the webserver.

Create your Page

First you have to put your HTML page into the place where the Web server expects it and where it will be able to access it. Here is a little recipe.

1. If it does not yet exist, create a public_html directory in your home: mkdir ~/public_html

2. Make sure that the directory is accessible to the Web server: chmod a+x ~/. ~/public_html

3. Put your Web page into the public_html subdirectory, with index.html as its name.

4. The default page should be world readable: chmod a+r ~/public_html/index.html

This is it, now you can access your homepage via the URL http://people.ee.ethz.ch/~joe/

HTML

Web pages have to be written in "Hyper Text Markup Language" (HTML). That sounds worse than it is and the links below lead to some introductions to this topic. With the function "View->Page Source" or "View Frame Source" of your Browser you can take a look at the source of the web page you are just looking at.

But be warned: the HTML source of some pages is difficult to read, as it can be created automatically by scripts. The pages of this site for example.

W3Schools - a nice introduction to HTML and other languages

SelfHTML - a very complete HTML/CSS Guide and Reference (in German)

WWW Consortium, this is where the Web-standards are created and documented

W3 Validator - where you can validate your Sorce for correctness


CategoryWEBD

Web/Homepage/Basics (last edited 2020-09-01 09:36:22 by pmeier)