CBSE Class 10 Computer Applications
Question 155 of 176
HTML I — Basic HTML Elements — Question 28
Back to all questions 28
Question Question 18(viii)
What is wrong in the following coding ?
<Body Margin Top = 60 Left = 75>
Text with changed margin </Body>
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>