Use js to format string examples to imitate css
<! Doctype html public "-// W3C // dtd html 4.0 Transitional // EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <meta name = "Generator "CONTENT =" EditPlus "> <meta name =" Author "CONTENT =" frog prince "> <meta name =" Keywords "CONTENT =" frog pond "> <meta name =" description "CONTENT =" "> <script language =" JavaScript "> var page =" "page + =" onlytiancai ". fontcolor ('red') + "use color" page + = "onlytiancai ". bold () + "bold" page + = "onlytiancai ". link ("http://blog.csdn.net/onlytiancai/") + "add link" page + = "onlytiancai ". anchor ("guagua") + "sets an anchor point" page + = "onlytiancai ". big () + "slightly larger" page + = "onlytiancai ". small () + "slightly smaller" page + = "onlytiancai ". fontsize (5) + "Set Font size" page + = "onlytiancai ". italics () + "italic" page + = "onlytiancai ". strike () + "strike" page + = ("onlytiancai ". strike ()). bold ()). fontsize (5) + "Compound Effect" document. write (page) SCRIPT </HEAD> <BODY> </HTML>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]