Algerian Font For Android

This HTML tutorial explains how to use the HTML element called the <font> tag with syntax and examples.

Description

The HTML <font> tag defines the font size, color and face of text in the HTML document. Since this tag was removed in HTML5, it is recommended that you use CSS properties such as font, font-family, font-size and color to format the text in the document. This tag is also commonly referred to as the <font> element.

Apr 27, 2021 Cloud fonts are fonts hosted in the cloud by Microsoft Office, and are available in the latest versions of Office applications (see the Cloud fonts availability table, below). Once downloaded, the font is available for use in all Office apps. Documents that you create using cloud fonts will render the same when opened in the Office apps listed. Oct 23, 2019 Android offers plenty of options to customize the appearance of your device, including your font style. If you want to change your Android font, you can use built-in settings to do it or use a custom launcher. Due to the fragmented nature of Android, changing your fonts on different Android manufacturers and versions will vary. A mobile app license permits the embedding of a font into the iOS or Android mobile platforms for a set number of titles and an unlimited number of installations. A license for a single title can be used to create both an iOS and Android version of an app. Learn more about licenses for mobile apps.

WARNING: The <font> tag has been removed in HTML5. Use CSS such as font, font-family, font-size and color to format the text in the document.

Syntax

In HTML, the syntax for the <font> tag is: (example that formats the text as red, uses to the font-family Verdana, Geneva, sans-serif and has a relative size of +1)

Phone

Sample Output

Attributes

In addition to the Global Attributes, the following is a list of attributes that are specific to the <font> tag:

AttributeDescriptionHTML Compatibility
colorColor of text in either hexadecimal (ie: #RRGGBB format) or named color (ie: black, red, white)HTML 4.01
faceFont to use for text. Listed as one or more font names (comma separated)HTML 4.01
sizeFont size expressed as either a numeric or relative value.
Numeric values range from 1 to 7 (1 is the smallest, 7 is the largest, 3 is the default).
Relative values can be values such as +1 or -2, increasing by one font size or decreasing by 2 font sizes, respectively.
HTML 4.01

Note

  • The HTML <font> element is found within the <body> tag.
  • The <font> tag is obsolete in HTML5. Use CSS instead to format the text. The CSS equivalents would be color, font, font-family, font-size, etc.

Browser Compatibility

The <font> tag has basic support with the following browsers:

  • Chrome
  • Android
  • Firefox (Gecko)
  • Firefox Mobile (Gecko)
  • Internet Explorer (IE)
  • Edge Mobile
  • Opera
  • Opera Mobile
  • Safari (WebKit)
  • Safari Mobile

Example

We will discuss the <font> tag below, exploring examples of how to use the <font> tag in HTML5, HTML 4.01 Transitional, XHTML 1.0 Transitional, XHTML 1.0 Strict, and XHTML 1.1.

  • HTML5
  • HTML4
  • XHTML

HTML5 Document

You can not use the <font> tag in HTML5. Instead, use CSS properties such as font, font-family, font-size and color to format the text in the document.

HTML 4.01 Transitional Document

If you created a new web page in HTML 4.01 Transitional, your <font> tag might look like this:

Algerian Font For Android Free Download

In this HTML 4.01 Transitional Document example, we have 6 <font> tag examples.

The first <font> tag shows how to set the font color with a named color while the second <font> tag shows how to set the font color with a hexadecimal value. The third <font> tag shows how to set the font face with a comma separate list of font families to use. The fourth <font> tag shows how to set the font size using a numeric value while the fifth <font> tag shows how to set the font size using a relative value.

The sixth <font> tag shows how to combine the color, face, and size together in the same <font> tag.

Algerian Font For Android Download

XHTML 1.0 Transitional Document

If you created a new web page in XHTML 1.0 Transitional, your <font> tag might look like this:

In this XHTML 1.0 Transitional Document example, we have 6 <font> tag examples.

The first <font> tag shows how to set the font color with a named color while the second <font> tag shows how to set the font color with a hexadecimal value. The third <font> tag shows how to set the font face with a comma separate list of font families to use. The fourth <font> tag shows how to set the font size using a numeric value while the fifth <font> tag shows how to set the font size using a relative value.

The sixth <font> tag shows how to combine the color, face, and size together in the same <font> tag.

XHTML 1.0 Strict Document

Algerian Font For Android Tablet

You can not use the <font> tag in XHTML 1.0 Strict.

XHTML 1.1 Document

Algerian Font For Android

You can not use the <font> tag in XHTML 1.1.