String in italics : String « Data Type « JavaScript DHTML






String in italics

  
    
<html>
<body>
<button onclick="var myS = new String('Sample String'); 
                 document.write('regular string'+myS.italics());">String: ITALICS</button>
</body>
</html>

    
      
        
    
  








Related examples in the same category

1.Get char at
2.String big
3.String blink
4.Make string bold
5.Create anchor from a string
6.Get char Code
7.Concat String
8.String escape
9.Escape double quote
10.Including a special character in a string
11.String font Color
12.String font Size()
13.String index Of
14.Combine indexOf and substring methods to get the anchor part of a url
15.Search the string and counts the number of e's
16.String from Char Code
17.String last Index Of
18.String length
19.Compare string in locale format
20.Make String link
21.Match string
22.String replace
23.Slice a string
24.Get small String
25.Split a string
26.Return strike String
27.String sub() Example
28.Get sub string (substr())
29.Use substring method to get the sub string
30.Get super script (sup)
31.Get Locale Lower Case string (toLocaleLowerCase)
32.Get Locale Upper Case string (toLocaleUpperCase)
33.Get Lower case String (toLowerCase)
34.Get Upper Case string (toUpperCase)
35.'unescape()' Example
36.Check the first letter of a name
37.Use String.indexOf method to validate an email address
38.Validate a time value input with string.indexOf method
39.Return string value from a function
40.Tab string character
41.Adding trim function to String
42.Double quote string character
43.Single quote string character
44.Back slash string character
45.Backspace string character
46.Capitalize Words
47.Count Words