Question:
(a) Define four special target names use with the TARGET attribute.
(b) Assume that you have a document with many subsections. Write the HTML code to create a frame with a table of contents on the left side of the window (left.html) and have each entry in the table of contents, using internal linking, to scroll down the document frame on the right of the window (right.html) to the appropriate subsection.
Note: You are required to create the files: frame.html, left.html and right.html.
(c) Write a JavaScript program to prompt the user for the radius of a sphere and call function sphereVolume to calculate and display the volume of the sphere in the status bar. Use the formula:
Volume=( 4.0 / 3.0 ) * Math.PI * Math.pow(radius, 3)
to calculate the volume. The user should input the radius through a text field and press the button "Compute" to initiate the calculation.