मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता ११

Explain the attributes available with <body> tag. - Computer Applications

Advertisements
Advertisements

प्रश्न

Explain the attributes available with <body> tag.

टीपा लिहा

उत्तर

Attributes of <body> tag:

  1. Background Colour:
    bgcolor = color By default all the browsers display the text on white background. However the background color of the browser can be changed by using bgcolor tag.
  2. Body text Colour: text = color
    The default text colour of body section is “black”, it is often called as automatic color, text attribute within body tag is used to change the text colour,
    The tag to change body text colour:
    <body text = color_name/color_code>
  3. Background image:
    background-image An image or picture can be applied as background to a webpage. When we insert an image as background, the text will be displayed on top of the image. Background images can be a texture or bitmap or even a photo.
    Example:
    <body background = “image_name_with_ extension”>
  4. Setting Margins: margin = value
    The margin refers the blank area from left or top edge of the browser window. Generally, there is no default margin setting in any browser. If we want to leave some space as margin to left or top; left margin or top margin attributes will be used respectively.
    The tag to specify the left and top margin:
    <body leftmargin = value topmargin = value>
shaalaa.com
HTML Attributes
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 10: HTML - Structural Tags - Evaluation [पृष्ठ २३६]

APPEARS IN

सामाचीर कलवी Computer Applications [English] Class 11 TN Board
पाठ 10 HTML - Structural Tags
Evaluation | Q 1 | पृष्ठ २३६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×