String Handling =============== CSS color text ==> color font size 1) String Formatting methods: ============================= ==> To format the strings, JS can provide built-in methods: 1) bold() ========= ==> define the boldness to the text/string, we can use the "bold()". Syntax: string-object/string-variable/string-data.bold() 2) italics() ============ ==> to apply italic nature to the string/text, we can use "italics()". Syntax: string-object.italics() 3) fontcolor() ============== ==> to define the color to the string, we can use "fontcolor()". Syntax: string-object.fontcolor('color-value') 4) fontsize() ============== ==> used to increase or decrease the font of the given string/text. Syntax: string-object.fontsize('value_integer') 5) toLowerCase() ================ ==> to change the case of the string to lower case, we can use "toLowerCase()". Syntax: string-object.toLowerCase() 6) toUpperCase(): ================= ==> used to change the case of the string to upper case. Syntax: string-object.toUpperCase() Document

User Registration

User Name
Reason: ======== to define the string formatting's in dynamically or in run-time, we can use "string formatting methods" from the JavaScript. ========================================================== Property: ========= length: ======= we can use to find the number of characters of the given string. Syntax: string-object.length Document

User Registration

User Name
=================================================== Document

User Registration

User Name