On 16.11.2011 6:43, PARVINDER RAJPUT wrote:
>> 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.
>
>
Could we have WHeader -class for implementing different header tags?

How about using basic text / font modifications using WText::bold(String 
text) WText::italic(String text) ?

On the other hand, we should use CSS for creating styles anyway as it is 
a good web-programming practice.

- Juha Simola

------------------------------------------------------------------------------
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

Reply via email to