HTML formatting

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
HY

HTML formatting

Post by HY »

Do these forums support HTML formatting? This is a <i>test</i>.
HY

Re: HTML formatting

Post 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 ?
Andreas

Re: HTML formatting

Post 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)\">
Roy Beatty

Re: HTML formatting

Post 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
HY

Re: HTML formatting

Post by HY »

Is there a list of accepted tags somewhere?
Andreas

Re: HTML formatting

Post 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.
HY

Re: HTML formatting

Post 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'>
Andreas

Re: HTML formatting

Post 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)'>
Post Reply