nerdexam
GIAC

GSNA · Question #235

Peter works as a Web Developer for XYZ CORP. He is developing a Web site for the company. Peter specifies MARGINHEIGHT="0" and MARGINWIDTH="0" in one of the Web pages. How will this affect the Web…

The correct answer is B. It will create a borderless page structure when viewed in Netscape Navigator. The MARGINHEIGHT and MARGINWIDTH attributes are used in the <BODY> tag to adjust the top and left margins of a Web page to be displayed in Netscape Navigator. Specifying MARGINHEIGHT="0" and MARGINWIDTH="0" within the <BODY> tag will create a borderless page structure when…

Database & Application Auditing

Question

Peter works as a Web Developer for XYZ CORP. He is developing a Web site for the company. Peter specifies MARGINHEIGHT="0" and MARGINWIDTH="0" in one of the Web pages. How will this affect the Web page?

Options

  • AIt will create a borderless page structure when viewed in any browser.
  • BIt will create a borderless page structure when viewed in Netscape Navigator.
  • CIt will delete all the text from the margins.
  • DIt will create a borderless page structure when viewed in Internet Explorer.

How the community answered

(22 responses)
  • A
    9% (2)
  • B
    82% (18)
  • C
    5% (1)
  • D
    5% (1)

Explanation

The MARGINHEIGHT and MARGINWIDTH attributes are used in the <BODY> tag to adjust the top and left margins of a Web page to be displayed in Netscape Navigator. Specifying MARGINHEIGHT="0" and MARGINWIDTH="0" within the <BODY> tag will create a borderless page structure when viewed in Netscape Navigator. Answer: D is incorrect. The TOPMARGIN and LEFTMARGIN attributes are used in the <BODY> tag to adjust the top and left margins of a Web page to be displayed in Internet Explorer. Specifying TOPMARGIN="0" and LEFTMARGIN="0" within the <BODY> tag will create a borderless page structure when viewed in Internet Explorer. Answer: C is incorrect. These attributes are used to adjust margins and not to delete text from margins.

Topics

#HTML attributes#browser compatibility#Netscape Navigator#web page layout

Community Discussion

No community discussion yet for this question.

Full GSNA Practice