Page 1 of 1

HTML formatting

Posted: Wed Apr 25, 2001 7:11 am
by HY
Do these forums support HTML formatting? This is a <i>test</i>.

Re: HTML formatting

Posted: Wed Apr 25, 2001 7:15 am
by HY
OK, so it seems they do. Then why didn't it work here: http://www.textpad.com/forum/read.php?f=1&i=1208&t=1208 ?

Re: HTML formatting

Posted: Wed Apr 25, 2001 10:26 am
by Andreas
Because only some HTML tags get interpreted, not all.
<img src=\"http://www.andreas-waechter.de/Bilder/Waechter.png\" alt=\"town guardian (my surname translated to English is guardian)\">

Re: HTML formatting

Posted: Wed Apr 25, 2001 12:54 pm
by Roy Beatty
At http://www.phorum.org I tried to find a user guide or information on which tags are supported in Phorum forums, but I left empty handed. If anyone has better luck or just happens to know, then please post here what tags are supported.

Thanks,

Roy

Re: HTML formatting

Posted: Wed Apr 25, 2001 12:54 pm
by HY
Is there a list of accepted tags somewhere?

Re: HTML formatting

Posted: Thu Apr 26, 2001 8:52 am
by Andreas
Just try and err - these are also changing. Not too long ago, the image worked, but now it seems every quote gets a backslash before it so any thing that needs quoted values won't work.

Re: HTML formatting

Posted: Thu Apr 26, 2001 8:58 am
by HY
I believe that the SRC attribute does just fine without the quotes. Have you tried with simple quotes for the ALT text? Let's see:<br><img src=http://babelserver.com/gfx/babel_spl.gif alt='This is just a test'>

Re: HTML formatting

Posted: Thu Apr 26, 2001 9:36 am
by Andreas
Maybe browsers can use it without the quotes, but strings containing a / have to be quoted to be proper HTML.
See http://www.w3.org/TR/REC-html40/intro/s ... ml#h-3.2.2
where it says:
<i>
In certain cases, authors may specify the value of an attribute <b>without any quotation marks</b>. The attribute value <b style='color:red;'>may only contain letters (a-z and A-Z), digits (0-9), hyphens (ASCII decimal 45), periods (ASCII decimal 46), underscores (ASCII decimal 95), and colons (ASCII decimal 58).</b> <b style='color:green'>We recommend using quotation marks even when it is possible to eliminate them</b>.
</i>
But you are right about the single quotes, I will try them for the src attribute.
I use double quotes all the time so I tend to forget about the single quotes.

Just a test:
<img src='http://www.andreas-waechter.de/Bilder/Waechter.png' alt='twn guardian (which is the translation of my surname Waechter)'>