Exercise 11. <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> </body> </html>

Size: px
Start display at page:

Download "Exercise 11. <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> </body> </html>"

Transcription

1 Exercise 11 The purpose of this exercise is to demonstrate the similarity between different program languages. In this exercise, we will use Javascript to make the same Time Value of Money Solver as in the problem 2) of Exercise 10. Javascript is a program language used by web browsers. With the power of JavaScript, web programmers can transform web pages from simple documents into interactive applications. We need to make a html (HyperText Markup Language) file. HTML is the language used for web pages. Please open Notepad on a Windows computer or TextEdit on a Mac computer, and copy the following code and paste it in your file. <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> </body> </html> Save it as Ex11-Yourlastname.html (for example, Ex11-Wang.html). In Notepad, you need to change the Save as type: to All Files (*.*). On Mac s TextEdit, you need to set the Preferences... Format to Plain text. To display it, just double click the file. It is an empty web page because there is nothing between the <body> </body> tag. Note: Do not use Internet Explorer. This Exercise can be properly displayed in any web browser except Internet Explorer. To choose your browser, right click the file, click Open with, then choose either Google chrome or Firefox. Next, download the picture file blueback.jpg and save it in the same folder as your html file, and add more lines to the html file: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body background=blueback.jpg > <FONT face=arial color=#000080> <h2> Time Value of Money Solver </h2>

2 <p> Please type in the known quantities, leave the quantity to be solved empty, and click Solve button to solve it. Keep in mind that the cash flow in different directions have opposite signs. </p> </body> </html> Save it, and refresh your browser. You then can see the change. The picture blueback.jpg becomes the background of the web page, <FONT face=arial color=#000080> specify the font face and color of the page, <h2> </h2> tag defines a 2nd level heading, and <p> </p> tag defines a paragraph of text. Just like the maplet in problem 2 of Exercise 10, we will make our TVM solver using tables. We first make some small tables, and then use a big table to group small tables together and add some style. The first 2 lines are two tables defined by following red code: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body background=blueback.jpg> <FONT face=arial color=#000080> <h2> Time Value of Money Solver </h2> <td>number of Payments: <td><input style="width:120px"> <td>interest Rate per Year: <td><input style="width:120px"> <td>% <td>present Value: $ <td><input style="width:120px"> <td style="width:5px"> <td>payment: <td style="width:5px"> $ <td><input style="width:120px">

3 <td>future Value: </body> </html> $ <td><input style="width:120px"> Each tag defines a table where each table row is defined by the <tr> tag and each table data/cell is defined by the <td> tag. style option can be used to define styles of the table row or table cell. The <input> tag here is similar to the TextField in a maplet, it defines an input text field (other objects are also defined by <input> tag with different styles). Also an empty table cell with specified width is add to define a white space. Two sliders are contained in the third table. Unlike the Maple, a slider is not a predefined object in HTML. We need to define it first before using it. Add the following red code to your file: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style>.slidecontainer {width: 100%;.slider { -webkit-appearance: width: 100%; height: 5px; border-radius: background: outline: none; opacity: 0.7; 5px; #d3d3d3; -webkit-transition: transition: none;.2s; opacity.2s;.slider:hover { opacity: 1;.slider::-webkit-slider-thumb {

4 -webkit-appearance: none; appearance: none; width: 25px; height: 25px; border-radius: 50%; background: #4CAF50; cursor: pointer;.slider::-moz-range-thumb { width: 25px; height: 25px; border-radius: 50%; background: #4CAF50; cursor: pointer; </style> </head> <body background=blueback.jpg> <FONT face=arial color=#000080> <h2> Time Value of Money Solver </h2> <td>number of Payments: <td><input style="width:120px"> <td>interest Rate per Year: <td><input style="width:120px"> <td>% <td>present Value: $ <td><input style="width:120px"> <td style="width:5px"> <td>payment: $ <td><input style="width:120px"> <td style="width:5px">

5 <td>future Value: $ <td><input style="width:120px"> <tr> <td>number of Payments per Year: <td style="width:40px"> <span style="float:right;color:blue;font-size:15pt;font-weight:bold">1</span> <td style="width:20px"> <td style="width:250px"> <div class="slidecontainer"> <input type="range" min="1" max="12" value="1" class="slider"> </div> <tr style="height:10px"> <tr> <td>number of Compounding per Year: <td style="width:40px"> <span style="float:right;color:blue;font-size:15pt;font-weight:bold">1</span> <td style="width:20px"> <td style="width:250px"> <div class="slidecontainer"> <input type="range" min="1" max="12" value="1" class="slider"> </div> </body> </html>

6 The slider is defined in the <style> </style> tag inside the <head> </head> tag. The new table has 3 rows, the 1st and 3rd are similar, each has 3 cells: a text, a <span> </span> tag containing a number 1, and a slider. The 2nd row is an empty row of height 10px. The last two small stables contain a row of radio buttons and a row of buttons, respectively. <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style>.slidecontainer {width: 100%;.slider { -webkit-appearance: width: 100%; height: 5px; border-radius: background: outline: none; opacity: 0.7; 5px; #d3d3d3; -webkit-transition: transition: none;.2s; opacity.2s;.slider:hover { opacity: 1;.slider::-webkit-slider-thumb { -webkit-appearance: appearance: width: height: 25px; 25px; none; border-radius: 50%; background: cursor: #4CAF50; pointer; none;

7 .slider::-moz-range-thumb { width: 25px; height: 25px; border-radius: 50%; background: #4CAF50; cursor: pointer; </style> </head> <body background=blueback.jpg> <FONT face=arial color=#000080> <h2> Time Value of Money Solver </h2> <td>number of Payments: <td><input style="width:120px"> <td>interest Rate per Year: <td><input style="width:120px"> <td>% <td>present Value: $ <td><input style="width:120px"> <td style="width:5px"> <td>payment: $ <td><input style="width:120px"> <td style="width:5px"> <td>future Value: $ <td><input style="width:120px">

8 <tr> <td>number of Payments per Year: <td style="width:40px"> <span style="float:right;color:blue;font-size:15pt;font-weight:bold">1</span> <td style="width:20px"> <td style="width:250px"> <div class="slidecontainer"> <input type="range" min="1" max="12" value="1" class="slider"> </div> <tr style="height:10px"> <tr> <td>number of Compounding per Year: <td style="width:40px"> <span style="float:right;color:blue;font-size:15pt;font-weight:bold">1</span> <td style="width:20px"> <td style="width:250px"> <div class="slidecontainer"> <input type="range" min="1" max="12" value="1" class="slider"> </div> <td> <label>end-of-period Payments</label> <input type="radio">

9 <td> <label>beginning-of-period Payments</label> <input type="radio"> <td><button style="width:70px" type="button">solve</button> <td><button style="width:70px" type="button">reset</button> <td><button style="width:70px" type="button">closed</button> </body> </html> Finally we use a big table to group all the small tables together and give it a background color. <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style>.slidecontainer {width: 100%;.slider { -webkit-appearance: width: 100%; height: 5px; none;

10 border-radius: 5px; background: #d3d3d3; outline: none; opacity: 0.7; -webkit-transition:.2s; transition: opacity.2s;.slider:hover { opacity: 1;.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 25px; height: 25px; border-radius: 50%; background: #4CAF50; cursor: pointer;.slider::-moz-range-thumb { width: 25px; height: 25px; border-radius: 50%; background: #4CAF50; cursor: pointer; </style> </head> <body background=blueback.jpg> <FONT face=arial color=#000080> <h2> Time Value of Money Solver </h2> <table bgcolor="#f9e79f"><tr><td align="center">

11 <td>number of Payments: <td><input style="width:120px"> <td>interest Rate per Year: <td><input style="width:120px"> <td>% <tr><td align="center"> <td>present Value: $ <td><input style="width:120px"> <td style="width:5px"> <td>payment: $ <td><input style="width:120px"> <td style="width:5px"> <td>future Value: $ <td><input style="width:120px"> <tr><td align="center"> <tr> <td>number of Payments per Year: <td style="width:40px"> <span style="float:right;color:blue;font-size:15pt;font-weight:bold">1</span> <td style="width:20px"> <td style="width:250px"> <div class="slidecontainer"> <input type="range" min="1" max="12" value="1" class="slider">

12 </div> <tr style="height:10px"> <tr> <td>number of Compounding per Year: <td style="width:40px"> <span style="float:right;color:blue;font-size:15pt;font-weight:bold">1</span> <td style="width:20px"> <td style="width:250px"> <div class="slidecontainer"> <input type="range" min="1" max="12" value="1" class="slider"> </div> <tr><td align="center"> <td> <label>end-of-period Payments</label> <input type="radio"> <td> <label>beginning-of-period Payments</label> <input type="radio">

13 <tr><td align="center"> <td><button style="width:70px" type="button">solve</button> <td><button style="width:70px" type="button">reset</button> <td><button style="width:70px" type="button">closed</button> </body> </html> We can also change the default style of the big table and give it a border. To do this, we first define a class named table1 in the <style> </style> tag, then ask the table to use this class. <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style>.slidecontainer {width: 100%;.slider {

14 -webkit-appearance: none; width: 100%; height: 5px; border-radius: 5px; background: #d3d3d3; outline: none; opacity: 0.7; -webkit-transition:.2s; transition: opacity.2s;.slider:hover { opacity: 1;.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 25px; height: 25px; border-radius: 50%; background: #4CAF50; cursor: pointer;.slider::-moz-range-thumb { width: 25px; height: 25px; border-radius: 50%; background: #4CAF50; cursor: pointer; table.table1 {border: </style> </head> 15px outset grey;

15 <body background=blueback.jpg> <FONT face=arial color=#000080> <h2> Time Value of Money Solver </h2> <table class="table1" bgcolor="#f9e79f"><tr><td align="center"> <td>number of Payments: <td><input style="width:120px"> <td>interest Rate per Year: <td><input style="width:120px"> <td>% <tr><td align="center"> <td>present Value: $ <td><input style="width:120px"> <td style="width:5px"> <td>payment: $ <td><input style="width:120px"> <td style="width:5px"> <td>future Value: $ <td><input style="width:120px"> <tr><td align="center"> <tr> <td>number of Payments per Year: <td style="width:40px">

16 <span style="float:right;color:blue;font-size:15pt;font-weight:bold">1</span> <td style="width:20px"> <td style="width:250px"> <div class="slidecontainer"> <input type="range" min="1" max="12" value="1" class="slider"> </div> <tr style="height:10px"> <tr> <td>number of Compounding per Year: <td style="width:40px"> <span style="float:right;color:blue;font-size:15pt;font-weight:bold">1</span> <td style="width:20px"> <td style="width:250px"> <div class="slidecontainer"> <input type="range" min="1" max="12" value="1" class="slider"> </div> <tr><td align="center"> <td> <label>end-of-period Payments</label> <input type="radio">

17 <td> <label>beginning-of-period Payments</label> <input type="radio"> <tr><td align="center"> <td><button style="width:70px" type="button">solve</button> <td><button style="width:70px" type="button">reset</button> <td><button style="width:70px" type="button">closed</button> </body> </html> We now have the skeleton :

18 Next, we need to write some Javascript to do calculations. We first give names to all the dynamic fields, associate the labels of the radio button with the radio button so one can click the label too, give the 1st radio button a default value checked, group 2 radio buttons together with name="eb" so that only one of them can be checked, and add a <script> </script> tag. We will use the same name as in the problem 2 of Exercise 10 for each corresponding field. <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style>.slidecontainer {width: 100%;.slider { -webkit-appearance: width: 100%; height: 5px; border-radius: background: outline: none; 5px; #d3d3d3; none;

19 opacity: 0.7; -webkit-transition:.2s; transition: opacity.2s;.slider:hover { opacity: 1;.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 25px; height: 25px; border-radius: 50%; background: #4CAF50; cursor: pointer;.slider::-moz-range-thumb { width: 25px; height: 25px; border-radius: 50%; background: #4CAF50; cursor: pointer; table.table1 {border: </style> </head> 15px outset grey; <body background=blueback.jpg> <FONT face=arial color=#000080> <h2> Time Value of Money Solver </h2> <table class="table1" bgcolor="#f9e79f"><tr><td align="center">

20 <td>number of Payments: <td><input id="n" style="width:120px"> <td>interest Rate per Year: <td><input id="r" style="width:120px"> <td>% <tr><td align="center"> <td>present Value: $ <td><input id="pv" style="width:120px"> <td style="width:5px"> <td>payment: $ <td><input id="pmt" style="width:120px"> <td style="width:5px"> <td>future Value: $ <td><input id="fv" style="width:120px"> <tr><td align="center"> <tr> <td>number of Payments per Year: <td style="width:40px"> <span style="float:right;color:blue;font-size:15pt;font-weight:bold" id="ppyt" >1</span> <td style="width:20px"> <td style="width:250px"> <div class="slidecontainer"> <input type="range" min="1" max="12" value="1" class="slider" id="ppy" >

21 </div> <tr style="height:10px"> <tr> <td>number of Compounding per Year: <td style="width:40px"> <span style="float:right;color:blue;font-size:15pt;font-weight:bold" id="cpyt" >1</span> <td style="width:20px"> <td style="width:250px"> <div class="slidecontainer"> <input type="range" min="1" max="12" value="1" class="slider" id="cpy" > </div> <tr><td align="center"> <td> <label for="ed" >End-of-Period Payments </label> <input type="radio" id="ed" name="eb" checked > <td> <label for="bg" >Beginning-of-Period Payments</label> <input type="radio" id="bg" name="eb" >

22 <tr><td align="center"> <td><button style="width:70px" type="button">solve</button> <td><button style="width:70px" type="button">reset</button> <td><button style="width:70px" type="button">closed</button> <script> </script> </body> </html> The corresponding term of Maple s procedure in Javascript is function. The functions ppyp, cpyp, and reset are almost identical to the procedures in problem 2 of Exercise 10. To see the similarities, we put them side-by-side. Here is the code for the function ppyp:

23 Javascript function ppyp() { ppyt.innerhtml = ppy.value; cpyt.innerhtml = ppy.value; cpy.value = ppy.value; ; Maple ppyp := proc () local a; a := Maplets:-Tools:-Get(ppy); Maplets:-Tools:-Set( ppyt = a, cpyt = a, cpy = a ) end: We also need to an Place the function ppyp inside the <script> </script> tag. oninput to the slider ppy so that this function will execute whenever ppy s value is changed: <input type="range" min="1" max="12" value="1" class="slider" id="ppy" oninput="ppyp()"> It is a good practice to write one function at one time, test it until it works properly, then write next. So save the file and refresh your browser. Drag the slide ppy to see if the function works properly. Here is the code for the function cpyp Javascript Maple function cpyp() { cpyp := proc () local b; cpyt.innerhtml = cpy.value; b := Maplets:-Tools:-Get(cpy); ; Maplets:-Tools:-Set( cpyt = b ) end: We also need to add an oninput to the slider cpy: <input type="range" min="1" max="12" value="1" class="slider" id="cpy" oninput="cpyp()"> Drag the slider cpy to make sure that the function works properly. Here is the code for function reset. It basically set everything to their default values. Javascript function reset() { n.value = ""; r.value = ""; pv.value = ""; pmt.value = ""; fv.value = ""; ppyt.innerhtml = 1; cpyt.innerhtml = 1; ppy.value = 1; cpy.value = 1; ed.checked = true; ; Maple reset := proc () Maplets:-Tools:-Set( n = "", r = "", pv = "", pmt = "", fv = "", ppyt = 1, cpyt = 1, ppy = 1, cpy = 1, ed = true ) end:

24 Add an onclick to the Reset button and test it. <button style="width:70px" type="button" onclick="reset()">reset</button> The function for calculations is named as TVM. Most parts of the function TVM is adapted from the Maple procedure TVM in problem 2 of Exercise 10 directly. Here is the code. function TVM() { var N = parsefloat(eval(n.value)); var R = parsefloat(eval(r.value)); var PV = parsefloat(eval(pv.value)); var PMT = parsefloat(eval(pmt.value)); var FV = parsefloat(eval(fv.value)); var PpY = parsefloat(ppy.value); var CpY = parsefloat(cpy.value); var s = 1; var y; var z; var v; var u = function (i) { return Math.pow(1+i/(100*CpY),CpY/PpY); ; if (ed.checked == true) { s = 0; ; if (N!== N && R == R && PV == PV && PMT == PMT && FV == FV ) { v = (PMT*((1-s)+s*u(R))/(u(R)-1)-FV)/(PV+PMT*((1-s)+s*u(R))/(u(R)-1)); if (PV*PMT >= 0 && PV*FV >=0 && PMT*FV >=0) { alert("cash flows in different directions need to have opposite signs!"); else if (v <= 0) { alert("check your data!");

25 else { y = Math.log(v)/Math.log(u(R)); n.value = y; else if (N == N && R!== R && PV == PV && PMT == PMT && FV == FV ) { var f = function (x) { return x*(((pmt*s+pv)*(n-1)*x*x+((n-s-2)*pmt-pv)*x-2*pmt) *Math.pow(1+x,N)+(1+x)*((PMT*s-FV)*x+2*PMT))/((N*(PMT*s+PV) *x*x+pmt*(n-1)*x-pmt)*math.pow(1+x,n)+pmt*(1+x)) ; if (PV*PMT >= 0 && PV*FV >=0 && PMT*FV >=0) { alert("cash flows in different directions need to have opposite signs!"); else { var j; z = -(N*PMT+FV+PV)/(N*(PMT*s+PV)); for (j = 0; j < 15; j++) { z = f(z); y = 100*CpY*(Math.pow(1+z,PpY/CpY)-1); r.value = y; else if (N == N && R == R && PV!== PV && PMT == PMT && FV == FV ) { y = -(PMT*(Math.pow(u(R), N)-1)*(1-s+s*u(R))/(u(R)-1)+FV)/Math.pow(u(R), N); pv.value = y; else if (N == N && R == R && PV == PV && PMT!== PMT && FV == FV ) { y = -(FV+PV*Math.pow(u(R), N))*(u(R)-1)/((Math.pow(u(R), N)-1)*(1-s+s*u(R)));

26 pmt.value = y; else if (N == N && R == R && PV == PV && PMT == PMT && FV!== FV ) { y = -PV*Math.pow(u(R), N)-PMT*(Math.pow(u(R), N)-1)*(1-s+s*u(R))/(u(R)-1); fv.value = y; else { alert("which one do you want to solve?"); ; Place it inside the <script> </script> tag, and add an onclick to the Solve button so that the TVM function executes whenever Solve button is clicked. We also add an onclick to Close button so that the Javascript function self.close() executes when the button is clicked. <button style="width:70px" type="button" onclick="tvm()">solve</button> <button style="width:70px" type="button" onclick="self.close()" >Closed</button> To understand the commands, we list side-by-side comparisons of some Javascript commands in the function TVM and corresponding Maple commends in the procedure TVM Javascript var N = parsefloat(eval(n.value)); Maple N := Maplets:-Tools:-Get(n::anything): var s = 1; if (ed.checked == true) {s = 0;; var u = function (i) { return Math.pow(1+i/(100*CpY),CpY/PpY); ; if ED = true then s := 0 else s := 1 fi: u := i ( ) CpY 1 PpY 1 + : 100 CpY

27 if (N!== N && R == R && PV == PV && PMT == PMT && FV == FV ) { else if (N == N && R!== R && PV == PV && PMT == PMT && FV == FV ) { else if (N == N && R == R && PV!== PV && PMT == PMT && FV == FV ) { else if (N == N && R == R && PV == PV && PMT!== PMT && FV == FV ) { else if (N == N && R == R && PV == PV && PMT == PMT && FV!== FV ) { else { alert("which one do you want to solve?"); if type(n, numeric) = false and (type(r, numeric) and type(pv, numeric) and type(pmt, numeric) and type(fv, numeric)) = true then elif type(r, numeric) = false and (type(n, numeric) and type(pv, numeric) and type(pmt, numeric) and type(fv, numeric)) = true then elif type(pv, numeric) = false and (type(n, numeric) and type(r, numeric) and type(pmt, numeric) and type(fv, numeric)) = true then elif type(pmt, numeric) = false and (type(n, numeric) and type(r, numeric) and type(pv, numeric) and type(fv, numeric)) = true then elif type(fv, numeric) = false and (type(n, numeric) and type(r, numeric) and type(pv, numeric) and type(pmt, numeric)) = true then else error "Which one do you want to solve?" fi: Javascrip s eval( ) function returns NaN (not a number) on a non-numerical input. We use this property to determine the variable to be solved because a variable with a value NaN is the only variable in Javascript not equal to itself. So we use variable!== variable to determine if variable = NaN. v = (PMT*((1-s)+s*u(R))/(u(R)-1)-FV)/ (PV+PMT*((1-s)+s*u(R))/(u(R)-1)); v := evalf ( P MT (1 s+s u(r)) F V u(r) 1 P MT (1 s+s u(r)) P V + u(r) 1 ) : The code for solving N:

28 if (PV*PMT >= 0 && PV*FV >=0 && PMT*FV >=0) { alert("cash flows in different directions need to have opposite signs!"); else if (v <= 0) { alert("check your data!"); else { y = Math.log(v)/Math.log(u(R)); n.value = y; The code for solving PV: y = -(PMT*(Math.pow(u(R), N)-1)*(1-s+s*u(R))/(u(R)-1)+FV) /Math.pow(u(R), N); pv.value = y; The code for solving PMT: y = -(FV+PV*Math.pow(u(R), N))*(u(R)-1) /((Math.pow(u(R), N)-1)*(1-s+s*u(R))); pmt.value = y; The code for solving FV: y = -PV*Math.pow(u(R), N) -PMT*(Math.pow(u(R), N)-1) *(1-s+s*u(R))/(u(R)-1); fv.value = y; if PV*PMT 0 and P V F V 0 and P MT F V 0 then error "Cash flows in different directions need to have opposite signs" elif v 0 then error "Check your data" else ( ) y := evalf ln(v) ; ln(u(r)) Maplets:-Tools:-Set(n = y) fi: y := evalf ( ) P MT (u(r) N 1) (1 s+s u(r)) +F V (u(r) 1) : u(r) N Maplets:-Tools:-Set(pv = y): ( y := evalf (F V +P V u(r)n ) (u(r) 1) (u(r) N 1) (1 s+s u(r)) Maplets:-Tools:-Set(pmt = y): ( y := evalf P V u(r) N ) : P MT (u(r)n 1) (1 s+s u(r)) u(r) 1 Maplets:-Tools:-Set(fv = y): ) : The only code completely different from the Maple procedure TVM is the code for solving R. Unlike Maple, Javascript does not have a built-in numerical equation solver like fsolve in Maple. So we have to make one. What we used is the Newton s method with fixed 15 iterations and with initial point to be the linear approximation. In Maple s TVM, we used fsolve to solve P V u(x) N + P MT (u(x)n 1) (1 s + s u(x)) u(x) 1 + F V = 0, for x, where u(x) = ( ) CpY i P py CpY

29 Let u 1 = z and g(z) = P V (z + 1) N + P MT ((z + 1)N 1)(1 s + s(z + 1)) z Then the iteration function for the Newton s method is given by With the help of Maple, we get f(z) = z g(z) g (z) + F V. f(z) = x((z2 (P MT s + P V )(N 1) + ((N s 2)P MT P V )z 2P MT )(1 + z) N + (z(p MT s F V ) + 2P MT )(1 + z) (Nz 2 (P MT s + P V ) + P MT (Nz z 1))(1 + z) N. + P MT (1 + z) Replace (1 + z) N (1 + z) N Nz, N x in the equation g(z) = 0 and solve z, we have an approximated solution which is the initial point of our iteration. The 15 iterations is performed by z N P MT + F V + P V N (P MT s + P V ), for (j = 0; j < 15; j++) {z = f(z); which is equivalent to Maple s code for j from 0 while j<15 do z:=f(z) od: The solution for R is given by y = 100*CpY*(Math.pow(1+z,PpY/CpY)-1); i.e. y = 100CpY ((1 + z) P py CpY 1 ). Please make the following calculations to verify that your program works properly. # of PMTS I PV PMT FV P/Y C/Y E/B Answer 48? E ? B ? 1 1 B ? E ? E

Exercise 10. Starting from this exercise, we will learn how to make a GUI, graphical user interface, in Maple.

Exercise 10. Starting from this exercise, we will learn how to make a GUI, graphical user interface, in Maple. Exercise 10 Starting from this exercise, we will learn how to make a GUI, graphical user interface, in Maple. 1) (50 points) The first GUI we will make is a Mortgage Payment Calculator. Open a new Maple

More information

Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser.

Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser. Controlled Assessment Task Question 1 - Describe how this HTML code produces the form displayed in the browser. The form s code is displayed in the tags; this creates the object which is the visible

More information

Web Development and HTML. Shan-Hung Wu CS, NTHU

Web Development and HTML. Shan-Hung Wu CS, NTHU Web Development and HTML Shan-Hung Wu CS, NTHU Outline How does Internet Work? Web Development HTML Block vs. Inline elements Lists Links and Attributes Tables Forms 2 Outline How does Internet Work? Web

More information

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph. What is HTML? Web Design 101 HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language à A markup language is a set of markup tags The tags describe

More information

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية HTML Mohammed Alhessi M.Sc. Geomatics Engineering Wednesday, February 18, 2015 Eng. Mohammed Alhessi 1 W3Schools Main Reference: http://www.w3schools.com/ 2 What is HTML? HTML is a markup language for

More information

Stamp Builder. Documentation. v1.0.0

Stamp  Builder. Documentation.   v1.0.0 Stamp Email Builder Documentation http://getemailbuilder.com v1.0.0 THANK YOU FOR PURCHASING OUR EMAIL EDITOR! This documentation covers all main features of the STAMP Self-hosted email editor. If you

More information

Lab 1: Introducing HTML5 and CSS3

Lab 1: Introducing HTML5 and CSS3 CS220 Human- Computer Interaction Spring 2015 Lab 1: Introducing HTML5 and CSS3 In this lab we will cover some basic HTML5 and CSS, as well as ways to make your web app look and feel like a native app.

More information

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1 Web Programming and Design MPT Senior Cycle Tutor: Tamara Week 1 What will we cover? HTML - Website Structure and Layout CSS - Website Style JavaScript - Makes our Website Dynamic and Interactive Plan

More information

Student, Perfect CS-081 Final Exam May 21, 2010 Student ID: 9999 Exam ID: 3122 Page 1 of 6 Instructions:

Student, Perfect CS-081 Final Exam May 21, 2010 Student ID: 9999 Exam ID: 3122 Page 1 of 6 Instructions: Student ID: 9999 Exam ID: 3122 Page 1 of 6 Instructions: Use pencil. Answer all questions: there is no penalty for guessing. Unless otherwise directed, circle the letter of the one best answer for multiplechoice

More information

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21 Table of Contents Chapter 1 Getting Started with HTML 5 1 Introduction to HTML 5... 2 New API... 2 New Structure... 3 New Markup Elements and Attributes... 3 New Form Elements and Attributes... 4 Geolocation...

More information

COMP1000 Mid-Session Test 2017s1

COMP1000 Mid-Session Test 2017s1 COMP1000 Mid-Session Test 2017s1 Total Marks: 45 Duration: 55 minutes + 10 min reading time This examination has three parts: Part 1: 15 Multiple Choice Questions (15 marks /45) Part 2: Practical Excel

More information

Purpose of this doc. Most minimal. Start building your own portfolio page!

Purpose of this doc. Most minimal. Start building your own portfolio page! Purpose of this doc There are abundant online web editing tools, such as wordpress, squarespace, etc. This document is not meant to be a web editing tutorial. This simply just shows some minimal knowledge

More information

11. HTML5 and Future Web Application

11. HTML5 and Future Web Application 11. HTML5 and Future Web Application 1. Where to learn? http://www.w3schools.com/html/html5_intro.asp 2. Where to start: http://www.w3schools.com/html/html_intro.asp 3. easy to start with an example code

More information

Friday, January 18, 13. : Now & in the Future

Friday, January 18, 13. : Now & in the Future : Now & in the Future CSS3 is Modular Can we use it now? * Use it for non-critical things on the experience layer. * Check sites that maintain tables showing browser support like http://www.findmebyip.com/litmus

More information

A340 Laboratory Session #5

A340 Laboratory Session #5 A340 Laboratory Session #5 LAB GOALS Creating multiplication table using JavaScript Creating Random numbers using the Math object Using your text editor (Notepad++ / TextWrangler) create a web page similar

More information

Programmazione Web a.a. 2017/2018 HTML5

Programmazione Web a.a. 2017/2018 HTML5 Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text

More information

IBM Bluemix Node-RED Watson Starter

IBM Bluemix Node-RED Watson Starter IBM Bluemix Node-RED Watson Starter Cognitive Solutions Application Development IBM Global Business Partners Duration: 45 minutes Updated: Feb 14, 2018 Klaus-Peter Schlotter kps@de.ibm.com Version 1 Overview

More information

Webinar. The Lighthouse Studio Scripting Series. JavaScript Sawtooth Software, Inc.

Webinar. The Lighthouse Studio Scripting Series. JavaScript Sawtooth Software, Inc. The Lighthouse Studio Scripting Series JavaScript 2 HTML 3 CSS 4 JavaScript 5 jquery (enhanced JavaScript) 6 Perl 7 HTML (Hyper Text Markup Language) 8 HTML 9 What is HTML? HTML is the language for creating

More information

AP CS P. Unit 2. Introduction to HTML and CSS

AP CS P. Unit 2. Introduction to HTML and CSS AP CS P. Unit 2. Introduction to HTML and CSS HTML (Hyper-Text Markup Language) uses a special set of instructions to define the structure and layout of a web document and specify how the document should

More information

Tutorial 5 Working with Tables and Columns. HTML and CSS 6 TH EDITION

Tutorial 5 Working with Tables and Columns. HTML and CSS 6 TH EDITION Tutorial 5 Working with Tables and Columns HTML and CSS 6 TH EDITION Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple rows and columns

More information

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space. HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information

More information

Creating Web Pages Using HTML

Creating Web Pages Using HTML Creating Web Pages Using HTML HTML Commands Commands are called tags Each tag is surrounded by Some tags need ending tags containing / Tags are not case sensitive, but for future compatibility, use

More information

Web Designing HTML5 NOTES

Web Designing HTML5 NOTES Web Designing HTML5 NOTES HTML Introduction What is HTML? HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text Markup Language HTML describes the structure of Web pages

More information

Taking Fireworks Template and Applying it to Dreamweaver

Taking Fireworks Template and Applying it to Dreamweaver Taking Fireworks Template and Applying it to Dreamweaver Part 1: Define a New Site in Dreamweaver The first step to creating a site in Dreamweaver CS4 is to Define a New Site. The object is to recreate

More information

PIC 40A. Midterm 1 Review

PIC 40A. Midterm 1 Review PIC 40A Midterm 1 Review XHTML and HTML5 Know the structure of an XHTML/HTML5 document (head, body) and what goes in each section. Understand meta tags and be able to give an example of a meta tags. Know

More information

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1 CREATING A WEBSITE USING CSS Mrs. Procopio CTEC6 MYP1 HTML VS. CSS HTML Hypertext Markup Language CSS Cascading Style Sheet HTML VS. CSS HTML is used to define the structure and content of a webpage. CSS

More information

Selected Sections of Applied Informatics

Selected Sections of Applied Informatics Selected Sections of Applied Informatics M.Sc. Marcin Koniak koniakm@wt.pw.edu.pl http://www2.wt.pw.edu.pl/~a.czerepicki Based on lecture: Dr inż. Andrzej Czerepicki a.czerepicki@wt.pw.edu.pl 2018 HTML

More information

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1 59313ftoc.qxd:WroxPro 3/22/08 2:31 PM Page xi Introduction xxiii Chapter 1: Creating Structured Documents 1 A Web of Structured Documents 1 Introducing XHTML 2 Core Elements and Attributes 9 The

More information

NAVIGATION INSTRUCTIONS

NAVIGATION INSTRUCTIONS CLASS :: 13 12.01 2014 NAVIGATION INSTRUCTIONS SIMPLE CSS MENU W/ HOVER EFFECTS :: The Nav Element :: Styling the Nav :: UL, LI, and Anchor Elements :: Styling the UL and LI Elements CSS DROP-DOWN MENU

More information

HTML and CSS a further introduction

HTML and CSS a further introduction HTML and CSS a further introduction By now you should be familiar with HTML and CSS and what they are, HTML dictates the structure of a page, CSS dictates how it looks. This tutorial will teach you a few

More information

COMS 359: Interactive Media

COMS 359: Interactive Media COMS 359: Interactive Media Agenda Project #3 Review Forms (con t) CGI Validation Design Preview Project #3 report Who is your client? What is the project? Project Three action= http://...cgi method=

More information

Designing with CSS3 Effectively & Efficiently. October 2010 Adobe MAX Zoe Mickley

Designing with CSS3 Effectively & Efficiently. October 2010 Adobe MAX Zoe Mickley Designing with CSS3 Effectively & Efficiently October 2010 Adobe MAX Zoe Mickley Gillenwater @zomigi 1 What I do out now out Dec 10 Books Web Flexible Web Design: Creating Liquid and Elastic Layouts with

More information

UX/UI Controller Component

UX/UI Controller Component http://www.egovframe.go.kr/wiki/doku.php?id=egovframework:mrte:ux_ui:ux_ui_controller_component_3.5 UX/UI Controller Component Outline egovframework offers the user an experience to enjoy one of the most

More information

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS LESSON 1 GETTING STARTED Before We Get Started; Pre requisites; The Notepad++ Text Editor; Download Chrome, Firefox, Opera, & Safari Browsers; The

More information

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148 Index Numbers & Symbols (angle brackets), in HTML, 47 : (colon), in CSS, 96 {} (curly brackets), in CSS, 75, 96. (dot), in CSS, 89, 102 # (hash mark), in CSS, 87 88, 99 % (percent) font size, in CSS,

More information

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Web Programming and Design MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Plan for the next 5 weeks: Introduction to HTML tags Recap on HTML and creating our template file Introduction

More information

Creating Dashboards and Components

Creating Dashboards and Components Creating Dashboards and Components ** The Guide shows SupportDesk with 2018 Styling in place. Dashboard Forms provide the functionality for you to alter landing screen for SupportDesk users, whether Service

More information

Lab 8 CSE 3,Fall 2017

Lab 8 CSE 3,Fall 2017 Lab 8 CSE 3,Fall 2017 In this lab we are going to take what we have learned about both HTML and JavaScript and use it to create an attractive interactive page. Today we will create a web page that lets

More information

Positioning in CSS: There are 5 different ways we can set our position:

Positioning in CSS: There are 5 different ways we can set our position: Positioning in CSS: So you know now how to change the color and style of the elements on your webpage but how do we get them exactly where we want them to be placed? There are 5 different ways we can set

More information

Building Page Layouts

Building Page Layouts Building Page Layouts HTML & CSS From Scratch Slides 3.1 Topics Display Box Model Box Aesthetics Float Positioning Element Display working example at: h9ps://;nker.io/3a2bf Source: unknown. Please contact

More information

Introduction to Computer Science Web Development

Introduction to Computer Science Web Development Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 14 Lecture outline Discuss HW Intro to Responsive Design Media Queries Responsive Layout

More information

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX KillTest Q&A Exam : 9A0-803 Title : Certified Dreamweaver 8 Developer Exam Version : DEMO 1 / 7 1. What area, in the Insert bar, is intended for customizing and organizing frequently used objects? A. Layout

More information

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 2. W3Schools has a lovely html tutorial here (it s worth the time): http://www.w3schools.com/html/default.asp

More information

Deccansoft Software Services

Deccansoft Software Services Deccansoft Software Services (A Microsoft Learning Partner) HTML and CSS COURSE SYLLABUS Module 1: Web Programming Introduction In this module you will learn basic introduction to web development. Module

More information

LESSON 3. Coding Tables Continued

LESSON 3. Coding Tables Continued LESSON 3 Coding Tables Continued Lesson Learning Targets I can create a Web page table that displays text and / or images. I can create a Web page table that serves as a menu bar. Creating the Secondary

More information

LING 408/508: Programming for Linguists. Lecture 13 October 14 th

LING 408/508: Programming for Linguists. Lecture 13 October 14 th LING 408/508: Programming for Linguists Lecture 13 October 14 th Administrivia Homework 5 graded Homework 5 review Javascript: Forms An SVG-based library: BMI revisited (Next Qme, Javascript regular expressions)

More information

The Structure of the Web. Jim and Matthew

The Structure of the Web. Jim and Matthew The Structure of the Web Jim and Matthew Workshop Structure 1. 2. 3. 4. 5. 6. 7. What is a browser? HTML CSS Javascript LUNCH Clients and Servers (creating a live website) Build your Own Website Workshop

More information

OU EDUCATE TRAINING MANUAL

OU EDUCATE TRAINING MANUAL OU EDUCATE TRAINING MANUAL OmniUpdate Web Content Management System El Camino College Staff Development 310-660-3868 Course Topics: Section 1: OU Educate Overview and Login Section 2: The OmniUpdate Interface

More information

Website Development with HTML5, CSS and Bootstrap

Website Development with HTML5, CSS and Bootstrap Contact Us 978.250.4983 Website Development with HTML5, CSS and Bootstrap Duration: 28 hours Prerequisites: Basic personal computer skills and basic Internet knowledge. Course Description: This hands on

More information

Web Designing Course

Web Designing Course Web Designing Course Course Summary: HTML, CSS, JavaScript, jquery, Bootstrap, GIMP Tool Course Duration: Approx. 30 hrs. Pre-requisites: Familiarity with any of the coding languages like C/C++, Java etc.

More information

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML specifies formatting within a page using tags in its

More information

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors.

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors. HTML HTML/XHTML HyperText Mark-up Language Basic language for WWW documents Format a web page s look, position graphics and multimedia elements Describe document structure and formatting Platform independent:

More information

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week WEB DESIGNING HTML HTML - Introduction HTML - Elements HTML - Tags HTML - Text HTML - Formatting HTML - Pre HTML - Attributes HTML - Font HTML - Text Links HTML - Comments HTML - Lists HTML - Images HTML

More information

HTML5. clicktag implementation

HTML5. clicktag implementation HTML5 clicktag implementation Date: 18 02-2016 Version: 2.0 Summary Introduction... 3 Google Web Designer... 4 Adobe Edge... 5 Swiffy... 7.swf file with clicktag... 8 Case 1: clicktag explicit... 8 Case

More information

Building My Pizza PDF Form

Building My Pizza PDF Form Building My Pizza PDF Form Howard Strauss OIT Princeton University Copyright Howard Strauss 2003.This work is the intellectual property of Howard Strauss. Permission is granted for this material to be

More information

Web Programming Week 2 Semester Byron Fisher 2018

Web Programming Week 2 Semester Byron Fisher 2018 Web Programming Week 2 Semester 1-2018 Byron Fisher 2018 INTRODUCTION Welcome to Week 2! In the next 60 minutes you will be learning about basic Web Programming with a view to creating your own ecommerce

More information

SOEN287: Web Programming

SOEN287: Web Programming Concordia University Department of Computer Science and Software Engineering SOEN287: Web Programming Summer 2016 Programming assignment #1 Deadline: Friday, July, 22, 2016 @ 23:55 Late submission: Type

More information

HTML Forms. 10 September, Dr Derek Peacock. This is a short introduction into creating simple HTML forms. Most of the content is

HTML Forms. 10 September, Dr Derek Peacock. This is a short introduction into creating simple HTML forms. Most of the content is This is a short introduction into creating simple HTML forms. Most of the content is based on HTML, with a few HTML5 additions. 1 Forms should be given a Name and an ID to make it easier to code their

More information

Basic CSS Lecture 17

Basic CSS Lecture 17 Basic CSS Lecture 17 Robb T. Koether Hampden-Sydney College Wed, Feb 21, 2018 Robb T. Koether (Hampden-Sydney College) Basic CSSLecture 17 Wed, Feb 21, 2018 1 / 22 1 CSS 2 Background Styles 3 Text Styles

More information

The Importance of the CSS Box Model

The Importance of the CSS Box Model The Importance of the CSS Box Model Block Element, Border, Padding and Margin Margin is on the outside of block elements and padding is on the inside. Use margin to separate the block from things outside

More information

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5 Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5 NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives

More information

CSC 121 Computers and Scientific Thinking

CSC 121 Computers and Scientific Thinking CSC 121 Computers and Scientific Thinking Fall 2005 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language

More information

Designing the Home Page and Creating Additional Pages

Designing the Home Page and Creating Additional Pages Designing the Home Page and Creating Additional Pages Creating a Webpage Template In Notepad++, create a basic HTML webpage with html documentation, head, title, and body starting and ending tags. From

More information

Responsive Web Design and Bootstrap MIS Konstantin Bauman. Department of MIS Fox School of Business Temple University

Responsive Web Design and Bootstrap MIS Konstantin Bauman. Department of MIS Fox School of Business Temple University Responsive Web Design and Bootstrap MIS 2402 Konstantin Bauman Department of MIS Fox School of Business Temple University Exam 3 (FINAL) Date: 12/06/18 four weeks from now! JavaScript, jquery, Bootstrap,

More information

Styles, Style Sheets, the Box Model and Liquid Layout

Styles, Style Sheets, the Box Model and Liquid Layout Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of

More information

Advanced Table Styles

Advanced Table Styles Advanced Table Styles Scott DeLoach scott@clickstart.net ClickStart www.clickstart.net In this session, I will describe advanced techniques for formatting tables. Creating a table Select Insert > Table.

More information

Table Basics. The structure of an table

Table Basics. The structure of an table TABLE -FRAMESET Table Basics A table is a grid of rows and columns that intersect to form cells. Two different types of cells exist: Table cell that contains data, is created with the A cell that

More information

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson reserved. 0-13-185603-0 HTML HELLO WORLD! Document

More information

Cascading style sheets, HTML, DOM and Javascript

Cascading style sheets, HTML, DOM and Javascript CSS Dynamic HTML Cascading style sheets, HTML, DOM and Javascript DHTML Collection of technologies forming dynamic clients HTML (content content) DOM (data structure) JavaScript (behaviour) Cascading Style

More information

Chapter 11: Going All Out with FrontPage

Chapter 11: Going All Out with FrontPage Chapter 11: Going All Out with FrontPage Creating a Product Page Easy Web Design project, Chapter 11 Most store sites need at least one product page. On the Notebooks Web site, the Products page is divided

More information

Web Programming HTML CSS JavaScript Step by step Exercises Hans-Petter Halvorsen

Web Programming HTML CSS JavaScript Step by step Exercises Hans-Petter Halvorsen https://www.halvorsen.blog Web Programming HTML CSS JavaScript Step by step Exercises Hans-Petter Halvorsen History of the Web Internet (1960s) World Wide Web - WWW (1991) First Web Browser - Netscape,

More information

READSPEAKER ENTERPRISE HIGHLIGHTING 2.5

READSPEAKER ENTERPRISE HIGHLIGHTING 2.5 READSPEAKER ENTERPRISE HIGHLIGHTING 2.5 Advanced Skinning Guide Introduction The graphical user interface of ReadSpeaker Enterprise Highlighting is built with standard web technologies, Hypertext Markup

More information

Website Design (Weekday) By Alabian Solutions Ltd , 2016

Website Design (Weekday) By Alabian Solutions Ltd ,  2016 Website Design (Weekday) By Alabian Solutions Ltd 08034265103, info@alabiansolutions.com www.alabiansolutions.com 2016 TECHNOLOGIES DATE TIME Day 1 HTML Part 1 Intro to the web The web Clients Servers

More information

Certified HTML5 Developer VS-1029

Certified HTML5 Developer VS-1029 VS-1029 Certified HTML5 Developer Certification Code VS-1029 HTML5 Developer Certification enables candidates to develop websites and web based applications which are having an increased demand in the

More information

LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI

LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI LAB MANUAL SUBJECT: WEB TECHNOLOGY CLASS : T.E (COMPUTER) SEMESTER: VI INDEX No. Title Pag e No. 1 Implements Basic HTML Tags 3 2 Implementation Of Table Tag 4 3 Implementation Of FRAMES 5 4 Design A FORM

More information

Front-End UI: Bootstrap

Front-End UI: Bootstrap Responsive Web Design BootStrap Front-End UI: Bootstrap Responsive Design and Grid System Imran Ihsan Assistant Professor, Department of Computer Science Air University, Islamabad, Pakistan www.imranihsan.com

More information

Lab Introduction to Cascading Style Sheets

Lab Introduction to Cascading Style Sheets Lab Introduction to Cascading Style Sheets For this laboratory you will need a basic text editor and a browser. In the labs, winedt or Notepad++ is recommended along with Firefox/Chrome For this activity,

More information

HTML & CSS. Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review

HTML & CSS. Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review HTML & CSS Lesson 1: HTML Basics Lesson 2: Adding Tables Lesson 3: Intro to CSS Lesson 4: CSS in more detail Lesson 5: Review Lesson 1: HTML Basics 1. Write main tile HTML & CSS 2. Write today s date Match

More information

CSS: Responsive Design, CSS3 and Fallbacks

CSS: Responsive Design, CSS3 and Fallbacks CSS: Responsive Design, CSS3 and Fallbacks CISC 282 October 4, 2017 What is a Mobile Browser? Browser designed for a not-desktop display Phones/PDAs, tablets, anything handheld Challenges and constraints

More information

Teach Yourself HTML5 & CSS 3: Week 5 Task 13 - Anchors Part 3

Teach Yourself HTML5 & CSS 3: Week 5 Task 13 - Anchors Part 3 http://www.gerrykruyer.com Teach Yourself HTML5 & CSS 3: Week 5 Task 13 - Anchors Part 3 In this task you will continue working on the website you have been working on for the last two weeks. This week

More information

Rich Text Editor Quick Reference

Rich Text Editor Quick Reference Rich Text Editor Quick Reference Introduction Using the rich text editor is similar to using a word processing application such as Microsoft Word. After data is typed into the editing area it can be formatted

More information

Hyper Text Markup Language HTML: A Tutorial

Hyper Text Markup Language HTML: A Tutorial Hyper Text Markup Language HTML: A Tutorial Ahmed Othman Eltahawey December 21, 2016 The World Wide Web (WWW) is an information space where documents and other web resources are located. Web is identified

More information

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Instructions to use the laboratory computers (room B2): 1. If the computer is off, start it with Windows (all computers have a Linux-Windows

More information

CIS 228 (Spring, 2012) Final, 5/17/12

CIS 228 (Spring, 2012) Final, 5/17/12 CIS 228 (Spring, 2012) Final, 5/17/12 Name (sign) Name (print) email I would prefer to fail than to receive a grade of or lower for this class. Question 1 2 3 4 5 6 7 8 9 A B C D E TOTAL Score CIS 228,

More information

Hyperlinks, Tables, Forms and Frameworks

Hyperlinks, Tables, Forms and Frameworks Hyperlinks, Tables, Forms and Frameworks Web Authoring and Design Benjamin Kenwright Outline Review Previous Material HTML Tables, Forms and Frameworks Summary Review/Discussion Email? Did everyone get

More information

How to lay out a web page with CSS

How to lay out a web page with CSS How to lay out a web page with CSS You can use table design features in Adobe Dreamweaver CS3 to create a simple page layout. However, a more powerful technique is to use Cascading Style Sheets (CSS).

More information

Custom Tables with the LandXML Report Extension David Zavislan, P.E.

Custom Tables with the LandXML Report Extension David Zavislan, P.E. December 2-5, 2003 MGM Grand Hotel Las Vegas Custom Tables with the LandXML Report Extension David Zavislan, P.E. CV41-2 Learn some basic concepts of LandXML and the extensible Stylesheet Language (XSL)

More information

Creating HTML files using Notepad

Creating HTML files using Notepad Reference Materials 3.1 Creating HTML files using Notepad Inside notepad, select the file menu, and then Save As. This will allow you to set the file name, as well as the type of file. Next, select the

More information

A Balanced Introduction to Computer Science, 3/E

A Balanced Introduction to Computer Science, 3/E A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 2 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is

More information

ORB Education Quality Teaching Resources

ORB Education Quality Teaching Resources These basic resources aim to keep things simple and avoid HTML and CSS completely, whilst helping familiarise students with what can be a daunting interface. The final websites will not demonstrate best

More information

HTML 1. Peter Cho 161A

HTML 1. Peter Cho 161A HTML 1 Peter Cho 161A Notes from Jennifer Niederst: Web Design in a Nutshell and Stefan Muenz: SelfHTML, http://en.selfhtml.org Based on a tutorial by Prof. Daniel Sauter HTML Hypertext Markup Language

More information

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4 Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML 4.01 Version: 4.01 Transitional Hypertext Markup Language is the coding behind web publishing. In this tutorial, basic knowledge of HTML will be covered

More information

Questback Essentials. Theme Manager Custom CSS. Updated on November 1, 2017

Questback Essentials. Theme Manager Custom CSS. Updated on November 1, 2017 Questback Essentials Theme Manager Custom CSS Updated on November 1, 2017 Contents Theme Manager Custom CSS... 2 Stylesheet structure... 2 HTML markup... 2 Theme Manager... 3 CSS reference... 4 Quest theme...

More information

Client-Side Web Technologies. CSS Part I

Client-Side Web Technologies. CSS Part I Client-Side Web Technologies CSS Part I Topics Style declarations Style sources Selectors Selector specificity The cascade and inheritance Values and units CSS Cascading Style Sheets CSS specifies the

More information

A website is a way to present your content to the world, using HTML to present that content and make it look good

A website is a way to present your content to the world, using HTML to present that content and make it look good What is a website? A website is a way to present your content to the world, using HTML to present that content and make it look good HTML: What is it? HTML stands for Hyper Text Markup Language An HTML

More information

Building Responsive Layouts

Building Responsive Layouts Building Responsive Layouts by Zoe Mickley Gillenwater @zomigi zomigi.com December 5, 2012 CSS Dev Conf hello nice to meet you 2 I don t use a mobile phone I have a process for eating these why responsive

More information

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018)

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018) COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2018) RAMANA ISUKAPALLI RAMANA@CS.COLUMBIA.EDU 1 LECTURE-1 Course overview See http://www.cs.columbia.edu/~ramana Overview of HTML Formatting, headings,

More information

ITEC447 Web Projects CHAPTER 9 FORMS 1

ITEC447 Web Projects CHAPTER 9 FORMS 1 ITEC447 Web Projects CHAPTER 9 FORMS 1 Getting Interactive with Forms The last few years have seen the emergence of the interactive web or Web 2.0, as people like to call it. The interactive web is an

More information

Motivation (WWW) Markup Languages (defined). 7/15/2012. CISC1600-SummerII2012-Raphael-lec2 1. Agenda

Motivation (WWW) Markup Languages (defined). 7/15/2012. CISC1600-SummerII2012-Raphael-lec2 1. Agenda CISC 1600 Introduction to Multi-media Computing Agenda Email Address: Course Page: Class Hours: Summer Session II 2012 Instructor : J. Raphael raphael@sci.brooklyn.cuny.edu http://www.sci.brooklyn.cuny.edu/~raphael/cisc1600.html

More information

1 Font embedding in HTML page output

1 Font embedding in HTML page output Tetrasoft Brussels, January 19 th 2016 112, Sleeckx Avenue B-1030 Brussels Tel: 00 32 2 215 41 04 Dear Leaflet user, Leaflet 11.0.19 is the current version of Leaflet XI. Next to numerous miscellaneous

More information