Is it possible to use any fraction symbol on a website, represented as ¼ rather than 1/4 for example?
From what I\'ve gathered, these are the only
There are several possibilities:
2/4. Probably messes up your line spacing, and does not look particularly good."frac" feature. Rather limited support in browsers and especially in fonts.\(\frac{2}{4}\) or some more elaborated TeX code to produce a different style for fraction.These are explained more and illustrated in my page “Math in HTML (and CSS)”, section Fractions.
The choice thus depends on many factors. It also depends on the font quite a lot. I suggest that you test the different options using the font family declaration you intend to use. Despite the many alternatives, you might end up with using just the simple linear notation like 2/4.