English

Explain the following HTML tag with an example: <FONT> - Computer Science 1

Advertisements
Advertisements

Question

Explain the following HTML tag with an example:

<FONT>

Explain
Advertisements

Solution

The <FONT> Tag

The <FONT> tag is used to change the appearance of text, such as its size, color, or typeface, within a webpage. It uses three main attributes: size (to set text scale), color (to set text color), and face (to define the font style).

Example:

<font size="4" color="blue" face="Arial"> This is styled text. </font>

shaalaa.com
  Is there an error in this question or solution?
2023-2024 (July) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×