Differences between revisions 4 and 11 (spanning 7 versions)
Revision 4 as of 2009-06-08 12:50:15
Size: 2021
Editor: tardis-c08
Comment:
Revision 11 as of 2020-09-01 09:36:22
Size: 2247
Editor: pmeier
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#rev 2020-09-01 pmeier
## page was renamed from Homepage/Basics

= Your personal homepage =
You can access your personal EE homepage with a web browser by typing the address `https://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 `https://people.ee.ethz.ch/~username` the file ~/public_html/index.html is shown by the webserver.

Line 3: 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 11: Line 15:
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. 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:
Line 21: Line 25:
This is it, now you can access your homepage via the URL http://people.ee.ethz.ch/~joe/ This is it, now you can access your homepage via the URL https://people.ee.ethz.ch/~username/
Line 31: Line 35:
[[http://www.w3schools.com/html/default.asp|W3Schools - a nice introduction to HTML and other languages]] [[http://www.w3schools.com/html/default.asp|W3Schools - a nice introduction to HTML and other languages|target="_blank"]]
Line 33: Line 37:
[[http://de.selfhtml.org/|SelfHTML - a very complete HTML/CSS Guide and Reference (in German)]] [[http://de.selfhtml.org/|SelfHTML - a very complete HTML/CSS Guide and Reference (in German)|target="_blank"]]
Line 35: Line 39:
[[http://www.w3.org/|WWW Consortium, this is where the Web-standards are created and documented]] [[http://www.w3.org/|WWW Consortium, this is where the Web-standards are created and documented|target="_blank"]]
Line 37: Line 41:
[[http://validator.w3.org/|W3 Validator - where you can validate your Sorce for correctness]] [[http://validator.w3.org/|W3 Validator - where you can validate your Sorce for correctness|target="_blank"]]
----
[[CategoryWEBD]]

Your personal homepage

You can access your personal EE homepage with a web browser by typing the address https://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 https://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 https://people.ee.ethz.ch/~username/

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)