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

1 Answer

Answer :

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

Related questions

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 : 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 : 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 : 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 : 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 : Describe the use of alt attribute with tag. -Technology

Last Answer : The alt attribute is used to define alternate text' for an image. It tells the Website visitor, what he/she is missing on the page if the browser cannot load images. The browser will then ... include alt attribute for each image on a page to improve the appearance and usefulness of the document.

Description : Name the values that can be assigned to align attribute of tag. -Technology

Last Answer : The values that can be assigned to align attribute of tag are as follows:1. top2. bottom3. left4. right5. middle

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 : src attribute used with tag stands for (a) screen (b) screen resolution count (c) source -Technology

Last Answer : The correct answer is(c) source

Description : The alternate text of an image can be displayed by using attribute of the tag. (a) src (b) alt -Technology

Last Answer : (b) alt attribute of the tag is used to display the alternate text of an image.

Description : Which is not a valid value in the align attribute of tag? (a) top (b) center -Technology

Last Answer : (b) center is not a valid value in the align attribute of tag. To align in center, tag can be used.

Description : Why is it important to specify width and height attribute in tag? -Technology

Last Answer : (d) Helps the browser to load the Web page faster.

Description : The tag is an ………… tag, that means it has no closing tag. -Technology

Last Answer : The tag is an emptytag, that means it has no closing tag.

Description : tag is used for …………. images. -Technology

Last Answer : tag is used for displaying images.

Description : ……………. is an attribute of the tag which specifies the location or URL of the image to be displayed. -Technology

Last Answer : src is an attribute of the tag which specifies the location or URL of the image to be displayed.

Description : No value is specified with alt attribute of tag. -Technology

Last Answer : False alt attribute provides alternate text for an image if the image is not visible on Web page for any reason.

Description : The align attribute of the tag is used to specify the text that is to be displayed -Technology

Last Answer : False alt attribute is used to specify the text that is to be displayed in case the browser which does not support graphics.

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

Last Answer : Background is an attribute of 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 : 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 : 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 : 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 : 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 : 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 : A webpage displays a picture. What tag was used to display that picture? a. picture b. image c. img d. src

Last Answer : c. img

Description : ............. tag is used to embed image in a webpage. A) B) C) D) None of the above

Last Answer : A)

Description : ............... is a standalone tag. A) B) C) D)

Last Answer : A)

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 : Write the full form of the following tags: 1. 2. -Technology

Last Answer : 1. -List item2. -Image

Description : The correct HTML code for inserting an image is (a) -Technology

Last Answer : (c)

Description : The general syntax for inline image is . -Technology

Last Answer : True At the place of the file name, the path of the image is specified. If the image is in the same folder as HTML file, it is not needed to specify the full path of an image.

Description : What is the purpose of using the attribute href in tag? -Technology

Last Answer : The href stands for Hypertext Reference. The href attribute is used with tag to specify the link to some other HTML page or Website.e.g. click here to go to learncbse.It will display like:click here to go to learncbse.

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 : 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 : 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 : Write names of two attributes each for the following tags: 1. 2. -Technology

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

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