Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

How to self_define a message using html?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see "disable HTML in this message" box down
but it seems does not take effect as I type:
<div>
<table>
<tr>
<td>html?</td>
</tr>
</table>
</div>

anyone who can tell me what's wrong ?
thanks!
[originally posted on jforum.net by SAlong]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Test:
<div>
<table>
<tr>
<td>

html?

</td>
</tr>
</table>
</div>

<head><title>sdfsdf</title></head>
</body>
</html>

I think there are list of allowed tags.
[originally posted on jforum.net by VVD]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no...I don't think there's a allowed tag list.
<table>
<htnl>
<head>
<title>
<tr>
<td>
I have tried all these above, which seem to be the most commonly used tags, no excuse to abandon them.
[originally posted on jforum.net by SAlong]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can see the difference when you go back and "edit" your message.

<strong> strong </strong> (Disable HTML = keeps the "<>" as a single characters)

<strong> strong </strong> (Disable HTML uncheck = converts the tags to extended representation: & quot ; & lt ; & gt ;& quot ; rather than single character - separated so the chars won't be acted on)

Apparently it doesn't have a bearing on whether the HTML tags are acted upon, only but they are handled when stored in the database.
[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

<strong> strong </strong> (Disable HTML = keeps the "<>" as a single characters)

<strong> strong </strong> (Disable HTML uncheck = converts the tags to extended representation to & quot ; & lt ; & gt ;& quot ; rather than single character - separated so the chars won't be acted on)


then...there is no way to keep a html file in our message ?
[originally posted on jforum.net by SAlong]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

SAlong wrote:

<strong> strong </strong> (Disable HTML = keeps the "<>" as a single characters)

<strong> strong </strong> (Disable HTML uncheck = converts the tags to extended representation to & quot ; & lt ; & gt ;& quot ; rather than single character - separated so the chars won't be acted on)


then...there is no way to keep a html file in our message ?



Are you trying to use HTML to control the display of your message, or just want to paste in HTML for some other reason (i.e. to distribute code)?

You could also just attach an HTML file, rather than trying to post the HTML contents of it in a message.

[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

SAlong wrote:no...I don't think there's a allowed tag list.
<table>
<htnl>
<head>
<title>
<tr>
<td>
I have tried all these above, which seem to be the most commonly used tags, no excuse to abandon them.


I don't know this list, but I think it exist.
And tags in my post isn't list of allowed tags - it's simple test for showing work of and

tags and not work other.
[originally posted on jforum.net by VVD]

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can set the allowed html tags in the Admin Console ... the default "list" is:
u, a, img, i, u, li, ul, font, br, p, b

underline
italics
bold
Bigger font (font tag works!)

Paragraph one of stuff. l kajd f;kajd kjd ;jd ;fkjad kaj fd ;akjd ;kaj ;ad ;akd f;adkj akdj akdj ;akdj ;akjd ;akd akjd ;a d;ad ;a

Paragraph two of stuff. l kajd f;kajd kjd ;jd ;fkjad kaj fd ;akjd ;kaj ;ad ;akd f;adkj akdj akdj ;akdj ;akjd ;akd akjd ;a d;ad ;a

(Looks paragraph tags work just fine too)

  • List item 1

  • List item 2


So, if you want to allow any other HTML tags to be used, you would need to add them in the Admin Console.


[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've tried to add a tag in Admin Console.
like marquee, not work~~~
<marquee>asdasd</marquee>
[originally posted on jforum.net by afra]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

afra wrote:I've tried to add a tag in Admin Console.
like marquee, not work~~~
<marquee>asdasd</marquee>


I would guess that not EVERY html tag is supported. And the <marquee> tag was originally an IE extension (which not every browser supported).
[originally posted on jforum.net by GatorBait3]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!