Computer Science, asked by ashwanisinghdanger, 8 months ago

Explain the effect of following CSS code used for a web page.
(Note:click on Question to enlarge)
h1{ font-family:Ebrima, Helvetica, sans-serif;
color:green;
text-align:center; }​

Answers

Answered by luckykatara245
0

Answer:

15.1 Formatting

15.1.1 Background color

Attribute definitions

bgcolor = color [CI]

Deprecated. This attribute sets the background color for the document body or table cells.

This attribute sets the background color of the canvas for the document body (the BODY element) or for tables (the TABLE, TR, TH, and TD elements). Additional attributes for specifying text color can be used with the BODY element.

This attribute has been deprecated in favor of style sheets for specifying background color information.

15.1.2 Alignment

It is possible to align block elements (tables, images, objects, paragraphs, etc.) on the canvas with the align element. Although this attribute may be set for many HTML elements, its range of possible values sometimes differs from element to element. Here we only discuss the meaning of the align attribute for text.

Attribute definitions

align = left|center|right|justify [CI]

Deprecated. This attribute specifies the horizontal alignment of its element with respect to the surrounding context. Possible values:

left: text lines are rendered flush left.

center: text lines are centered.

right: text lines are rendered flush right.

justify: text lines are justified to both margins.

The default depends on the base text direction. For left to right text, the default is align=left, while for right to left text, the default is align=right.

Explanation:

Similar questions