Computer Applications

What is wrong in the following coding ?

<Body Margin Top = 60 Left = 75> 
Text with changed margin </Body>

HTML Intro

12 Likes

Answer

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>

Answered By

6 Likes


Related Questions