W
William Oertell
Does Java natively support html tags in text fields, or does the programmer
have to specify a string type in order for html tags to be treated as tags
rather than text? I ask this because I support an application at work that
allows me to enter text fields that will appear as modals to our users.
Today I discovered that I can use html tags to format the modal. For
instance I can use "<b>xxxx</b" to bold some text, "<center>xxxx</center>"
to center it, "<br>" for a line break, etc. I'm wondering if the programmer
has to specify some sort of string type in order for html tags to be treated
as tags by Java, instead of plain text. To put it another way, does the
programmer have to do something special for html tags to be treated as tags
by Java during runtime?
have to specify a string type in order for html tags to be treated as tags
rather than text? I ask this because I support an application at work that
allows me to enter text fields that will appear as modals to our users.
Today I discovered that I can use html tags to format the modal. For
instance I can use "<b>xxxx</b" to bold some text, "<center>xxxx</center>"
to center it, "<br>" for a line break, etc. I'm wondering if the programmer
has to specify some sort of string type in order for html tags to be treated
as tags by Java, instead of plain text. To put it another way, does the
programmer have to do something special for html tags to be treated as tags
by Java during runtime?