- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTask18.html
More file actions
Latest commit
21 lines (21 loc) · 917 Bytes
/
Copy pathTask18.html
File metadata and controls
21 lines (21 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!-- Learning String Formatting Tricks-->
<body>
<scriptlang="JavaScript">
<!--
varmyVariable="TubeLight"
document.write("Learning Formatting Text".big()+"<br>")
document.write(myVariable.big())
document.write('<br> .blink() \n'+myVariable.blink())
document.write('<br> .bold()\n'+myVariable.bold())
document.write('<br> .fixed() \n'+myVariable.fixed())
document.write('<br> .fontcolor() \n'+myVariable.fontcolor('Sky blue'))
document.write('<br> .fontsize() \n'+myVariable.fontsize('10'))
document.write('<br> .italics() \n'+myVariable.italics())
document.write('<br> .small() \n'+myVariable.small())
document.write('<br> .strike() \n'+myVariable.strike())
document.write('<br> .sub() \n'+myVariable.sub())
document.write('<br> .toLowerCase() \n'+myVariable.toLowerCase())
document.write('<br> .toUpperCase() \n'+myVariable.toUpperCase())
// -->
</script>
</body>