To represent mathematical expressions, functions, or key formulas cleanly in HTML, standard semantic elements like <code>, <var>, and <sup> or <sub> are used.

Below are 8 key structural examples written in clean, strict HTML:

HTML

<!-- 1. Linear Function -->

<p>

<code><var>f</var>(<var>x</var>) = <var>m</var><var>x</var> + <var>b</var></code>

</p>

<!-- 2. Quadratic Equation (Standard Form) -->

<p>

<code><var>a</var><var>x</var><sup>2</sup> + <var>b</var><var>x</var> + <var>c</var> = 0</code>

</p>

<!-- 3. Pythagorean Theorem -->

<p>

<code><var>a</var><sup>2</sup> + <var>b</var><sup>2</sup> = <var>c</var><sup>2</sup></code>

</p>

<!-- 4. Area of a Circle -->

<p>

<code><var>A</var> = &pi;<var>r</var><sup>2</sup></code>

</p>

<!-- 5. Mass-Energy Equivalence -->

<p>

<code><var>E</var> = <var>m</var><var>c</var><sup>2</sup></code>

</p>

<!-- 6. Logarithmic Identity -->

<p>

<code>log<sub><var>b</var></sub>(<var>x</var>) = <var>y</var></code>

</p>

<!-- 7. Newton's Second Law -->

<p>

<code><var>F</var> = <var>m</var><var>a</var></code>

</p>

<!-- 8. Definition of Slope -->

<p>

<code><var>m</var> = (&Delta;<var>y</var>) / (&Delta;<var>x</var>)</code>

</p>