A Site of no Importance or Consequence !

RockyMania



A basic page


Yep, I'll agree that there's plenty of tutorials out there ... ( and a whole lot better than this !) ... but it's my way of putting back what I've taken out ... so please humour me and bear with it !.

O.K., so you want to take the leap and put up a web page. For a newbie one of the easiest ways is to obtain a WYSIWYG editor. Read the editor's Tutorials and the Help section to see how it's done. That's fine to start with, but you might find your page's code gets bloated. (Re: the infamous FrontPage !). Another way is to actually learn the HTML and type in the code yourself into a text editor, similar to Notepad. The browser you use will need to know the language as there are quite a few others.

The basics: Although a title for your page isn't compulsory, I suggest you use the following as the minimum HTML code for a page : ...( by the way, don't be scared by the term "code" )

<html>
<head>
<title></title>
</head>
<body>

</body>
</html>

The two chevrons, < >, also known as the less than and greater than symbols respectively, and the wording between them are called tags.  The wording can also be a single letter.  There is always an opening tag, and with most of them a closing tag ... denoted by the forward slash "/".

If you Save the above code, for eg : test.html, and opened the file from within your browser, the page will display, although as there isn't any content yet it will just be blank.  Congratulations though, you've made your first HTML page :-))


O.K. let's put something onto the page.

Open up test.html and in between the <title> </title> tags type in : My Home Page

<html>
<head>
<title>My Home Page</title>
</head>
<body>

</body>
</html>
Save the file and open it in your browser.
The title is the part right at the top of your broswer ... usually white text on blue background colour ... and still there's blank content !

Open the file again and in between the <body> </body> tags type in : <h1>Hello World!</h1>

<html>
<head>
<title>My Home Page</title>
</head>
<body>

<h1>Hello World!</h1>

</body>
</html>
Save the file and open it in your broswer.

Not all that exciting, maybe, but you're on your way !

How's about, underneath Hello World!, typing in <p> whatever you want to say, type anything, just something to see </p>, Save and Open the file again ?

To see some ways to change the displayed text, look at the HTML tags page.


O.K. you now know the basic HTML code required for your Web page. Use your favourite Search program to find a list of all the HTML tags and whether or not they need a closing tag.
A good place to read up on them is at http://www.w3.org.  It can be heavy reading though !!
A good place to learn is at http://www.w3schools.com. Try the examples, and quizzes.

 




You should only be able to read this if your browser doesn't support CSS.

It's hardly likely that I'll use this Right Column but I'll keep it just in case.