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.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

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