Explain the topmargin and leftmargin attributes of <BODY> tag. -Technology

1 Answer

Answer :

topmarginSets a topmargin (distance between the top of the document and the top of the browser window) of your body element.Syntax<B0DY topmargin=“value”>e.g.<HTML><HEAD><TITLE> Topmargin </TITLE></HEAD><BODY topmargin=“65”>LearCBSE is the best website for CBSE students.</BODY></HTML>OutputleftmarginSets a left hand margin (distance between the left side of the document and the left edge of the browser window) of your body element.Syntax<BODY 1eftmargin=“value”>e.g.<HTML><HEAD><TITLE> Leftmargin </TITLE></HEAD><BODY 1eftmargin=“65”>LearCBSE is the best website for CBSE students.</BODY></HTML>

Related questions

Description : What is the use of tag in HTML code? Write any two attributes used with this tag. -Technology

Last Answer : The tag encloses the main part of the document. It contains all the contents of a document. Various markup elements are allowed within the body to indicate headings, paragraphs, lists, hypertext links, images and so on. The tag uses various attributes such as background, bgcolor etc.

Description : What does tag in HTML contain? Write any two attributes used with this tag. -Technology

Last Answer : The tag encloses the main part of the document. It contains all the contents of a document. Various markup elements are allowed within the body to indicate headings, paragraphs, lists, hypertext links, images and so on. The tag uses various attributes such as background,bgcoloretc.

Description : border, frame, cellspacing, cellpadding, align are the attributes of (a) tag (b) tag -Technology

Last Answer : (c) border, frame, cellspacing, cellpadding, align are the attributes of tag.

Description : topmargin is used to specify the distance between the top of the document and top of the browser window. -Technology

Last Answer : True topmargin is an attribute of the tag, which is used to specify the distance between the top of the document and top of the browser window.

Description : Explain various attributes of tag. -Technology

Last Answer : Attributes of TagAn attribute is an extra piece of information associated with a tag that provides further details about the tag.Following are the various attributes of tag:The src Attribute: The src (source) ... the width of the border around an image. By default, an image has no border in HTML.

Description : What is the function of tag in HTML? Give any two attributes used with it. -Technology

Last Answer : tag is used to draw horizontal lines in the Web page. This horizontal line divides the screen horizontally. tag creates a shaded horizontal line between text. Attributes of tag are size, align and width.

Description : List any two attributes of tag. -Technology

Last Answer : tag is used to draw horizontal lines in the Web page. This horizontal line divides the screen horizontally. tag creates a shaded horizontal line between text. Attributes of tag are size, align and width.

Description : What is the …….. tag? Name any two attributes used with this tag. -Technology

Last Answer : ……… tag is used for the ordered list, i.e. a list of items to be displayed in a particular order. An ordered list is also a list of items. An ordered list starts with the tag. Each list item starts with the tag.e.g. A B Two attributes of tag are: start and type.

Description : What is a tag? Name any two attributes used with this tag. -Technology

Last Answer : tag specifies a default font size, color and face for the font, the browser will use to render normal document text, i.e. the text, for which no other font setting has been provided. It occurs only for one time in the document. The attributes of this tag are size and face.

Description : Define height and width attributes of tag. -Technology

Last Answer : The width and height attributes tell the dimension of an image to the browser. Both (height and width) attributes require integer values (dimension of the image in terms of either pixels or percentage of its actual size).

Description : Name the attributes of tag which are used for internal linking in a Web page. -Technology

Last Answer : The attributes of tag which are used for internal linking in a Web page as follows:1. href used to specify the URL of the segment the link goes to.2. name gives the name to the segment.

Description : The two common attributes of the and the tag are (a) src and height (b) height and width -Technology

Last Answer : (b) height and width are common attributes of the tag and the tag.

Description : Name the attributes of tag which are used for specifying its dimensions in a Web page. -Technology

Last Answer : width and height attributes of the tag are used for specifying its dimensions in a Web page, width and height are specified in terms of pixels or percentage of the browser window.

Description : Which attributes can you use with < table > tag but not with tag? -Technology

Last Answer : summary, rules, frame,*, border, cellpadding, cellspacing, height, width and bordercolor are the attributes that you can use with tag but not with tag.

Description : The height and width attributes of < table > tag are specified in terms of………….. or percentage. -Technology

Last Answer : The height and width attributes of < table > tag are specified in terms of pixelor percentage.

Description : The align and valign are the attributes used with tag to set the alignment of data in a cell. -Technology

Last Answer : True The align and valign attributes are used to set alignment of the data.

Description : One of the attributes of XML tag is Type. -Technology

Last Answer : True type is a attribute of XML tag.

Description : Write any two attributes for each tag: (a) (b) (c) -Technology

Last Answer : img tag-src, alt, height, widthtable tag - align, bgcolor, border, cellpadding, cellspacinga tag -href, name

Description : What is the purpose of tag ? Mention it’s any two attributes along with their purpose. -Technology

Last Answer : tag is used to insert images in any webpage.Its two main attributes are as follows:SRC : It specifies the URL of the image.ALT : It specifies an alternate text for an image.

Description : Write names of two attributes each for the following tags: 1. 2. -Technology

Last Answer : TagAttributesalign, widthbgcolor, textsrc, altborder, ruleshref, name

Description : What do you understand by option alink used with tag? -Technology

Last Answer : A link attribute defines the color of the link as it is being clicked on the Web page. The default color of alink is red.

Description : What do you understand by option vlink used with tag? -Technology

Last Answer : vlink attribute defines the color of a link after it has been visited. The default color of vlink attribute is purple.

Description : Identify which one is an attribute or a tag? 1. Body 2. Type -Technology

Last Answer : 1. Body – Tag2. Type – Attribute3. Br – Tag4. Link – Attribute5. Face – Attribute

Description : Where do you place the tag in a HTML? (a) BODY (b) HEAD -Technology

Last Answer : (b) tag is placed in the tag.

Description : Which attribute is not supported by a tag? (a) bgcolor -Technology

Last Answer : (b) size is not an attribute of tag.

Description : Which attribute of tag specifies the color of visited links in a document? (a) vlink (b) alink -Technology

Last Answer : (a) vlink attribute specifies the color of visited links in an HTML document.

Description : ………. attribute of BODY tag helps to set background color. -Technology

Last Answer : bgcolorattribute of BODY tag helps to set background color.

Description : tag is used to define document body. -Technology

Last Answer : False tag is used to define the document head.

Description : There should be only one tag in each Web page. -Technology

Last Answer : True A Web page contains necessarily one tag and one tag.

Description : All HTML document contains only tag. -Technology

Last Answer : False All HTML document contains various tags.

Description : cellpadding attribute is used with tag. -Technology

Last Answer : False cellpadding attribute is used with tag.

Description : Background is an attribute of : (i) tag (ii) tag (iii) tag (iv) tag -Technology

Last Answer : Background is an attribute of tag

Description : Write one basic difference between bgcolor and background attributes. -Technology

Last Answer : The bgcolor attribute is used for coloring the background of the document while background attribute specifies a background image for a document.

Description : What is the purpose of using HTML tags and attributes for Web designing? -Technology

Last Answer : HTML (HyperText Markup Language) is used to create Web pages. It designs the basic layout and formatting of Web pages by using tags and attributes.The tag’s name tells the tag’s purpose and the attributes that follow the tag name give the additional information of the Web browser.

Description : Why width and height attributes are used? -Technology

Last Answer : The width and height attributes are used, such that downloading of an image will be faster after knowing the dimensions of the images in the browser.

Description : Name two table attributes, which are used to set spacing in and between table cells. -Technology

Last Answer : The cell spacing and cellpadding are the attributes, which are used to set spacing in and between the table cells.

Description : Why rowspan and colspan attributes are used? -Technology

Last Answer : Sometimes, a table cell is bigger than the other. Its span is spread to more rows or columns. Such cells can be created with the help of rowspan and colspan attributes.

Description : Name the attributes that are used to do the following in HTML: 1. merge two or more rows. -Technology

Last Answer : 1. rowspan2. bgcolor3. valign4. colspan

Description : Name the attributes used for following: 1. setting the cell width. -Technology

Last Answer : 1. width2. background3. bgcolor4. rowspan and colspan

Description : The………………. attributes is used to combine the cells vertically. -Technology

Last Answer : The rowspanattributes is used to combine the cells vertically.

Description : The values of the attributes are enclosed in double question marks. -Technology

Last Answer : False The values of the attributes are enclosed in double quotation marks.

Description : Pseudo attributes are the settings that appear in prologs. -Technology

Last Answer : True Pseudo attributes describe the overall document.

Description : Border, cellspacing, cellpadding, align are the attributes of -Technology

Last Answer : Border, cellspacing, cellpadding, align are the attributes of

Description : Explain the tag < HEAD > -Technology

Last Answer : TagThis element is a container for all the header elements. The tag must include a title for the document that can include scripts, styles, meta information and many more. The second line of your HTML ... the Web page. The end of the head tag is indicated by .e.g.Header information comes here

Description : Which attribute is used to specify the location of an image file in the tag? Explain. -Technology

Last Answer : The attribute you need to get an image to display on a Web page is the src attribute.In the src attribute of the tag, you can specify the path of the image that you want to add to the ... image somewhere else on the same server, or an image stored on another server.The syntax for src attribute is

Description : Explain the width attribute of tag. -Technology

Last Answer : The width attribute is used to set the absolute width of the table. The values in width attribute can be either in pixels or in percentage of the browser window,e.g.CelllCell2CellCell4

Description : Explain the various values associated with “scrolling” attribute of FRAME tag. -Technology

Last Answer : The scrolling attribute of FRAME tag can take 3 values:Yes will insert both the scrolls irrespective of the size of the sub-window.Auto will insert the scrolls only when the contents of the sub-window are not visible.No will not insert any scrolls even when all the contents are not visible.

Description : What is the use of tag in HTML code? Write any two options used with this tag. -Technology

Last Answer : The tag is used to change the size, color and type face of the text on HTML page. It uses attributes such as size, face etc.

Description : Which tag is used to insert heading of third level on a Web page? -Technology

Last Answer : tag is used to insert heading of third level on a Web page.

Description : Which HTML tag is used to insert an image in a page? Write an option used with this tag. -Technology

Last Answer : The tag is used to insert an image in a page. This tag uses the options like src, alt etc.