HTML in Talk and Profiles

TalkGreyHead's frequently answered questions

This group has been archived. Find out more.

Join LibraryThing to post.

HTML in Talk and Profiles

1GreyHead
Edited: Feb 10, 2007, 11:26 am

Important: Please close all html tags before the end of your message - unclosed tags carry on to the following messages. If you don't know what I mean by 'closing html tags' then please don't use them. Note added at sunny's request.
I ran a quick test to see which html tags seem to be supported.
In TalkThere's a pretty wide range including
  • <h1> <h2> . . .
  • <p>
  • <br />
  • <hr />
  • <i> and <em>
  • <b> and <strong>
  • <code> and <pre>
  • <ol> and <ul> (Note 1)
  • <img> and <a> (Note 2)
  • <blockquote>
  • <div> and <span>
  • most (all?) html entities (Note 3)
In Your ProfileThe list is much shorter.
  • <i>
  • <code><bold> and <strong>
  • <img> and <a>
CSSCSS appears to be well supported and you can add style attributes to most tags. But because the <p>, <span> and <div> tags aren't supported in Your Profile you are limited to what you can achieve there.
Notes:
  1. The default is no bullet, so you need to add one with css e.g. <ul style="list-style-type:square; list-style-position:inside;">
  2. You must use double quotes " " round attribute values, single quotes do not work
  3. But notice that HTML entities are not preserved through editing so keep a back up copy of your text if you use them and expect to re-edit the message
  4. All new lines can create new paragraphs so spacing is a bit tricky, best write with the minimum of extra breaks.
PS: updated 7 Oct 2006 : corrected entry on Your Profile and fixed broken tags (in order to show tags they have to be entered in part as entities like &lt;p> but these aren't preserved and have to be fixed up every time you edit the message!

PPS: Sunny and I established that the tag closing behaviour differs between IE & FireFox - no surprise there then ;-(

2GreyHead
Feb 20, 2007, 5:56 am

Keywords: greyhead html entities profile bold italic talk post thread
To link to this GFAQ copy and paste this code
<a href="/talktopic.php?topic=7541">see this GFAQ</a>

PS: this is posted in a second message because putting all the entities back in the previous one takes too long :-)