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…
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)- A9% (2)
- B82% (18)
- C5% (1)
- D5% (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
Community Discussion
No community discussion yet for this question.