What does <BODY> tag in HTML contain? Write any two attributes used with this tag. -Technology

1 Answer

Answer :

The <BODY> 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 <BODY> tag uses various attributes such as background,bgcoloretc.

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 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 : 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 : Explain the topmargin and leftmargin attributes of tag. -Technology

Last Answer : topmarginSets a topmargin (distance between the top of the document and the top of the browser window) of your body element.Syntaxe.g. Topmargin LearCBSE is the best website for CBSE students. ... window) of your body element.Syntaxe.g. Leftmargin LearCBSE is the best website for CBSE students.

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 : 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 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.

Description : Write the purpose of HTML. Distinguish between tag and tag. -Technology

Last Answer : HTML is used to represent page, data on website with proper manner and attractive look to get maximum users.Difference between tag and tagtag is a block level element, and is mainly used to add content, whereas the tag is used to force a line break within the element.

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 : All HTML document contains only tag. -Technology

Last Answer : False All HTML document contains various tags.

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 : 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 : 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 : 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 : 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 : 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 : 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 : 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 : Which tag do we use to change the size and style (face) of the text of an HTML file viewed on a Web browser? -Technology

Last Answer : tag is used to change the size and style (face) of the text of an HTML file displayed on a Web browser. Two attributes of tag are as follows:size: It specifies the size of the text inside a tag.Syntaxface: It specifies the font name of the text inside a tag.Syntax

Description : Which of the following tag identifies the document as an HTML document? (a) -Technology

Last Answer : (a) tag identifies the document as an HTML document.

Description : Container elements in HTML require (a) starting tag (b) ending tag -Technology

Last Answer : (c) In HTML, container elements are required as both starting and ending tags.

Description : Choose the correct HTML tag for the largest heading. (a) (b) -Technology

Last Answer : (d) tag provides the largest heading in HTML.

Description : The ………… tag is used to define basic font size for the HTML page. -Technology

Last Answer : Thetag is used to define basic font size for the HTML page.

Description : tag is one of the structural tags of HTML document. -Technology

Last Answer : True HTML provides four structural tags, these are as follows:, , , .

Description : The tag used in HTML to link a Web page with other Web page is (a) (b) -Technology

Last Answer : (a) anchor tag is used to create links.

Description : HTML tag for row is (a) (b) -Technology

Last Answer : (b) HTML tag for row is .

Description : What is the use of tag in an HTML table? Give a suitable example. -Technology

Last Answer : The tag creates a table row in an HTML table. A table must have atleast one row and also, it can have as many table rows as you want. A table row is divided into table cells. A table must have atleast one table cell per table row.e.g.CheadXtitle> TR Tag

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

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

Description : In XML, tag names cannot contain spaces but can uses underscores. -Technology

Last Answer : True Tag name must start either with a letter or underscore (_) character.

Description : In the HTML embed tag, what does the "base" attribute do?

Last Answer : answer:From: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701 base - . or [base directory] or [URL]. Specifies the base directory or URL used to resolve all relative path ... is helpful when your Flash Player movies are kept in a different directory from your other files.

Description : Identify the errors and write the correct HTML code 1. -Technology

Last Answer : 1. 2.

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 : ...............tag is an extension to HTML that can enclose any number of Javascript statements. (A)< SCRIPT> (B)< BODY> (C)< HEAD> (D)

Last Answer : Answer: A

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 : 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 : 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