> Wt::WText (1, "Parvinder");
Are you serious?
No, honestly, when you want to help people, who don't know
HTML (Those people shouldn't write websites then anyway),
you should do it like this:
> Wt::WText (WText::h1, ..);
As already proposed by many others. Next thing is, that
you should use a bitfield, so one can OR them together:
> Wt::WText (WText::italic | WText::bold, "Hello");
But your solution for only h-Tags is pretty much useless.
How often do you use headlines compared to underline, bold
or italic? I don't use headlines at all.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to