MyInternships.in

HTML5 MathML

HTML5 MathML largeop Attribute

The largeop attribute on the <mo> element controls whether an operator is drawn large in display style. Integral, summation and product signs are typical large operators.


Definition and Usage

When largeop is true, an operator is enlarged in block (display) math so it dominates the expression, matching how integrals and sums look in printed mathematics. In inline math it stays at normal size.

Syntax

Marking a large operator
Example
<mo largeop="true">&#8747;</mo>

Example

This renders a definite integral where the integral sign is a large operator with limits.

A definite integral
Example
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>MathML largeop attribute</title>
</head>
<body>
  <math display="block">
    <mrow>
      <msubsup>
        <mo largeop="true">&#8747;</mo>
        <mn>0</mn>
        <mn>1</mn>
      </msubsup>
      <msup><mi>x</mi><mn>2</mn></msup>
      <mi>d</mi><mi>x</mi>
    </mrow>
  </math>
</body>
</html>
ℹ️

largeop is part of MathML Core. Pair it with movablelimits to control whether the limits sit beside or above/below the operator.

Key Takeaways

  • largeop enlarges an operator in display style.
  • It is used for integrals, sums and products.
  • Combine with movablelimits to position limits.

Related HTML Topics

Keep learning with these closely related tutorials.

Ready to use your HTML skills?

Find web development internships and fresher jobs across India.

Browse Web Dev Internships