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> <head> <title>HTML basefont Tag</title> </head> <body> <basefont face = "cursive,serif" color = "blue" size = "5"/> </body> </html>