New Perspectives on HTML and CSS Edition 6 Tutorial 9 Case Problem 3 Math High

$ 20

New Perspectives on HTML and CSS Edition 6 Tutorial 9 Case Problem 3 Math High

Math High Professor Laureen Cole of Coastal University, owner of the Web site Math High, has been studying the XML vocabulary MathML and how it can be used to display mathematical equations and information. She’s asked you to create an XHTML document that contains elements from both XHTML and MathML. A preview of the page that you’ll create is shown in Fig 9-31.

Complete the following:
1. Use your text editor to open the quadtxt.xhtml file from the tutorial.09\case3 folder included with your Data Files. Enter your name and the date in the comment section of the file. Save the file as quad.xhtml in the same folder.
2. Add an XML prolog at the top of the document.
3. Within the html element, insert two namespace declarations: one for the XHTML namespace and the other for the MathML namespace (http://www.w3.org/1998/Math/MathML). Make XHTML the default namespace for the document and make MathML a local with the prefix m.
4. Scroll down the document to the paragraph element with the id eq1. Within this paragraph, copy and paste the MathML element from the mathml.txt file for the first equation.
5. Repeat Step 4 for the paragraphs with ids from eq2 through eq4.
6. For each MathML element, and the MathML namespace prefix m to indicate that these elements are part of the MathML vocabulary.
7. Close the file, saving your changes.
8. Open the quad.xhtml file in a browser that provide built-in support for MathML. At the time of this writing, that includes the FireFox and Opera browsers. Verify that your page resembles that shown in Figure 9-31.
9. Submit your completed files to your instructor, in either printed or electronic form, as requested.

86 in stock

SKU: HTML6TUT9CASE3 Category:

Description

New Perspectives on HTML and CSS Edition 6 Tutorial 9 Case Problem 3 Math High

Math High Professor Laureen Cole of Coastal University, owner of the Web site Math High, has been studying the XML vocabulary MathML and how it can be used to display mathematical equations and information. She’s asked you to create an XHTML document that contains elements from both XHTML and MathML. A preview of the page that you’ll create is shown in Fig 9-31.

Complete the following:
1. Use your text editor to open the quadtxt.xhtml file from the tutorial.09\case3 folder included with your Data Files. Enter your name and the date in the comment section of the file. Save the file as quad.xhtml in the same folder.
2. Add an XML prolog at the top of the document.
3. Within the html element, insert two namespace declarations: one for the XHTML namespace and the other for the MathML namespace (http://www.w3.org/1998/Math/MathML). Make XHTML the default namespace for the document and make MathML a local with the prefix m.
4. Scroll down the document to the paragraph element with the id eq1. Within this paragraph, copy and paste the MathML element from the mathml.txt file for the first equation.
5. Repeat Step 4 for the paragraphs with ids from eq2 through eq4.
6. For each MathML element, and the MathML namespace prefix m to indicate that these elements are part of the MathML vocabulary.
7. Close the file, saving your changes.
8. Open the quad.xhtml file in a browser that provide built-in support for MathML. At the time of this writing, that includes the FireFox and Opera browsers. Verify that your page resembles that shown in Figure 9-31.
9. Submit your completed files to your instructor, in either printed or electronic form, as requested.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.