Computer Science, asked by mubasshirsayyed2002, 1 month ago

Write a program in HTML to demonstrate the usage of image file with the below given specification.
a. Background color of page is green.
b. The size of image is 400*400 pixels.
c. The image should contain border.
d. Image should appear on the center of the page​

Answers

Answered by gursharanjali
1

Answer:

Henry Fayol introduced the concept of General theory of administration. F.W. Taylor laid down the concept of Scientific Management. Henry Fayol emphasized the working of top level management, whereas F.W. Taylor stressed on the working of production level management.

Answered by AarshiNair
1

Answer:

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.

DEPRECATED EXAMPLE:

This example centers a heading on the canvas.

<H1 align="center"> How to Carve Wood </H1>

Using CSS, for example, you could achieve the same effect as follows:

<HEAD>

<TITLE>How to Carve Wood</TITLE>

<STYLE type="text/css">

H1 { text-align: center}

</STYLE>

<BODY>

<H1> How to Carve Wood </H1>

Note that this would center all H1 declarations. You could reduce the scope of the style by setting the class attribute on the element:

<HEAD>

<TITLE>How to Carve Wood</TITLE>

<STYLE type="text/css">

H1.wood {text-align: center}

</STYLE>

<BODY>

<H1 class="wood"> How to Carve Wood </H1>

Hope it helps you!

Similar questions