devxlogo

December 17, 2008

Changing the Style of a String in JavaScript

JavaScript’s String object provides functions that display style of the text: big() blink() bold() fixed() fontsize(&ltsize&gt): This function takes a parameter to specify the font-size in pixels. fontcolor(““): This function

Encode and Decode URLs Using UTF-8

This tip shows you how to encode and decode your URLs using the UTF-8 character encoding: import java.net.*;public class URL_Encoder_Decoder{ public static void main(String[] args){ String url = “@sir de