हिंदी

What is wrong in the following coding? <Body Margin Top = 60 Left = 75> Text with changed margin </Body>

Advertisements
Advertisements

प्रश्न

What is wrong in the following coding?

<Body Margin Top = 60 Left = 75>

Text with changed margin </Body>

कोड लेखन
लघु उत्तरीय
Advertisements

उत्तर

The attributes 'leftmargin' and ‘topmargin’ of <BODY> tag are used to specify the left and top margin of the document, respectively. The values of attributes should be enclosed in double quotes (" ").

The correct code is as follows:

<Body Topmargin = "60" Leftmargin = "75">
Text with changed margin </Body>
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: HTML- I: Basic HTML Elements - Assignment [पृष्ठ १२८]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
अध्याय 3 HTML- I: Basic HTML Elements
Assignment | Q 18. (viii) | पृष्ठ १२८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×