# How do we do variable formatting using the <var> tag in HTML?

HTMLWeb DevelopmentFront End Technology

The HTML <var> tag is to format text in a document. It can include a variable in a mathematical expression.

## Example

You can try to run the following code to do variable formatting using the <var> tag in HTML:

Live Demo

<!DOCTYPE html>
<html>
</html>