The document discusses using the <body> and <font> tags to control text formatting and styling. The <body> tag allows setting background colors and text colors for the entire document. Attributes like bgcolor, text, link, alink, and vlink set colors. The <font> tag overrides text styling and attributes like color, face, and size set font properties.
2. WORKING WITH BODY AND FONTS ATTRIBUTES
Using the body tag enables the user to manipulate the
background colors and text for a HTML documents and using
fonts you can override the text color in body tag.
3. <body> specifies that your in the body part of the document
Attributes
<body text=“blue”> - indicates the color of normal text
within the document
<body background=“url”> - specifies the relative or
absolute location of an image file that tiles across the
document background
4. <body bgcolor=“blue”> - indicates the color of the
document background
<body link=“red”> - indicates the color of hyperlink text
within the document, which corresponds to
documents no yet visited by the browser
<body alink=“blue”> - indicates the color of hyperlink
text while the text is selected
5. <body vlink=“green”> - indicates the color of hyperlink
text within the document, which corresponds to
documents already visited by the browser
6. <font> sets of alters the characteristics of the font which the
browser uses to display text
Attributes
<font color=“blue”> - indicates the color browser uses to
display text.
<font face=“arial”> - specifies a comma-separated list of
font names the browser uses to render text. If the
browser does not have acecess to the first name out, it
tries the second, then the third and so forth.
7. <font size=“10”> - specifies the size of the text affected by the
font tag number ranges from 1 to 7.