[Javascript] vartxt & quot; HelloWorld! & Quot; document. write (& quot; & lt; p & gt; Big: & quot; + txt. big () + & quot; & lt;/p & gt; & quot;) document. write (& quot; & lt; p & gt; Small: & quot; + tx [javascript] var txt = "Hello World! "Document. write ("
Big: "+ txt. big () +"
") Document. write ("
Small: "+ txt. small () +"
") Document. write ("
Bold: "+ txt. bold () +"
") Document. write ("
Italic: "+ txt. italics () +"
") Document. write ("
Blink: "+ txt. blink () +" (does not work in IE)
") Document. write ("
Fixed: "+ txt. fixed () +"
") Document. write ("
Strike: "+ txt. strike () +"
") Document. write ("
Fontcolor: "+ txt. fontcolor (" Red ") +"
") Document. write ("
Fontsize: "+ txt. fontsize (16) +"
") Document. write ("
Lowercase: "+ txt. toLowerCase () +"
") Document. write ("
Uppercase: "+ txt. toUpperCase () +"
") Document. write ("
Subscript: "+ txt. sub () +"
") Document. write ("
Superscript: "+ txt. sup () +"
") Document. write ("
Link: "+ txt. link (" ../default.htm ") +"
") [Javascript] var str =" Visit Microsoft! "Document. write (str. replace (/Microsoft/," W3School ") [javascript] document. write (Math. abs (7.25) +"
") Document. write (Math. abs (-7.25) document. write (Math. round (0.49) +"
") Document. write (Math. round (-4.40) +"
") Document. write (Math. ceil (5.1) +"
") Document. write (Math. floor (5.1) +"
") Document. write (Math. min (-3,-5) +"
") Document. write (Math. pow (2, 3) +"
") Document. write (Math. sqrt (0.64) +"
") Document. write (" PI: "+ Math. PI );