The inline mode is used to write formulas that are part of the text and the display mode is used to write expressions that are not part of the text and hence are put on different lines. You type LaTeX code it displays the results as a image immediately as you edit. And outermost you use curly braces eg.
The difference is inline mode vs display mode.
If the value of the display attribute is inline the contents will be rendered in inline mode. Jtheta frac12m summ_i1h_thetaxi - yi2. Methods and properties are static. There are a few ways to write Math equations in HTML.