496
edits
mNo edit summary |
|||
Line 27: | Line 27: | ||
When people go to your website (http://www.redbrick.dcu.ie/~username) the first file they'll see is the index.html, so make sure to call the main page of your website index.html | When people go to your website (http://www.redbrick.dcu.ie/~username) the first file they'll see is the index.html, so make sure to call the main page of your website index.html | ||
== Writing HTML on RedBrick == | |||
If you want to write your pages on RedBrick here's some html code to get your feet off the ground. Just type nano ~/public_html/index.html and insert the following code: | |||
<html> | |||
<head> | |||
<title> Title of page </title> | |||
</head> | |||
<body> The actual webpage goes in here </body> | |||
</html> | |||
The <head> and </head> tags tell the Web browser where the HTML in your document starts and finishes. After the <html> is where all the document's information should go. Between <title> and </title> is where the title of your page should go. This appears in the bar at the top of the browser. After these come the <body> and </body> tags. This is where you put the information you want displayed on the actual webpage itself. | |||
It is important to make sure to close all the tags in the right order. If you open a head tag and then a title tag, you have to close the title tag first, then the head one. | |||
== Install Your Own Blog == | == Install Your Own Blog == | ||
Line 45: | Line 60: | ||
cp ~receive/bin/wordpress-redirect.html ~/public_html/index.html; chmod 644 ~/public_html/index.html | cp ~receive/bin/wordpress-redirect.html ~/public_html/index.html; chmod 644 ~/public_html/index.html | ||
== Further Help == | |||
This is just a basic introduction to get you on your feet and you'll find loads of sites online with further details. If you need a hand, feel free to get in contact with a member of [[Helpdesk]]. | |||
== Links == | |||
[http://www.redbrick.dcu.ie/services/downloads/winscp360.exe WinSCP] - you can download WinSCP from this link. | |||
[http://www.tizag.com] - how to use html, css, php etc. | |||
[http://www. | [http://www.w3schools.com] - more online web tutorials. | ||
[[Category:Helpdesk]] | [[Category:Helpdesk]] |
edits