HTML/CSS Using MATHML in HTML: Answers for Novice Web Builders

  • Thread starter Thread starter neurocomp2003
  • Start date Start date
  • Tags Tags
    Html
AI Thread Summary
MathML is an XML-based language primarily used for displaying mathematical notations on the web, but it requires integration into an XML page rather than a standard HTML page. To do this, the HTML document must be modified to include an XML header and ensure all elements have closing tags. Users may need to install browser plugins like MathPlayer to view MathML content correctly. Alternatives for displaying mathematical equations include converting them into images, using simpler coding methods like EzMath (which requires a Netscape plugin), or employing standard HTML techniques such as tables for layout. It's important to note that Internet Explorer has limitations with certain symbols unless specific fonts are installed. LaTeX is also suggested as a more efficient option for typing mathematical expressions, allowing users to export equations as images for web use.
neurocomp2003
Messages
1,359
Reaction score
4
hey, novice building a science website...
is mathml the only web language?

If so how do you integrate it into html? is there an external program i need to use it? Or should it be defaulted into the IE/moz browers. I've seen the MATHML website that dduardo linked to but maybe its late, i found how to script MATHML but i can't seem to find how to integrate it into the text of a html file OR if you can..

thanks in advance.
neurocomp2003
 
Technology news on Phys.org
MathML is an XML based language, and so needs to be part of an xml page rather than an html page. Usually this means just modifying your html page to give it an xml header and making sure all elements have closing tags.

Also, anyone reading your website will probably need to have installed a plugin such as MathPlayer for their browsers to be able to display MathML.
 
As for alternative ways of showing mathematical equations, most websites convert them into images for display.

I did come across EzMath, which gives a simpler way of coding expressions. Again this needs a plugin for the browser, and unfortunately this is a 'Netscape' plugin and doesn't seem to work with Internet Explorer.

You can also try to use standard HTML, using tables and the like to get symbols in the right place. See the text accompaning my Coupled Pendulums applet for an example of this.

I would also point out that Internet Explorer doesn't display all of the symbols you are likely to require, although it can be made to. For instance after much trial and error I found it would display \nabla or \in if I had the MS Mincho font installed, while to display \notin (which you would think would be the same as \in ), I had to set the font in the html code to 'Lucida sans Unicode'. See how they come out on your system \nabla=∇,\in= ∈, \notin=∉ ,\notin=∉ (with font set in html)
 
you could use LaTeX and take the resulting PDF and export it to a GIF and insert those to the page. LaTeX is much faster to type out that mathML.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...

Similar threads

Replies
2
Views
1K
Replies
3
Views
2K
Replies
3
Views
2K
Replies
1
Views
2K
Replies
12
Views
2K
Replies
2
Views
2K
Replies
2
Views
5K
Replies
4
Views
6K
Back
Top