How do I create HTML Pages?

Coach

CoachAlex1996
Hello Everyone,
I am creating a fully interactive passenger and freight railway on an fictional island. It will have many sessions and instructions to keep you right and make you have a load of fun!

There is a problem though. To make instructions for a route I need to put them on a HTML Page am I right?

I have no idea in the slightest in how to create HTML pages.

Would someone please reply to me telling me how to make HTML pages right from scratch?

Thank You very much for your time,

Alex :)
 
Be aware that the HTML code that works in Trainz is a VERY VERY small subset of the HTML code that most people would place into a web page to viewed on a normal web browser.
 
There is a tutorial on how to create an HTML page for Trainz at http://members.westnet.com.au/nightcrawler/trainz/index.htm

Bob

I couldn't find it - the tutorial.

Edit: Found it. I'd get rid of that Click Me gizmo if I were you. Nobody has a clue what they're clicking so they won't click it. I took the risk because I knew where to find you if something went wrong.

I also think the HTML in your home page may not like Firefox or visa versa.

Alex, I may be able to help you with a free program, but I'm not sure the code it produces will work with Trainz after reading what pware has to say. I could send a sample page for you to try however. The program is dead easy to use.

John
 
Last edited:
... but I'm not sure the code it produces will work with Trainz after reading what pware has to say.
John

I just opened and had a look at one of the HTML pages I created for a Trainz 2006 layout (it has been a while since I created .html files for a trainz session). A very brief extract is shown below.
----------------------------------------
<html>
<body>

<font color="#000000" size="8"><b>The SAR - A Very Brief Background</b></font><br><br>

<img src="images/SAR map25.jpg" width="445" height="382"><br>

</body>
</html>
-----------------------------------------

Note that the depreciated <font> tag is used to control text colour and size, <br> tags, not <p> tags, are used for paragraphs and line breaks. Table tags (not shown in the example above) do work but anchor <a href=...> tags do not - links are made by a complicated set of place holders. In addition images must be JPEGs, not GIFs or PNGs.

There are probably others who could give you more detailed information (and point out errors in the above explanation).

Peter Ware
 
Yay, that's pretty basic HTML, but something someone can't learn in a week.

Thanks Pware for digging it out and supplying it.

The problem with most WYSIWYG web design programs that are easy to use, they produce very complex HTML working on XY coordinates. My little program may be no good, but Kompozer (free) should do it. Dreamweaver uses <p></p> but I usually strip them out. I'm a believer in <br>. Much easier to control.

I can generate some code for someone to try but I wouldn't hold my breath. Can you tell me where I can easily get a page, or could you send one to me to emulate? Just PM me and I'll send you my email address.

If it works, the program is there for anyone who wants it. I have the developer's permission to distribute it.

Ta.
 
Thank You all for your help. It is making sense now.
However regarding the tutorial I have renamed my intro.txt file to intro.html and the icon has not changed. How do I get it to change?
Thanks,
Alex
 
Coach, I can't answer your question, but Pware and I are testing an HTML program for you. If it works,it will make life much easier. I'm waiting to hear from Pware, but being a weekend he probably has other priorities.

Continue playing with Notepad, but it's better if you have a program that actually shows you what you're doing.
 
The problem is when I rename it to intro.html it remains a .txt file.
If I knew hoe to change it to a html file it might work.
 
Thank You all for your help. It is making sense now.
However regarding the tutorial I have renamed my intro.txt file to intro.html and the icon has not changed. How do I get it to change?
Thanks,
Alex

I don't know what Operating system you are on, but make sure it is not now intro.html.txt (Only will happen in Windows Vista (?) and 7) You can see if this has happened by right clicking>Properties>Details and it will say it next to "name". If this has happened load it up in notepad>file>save As> change the drop down box from .txt to "all files" and enter the name to save the file as "intro.html"

EDIT: You posted above while I was typing what could of happened!!

Regards,
Phil
 
Coach, I can't answer your question, but Pware and I are testing an HTML program for you. If it works,it will make life much easier. I'm waiting to hear from Pware, but being a weekend he probably has other priorities.

John, I emailed you some sample files on Friday night.

Peter Ware
 
I am using Windows Vista.
I am saving it intro.html as all files however it still is a .txt file for some reason.
 
John, I emailed you some sample files on Friday night.

Peter Ware

Hi Peter,

I did a test immediately and sent it to your pond address about 12-30am. (Four hours later) Have you looked in your spam folder? I'll send them again, but can't promise that will work either.

John
 
Hey, this is pretty basic stuff! You should have learned this on the first day of computer class.

Open the file in Notepad

Select Save As from the file Menu. (Not Save)

(Follow the next bit very carefully:

Click Save as type: in the Save Window

(Click the little arrow at the right of the field) V

Select All files (*.*)

Re enter your file name with the following extension: myfile.html (Myfile being the name of your file) in the Save: field above the Save as type field.

Click Save

============ as Phil suggests.

Reminder: Dont use Save from the file menu, use Save As

Good luck.

John
 
Last edited:
I was a bit tired when I wrote the above post. It's been changed. If you don't see:

Reminder: Dont use Save from the file menu, use Save As

above good luck, you're reading an old copy.
 
Last edited:
Back
Top