ABC locomotive 123 456 with a local train, leaving station Anyplace for Somewhere Else. Photo by J. Random User (user@host.domain.net)It is generally not necessary to insert HTML formatting tags, but read on if you are interested in more details.
However, the script that generates the HTML pages for the European Railways Picture Gallery (the pages "pix.html") automatically inserts <P> and <BR> tags at certain places in the .txt file, e.g. before strings like "Photo by" or "Scan:". This means that for simple text explanations without any particular fomatting, you don't need to bother with HTML tags at all.
For example, this is the result that is generated from the sample .txt file given above:
ABC locomotive 123 456 with a local train, leaving station Anyplace for Somewhere Else.If you want line breaks at arbitrary places in the .txt file, you must insert appropriate formatting tags yourself. See below for an example.Photo by J. Random User (user@host.domain.net)
This means that you can also put links in the .txt files which will then appear in the respective pix.html page(s). Links must look either like this:
<A HREF=target.document> Some text </A>or (better) like this:
<A HREF="target.document"> Some text </A>- but never use just one of the quotation marks (") and leave out the other!
Please also make sure that you have properly paired opening and closing tags, e.g. <EM> ... </EM>.
Never use the following tags:
<HTML> </HTML> <HEAD> </HEAD> <BODY> </BODY>- this also means that .txt files cannot be valid self-contained HTML documents (which they aren't supposed to be).
See below for an
example.
Société Nationale des Chemins de Fer Français (SNCF) <BR> Electric locomotive class 15000 <BR> Current system: 25 kV AC, 50 Hz <P> Unit BB-15036 of the SNCF, hauling a Eurocity train to Zürich near Ribeauvillé Photo: J. Random User (user@host.domain.net) Scan: S. Friendly (friendly@host.domain.net)This is the result like it appears in the final HTML page:
Société Nationale des Chemins de Fer Français (SNCF)
Electric locomotive class 15000
Current system: 25 kV AC, 50 HzUnit BB-15036 of the SNCF, hauling a Eurocity train to Zürich near Ribeauvillé
Photo: J. Random User (user@host.domain.net)
Scan: S. Friendly (friendly@host.domain.net)
So for your purposes our rule about the file names of picture and accompanying
text files translates to: include a plain text file with the same file name
as the JPEG or GIF file it refers to.