Code and Output for var:

Code:

    <!DOCTYPE html>
    <html>
    <head>
      <title>HTML Example</title>
    </head>
    <body>
    <h1>The var element</h1>
    <p>The area of a triangle is: 1/2 x 
        <var>b</var> x <var>h</var>, where
         <var>b</var> is the base, and 
         <var>h</var> is the vertical height.
    </p>
    </body>
    </html>
  

Output:

The var element

The area of a triangle is: 1/2 x b x h, where b is the base, and h is the vertical height.