What is the use of <BODY> tag in HTML code? 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, bgcolor etc.

Related questions

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 : 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 : 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 : 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 : 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 : 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 : 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 : 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 : Identify the errors and write the correct HTML code 1. -Technology

Last Answer : 1. 2.

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 : 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 : 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 : Write an HTML code to show the use of mailto function. -Technology

Last Answer : Use of mailto Send your views to [emailprotected]< / a >

Description : Write HTML code to set the image ‘Pen. jpg’ stored in ‘My Pictures’ folder in C: -Technology

Last Answer : The HTML code is .

Description : Write the extension of HTML code file. -Technology

Last Answer : The extension of HTML code file is.html or .htm

Description : Identify the error(s) in the following HTML code. Also, write the correct code. -Technology

Last Answer : The error in the code is that in place of color attribute there should be bgcolor.The correct code is

Description : Write the HTML code to display horizontal line of red color. -Technology

Last Answer :

Description : Write the HTML code to set the bgcolor as pink, heading level 2, text -Technology

Last Answer :

Description : Write the HTML code to create a paragraph whose text color is blue. -Technology

Last Answer : or

Description : Identify error(s) in the following HTML code. Also, write the correct code. type=“a” start=“d”> -Technology

Last Answer : tag’s attributes should be placed in between . In the list, the start attribute must be set to a numeric value and type attribute specifies ‘A’, ‘a’, T ‘i’ or ‘1’. So, the correct code is

Description : Write HTML code to display various bullet types. -Technology

Last Answer : LotusRoseSunHoonoutput

Description : Write HTML code to display ordered lists. -Technology

Last Answer : Many Ordered ListNumbered listSunMoonLetters 1is t SunMoonLowercase letters starting from 3rd 1etter

Description : Which program do you need to write HTML code? (a) Spreadsheet (b) Access -Technology

Last Answer : (c) From the given options, Notepad is useful program to write HTML code.

Description : Write the HTML code to display an image on the right side of the page. -Technology

Last Answer :

Description : Write the HTML code to display an inline image named pencil.jpg located at C:\ in the center of your Web page. -Technology

Last Answer :

Description : Identify the errors in the following HTML code and write the correct code with each correction underlined. -Technology

Last Answer : Error 1 The tag must be within element.Error 2 bgcolor attribute of body element supports a color like red, green or its color value.Error 3 tag needs a source attribute src to place an ... element must be closed not bgcolor attribute.The correct code is as follows:IMAGESHERE IS MY IMAGE FILE

Description : Write the HTML code to create a link for school .jpg located at C:\. -Technology

Last Answer : Image