ID:163303
 
Does the text message output in pure text mode clients like the one for linux, support HTML for message output, like this? If so, to what extent is HTML supported?

usr << "<font color = red>Test.</font>"
If you're talking about things like telnet programs, then I believe it does - although it has been known to cause weird offset issues with line wraps... I don't know to what extent it is supposed through. I think just color changes.
Color, background color and if you're lucky maybe a link or two.

Also, your code is incorrect: it should be <font color="red">Test.</font>.

-- Data
In response to Android Data
Android Data wrote:
Also, your code is incorrect: it should be <font color = "red">Test.</font>.

-- Data


So is your's, it should be <font color="red">Test.</font>.
In response to Nadrew
Nadrew wrote:
So is your's, it should be <font color="red">Test.</font>.

1) It's "yours", not "your's".
2) I was basing it off of his example. " = " does less harm than not putting strings in quotation marks.

-- Data
In response to Android Data
Android Data wrote:
Nadrew wrote:
So is your's, it should be <font color="red">Test.</font>.

1) It's "yours", not "your's".

Whoops, I was typing the sentence in a different format and decided to change it =P.


2) I was basing it off of his example. " = " does less harm than not putting strings in quotation marks.


Not quite, leaving the quotation marks off won't cause it not to render in any browser, all that'll do is make it not conform totally with standards. Whereas the spaces in the font tag can cause it to fail in various 'low end' browsers. They're both equally annoying though =P.
In response to Nadrew
Nadrew wrote:
Not quite, leaving the quotation marks off won't cause it not to render in any browser, all that'll do is make it not conform totally with standards. Whereas the spaces in the font tag can cause it to fail in various 'low end' browsers. They're both equally annoying though =P.

OK, my rebuttal is that you lied from the beginning, and I never made no mistake. =P

-- Data
Linux DS does get colours, but they're different to the ones you'd get in a Windows DS window, I believe.