# How to add a base font in a HTML page?

HTMLJavascriptProgramming Scripts

To add a base font for the document, use the <basefont> tag. This base font is applied to complete the document.

Note  − The tag is depreciated now. Use CSS font to set font properties instead.

## Example

You can try to run the following code to add a base font in an HTML page

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