> > And what the benefit when comparing > Wt::WText(Wt::h1, "Parvinder"); we need to made the another library for h1 to h6. When we put 1 it take automatically h1 tag and when we put 2 it take automatically h2 tag and so on. It is beneficial to those, who don't know about html. :p > with > Wt::WText("<h1>Parvinder</h1>"); > What if you want to render <h1><b><i>Parvidner</h1></b></i> ?
If we want to character bold and italic, It also has own library. According to me why we used html in witty. Because witty says why we learn Ajax, javascript and other language, We can do all the things in c++ without learning ajax and javascript language. -- Parvinder Rajput website:- www.parvinder.co.in ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest