HOME BACK NEXT MENU

 Tag Description:

-==--==--==--==--==-

<MATH> Mathematics

Definition: Use the <MATH> element to include math expressions in the current line. HTML math is suitable for rendering to speech, and also has enough power to describe the range of math expressions that can be created in common word processing packages. Simple text graphics can be used to depict math graphics such as the integration sign, while other symbols may be rendered with their entity names.

Standard Attributes: CLASS, ID, LANG

Attributes:

CLASS

Aside from its standard definition, with the MATH element you can use CLASS to describe what kind of math expression is involved. This can then be used to support export of the expression to symbolic math software, and can also alter the way formulae are rendered. You can use the class "chem" for chemical formulae which use an upright variable font instead of the default italic font, for example.

BOX

<BOX> makes the user agent draw a rectangular box around the formulae.

Context: <MATH> is legal within

<A>, <ABBREV>, <ACRONYM>, <ADDRESS>, <AU>, <B>, <BANNER>, <BIG>, <BODY>, <BODYTEXT>, <CAPTION>, <CITE>, <CODE>, <CREDIT>, <DD>, <DEL>, <DFN>, <DIV>, <DT>, <EM>, <FIGTEXT>, <FN>, <FORM>, <H1>, <H2>, <H3>, <H4>, <H5>, <H6>, <I>, <INS>, <KBD>, <LANG>, <LH>, <LI>, <NOTE>, <P>, <PERSON>, <Q>, <S>, <SAMP>, <SMALL>, <STRONG>, <SUB>, <SUP>, <TD>, <TH>, <TT>, <U>, <VAR>

The following markup can be used within <MATH>

<ABOVE>, <ARRAY>, <B>, <BAR>, <BELOW>, <BOX>, <BT>, <DDOT>, <DOT>, <HAT>, <ROOT>, <SQRT>, <SUB>, <SUP>, <T>, <TILDE>, <VEC>

Suggested style/usage: Close Tag: REQUIRED

Examples: <MATH>&int;_a_^b^{f(x)<OVER>1+x} dx</MATH>

-==--==--==--==--==-
HOME BACK NEXT MENU

E-Mail: HTML for Dummies at html4dum@lanw.com
URL: http://www.lanw.com/html4dum/h4d2e/t0053.htm
Text - Copyright © 1995, 1996 Ed Tittel & Steve James.
For Dummies, the Dummies Man logo and Dummies Press are trademarks or registered trademarks of Wiley Publishing, Inc. Used with Permission.
Web Layout - Copyright © 1996, LANWrights
Revised -- May, 2002 [MCB]