simple text formatting, like line breaks for Textbox('text'), Radio(''text',[' b1','b2']),...

42 views
Skip to first unread message

arthur sherman

unread,
Apr 22, 2015, 6:18:28 AM4/22/15
to we...@googlegroups.com
i often have lengthy  text descriptions for form elements like textbox, textarea, radio,...
how do i specifythings like  line breaks, bold, italics,... within the text string.
i tried \n,<br\>,  which have no special effect.

i have an existing python program which i need to 'webify'.
works fine from cli but i need to make it available to users via a web interface.
(this is my 1st attempt at web programming. fortunately, i found web.py at the beginning.)
tnx
ams

nauj p. s.

unread,
Dec 4, 2017, 1:30:41 PM12/4/17
to web.py
Hello arthur.

    in html you specify line breaks with <br>, for bold and Italics, either you use CSS, or the <font .....> markup.
hope this helps you.

bye
nauj

Andrzej Trzaska

unread,
Dec 24, 2017, 8:48:12 PM12/24/17
to web.py

Andrzej Trzaska

unread,
Jan 1, 2018, 8:44:05 PM1/1/18
to web.py


W dniu środa, 22 kwietnia 2015 12:18:28 UTC+2 użytkownik arthur sherman napisał:
Reply all
Reply to author
Forward
0 new messages