Computer Science, asked by vickysh527, 1 year ago

Pls snd the ans for ques no.2 fast

Attachments:

AMM111: bg color used to set a backgroung image

Answers

Answered by Handsome11111
1
Bgcolor is used to set a background color of the web page while background is used to insert an image in the. Background of the web page .
background-color is used in CSS code or in style tag. e.g.- <body style="background-color:red;"> bgcolor is used directly as an attribute of any tag in html. e.g.- <body bgcolor="red">
The bgcolor attribute was superseded by CSS in 1996.

CSS background properties:

Are more reusableHave a higher priority than presentational attributesTake a wider selection of values (including translucent ones)Can be stored in an external stylesheet and cached between requestsApply more consistently across different element types
bgcolor is not a css property, it is an attribute of an html element. Further, it is deprecated in the current recommendations.

background is a css property, shorthand for background-color, -image, -position, -repeat and -attachment.

There will be differences, because they do different, but similar things. As regarding tables, you run into another series of differences due to the table's special purpose.

Handsome11111: plzz
vickysh527: What
Handsome11111: plz mark it as brain list
Handsome11111: my and
Handsome11111: answer
vickysh527: The option is not appearing hear
Handsome11111: plz see
Handsome11111: I want only 3 answers as brain list
Handsome11111: plzzz mark it
Handsome11111: ty broo
Similar questions