Jump to content

Equations in HTML

Featured Replies

Does anybody know how to write equations in HTML? I've tried looking at the source of sites that do that, but for me, Notebook shuts down after about 1', and all of the sites that do that have really long and complicated scripts, like this site.

 

I read on some other sites that there's a way to put forms of TeX in HTML, this would probably be the easiest, then I don't have to learn a completely different language.

 

I find it rather strange that HTML has to resort into other languages to create equations when HTML was invented by CERN.

HTML is a firstly a structural markup language, and a typographic markup language second. About the only math markup it can handle are characters with ASCII representations, superscript, and subscript.

  • Author

So how can you write equations without having to use an image?

<SUB ></SUB > and <SUP ></SUP > thats about it without a dynamically created image.

I was wondering about those fancy formulas you see in the chemistry form... like H<sub>2</sub>O

 

...obviously that doesn't work because html is turned off. So how do they do it?

H2O

 

Ahh, vb code. you can get a list of the tags by clicking where it says "vb code is on" or whatever.

  • Author

Thank you.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.