Define various alignments of align attribute with example. -Technology

1 Answer

Answer :

There are some values of image alignment attribute as follows:Middle AlignmentThis alignment is different in both Internet Explorer and Mozilla Firefox. In Internet Explorer, this alignment aligns the image to the middle of the tallest item in the current line. While in Mozilla Firefox, this alignment aligns the image with the baseline of the current line in which it is placed.Example: To show middle alignment of an image.<html><head><title> Alignment </title></head><body><h1> Middle Alignment </ h1><img src='flower2.jpg' align='middle'>A flower, sometimes known as a b'oom or blossom, is the reproductive structure found in flowering plants. The biological function of a flower is to effect reproduction, usually by providing a mechanism for the union of sperm with eggs.</body></html>Bottom AlignmentThis alignment aligns the bottom edge of the image, to the same horizontal plane as the baseline of the text. Both Internet Explorer and Mozilla Firefox treat this alignment in the same manner.Example: To show bottom alignment of an image.<html><head> <title> Alignment </title> </head><body><h1> Bottom Alignment </h1><img src='flower2.jpg' alt='flower' align='bottom'>Example: To show bottom alignment of an image.<html><head> <title> Alignment </title> </head><body><h1> Bottom Alignment </h1><img src='flower2.jpg' alt='flower' align='bottom'>A flower, sometimes known as a bloom or blossom, is the reproductive structure found in flowering plants. The biological function of a flower is to effect reproduction, usually by providing a mechanism for the union of sperm with eggs.</body></html>Left AlignmentThis alignment aligns the image to the left on the Web page respectively of the browser window.Example: To show left alignment of an image.<html><head> <title> Alignment </title> </head><body><h1> Left Alignment </h1><img src='flower2.jpg' align='left'>A flower, sometimes known as a bloom or blossom, is the reproductive structure found in flowering plants. The biological function of a flower is to effect reproduction, usually by providing a mechanism for the union of sperm with eggs.</body></html>Right AlignmentThis alignment aligns the image to the right on the Web page respectively of the browser window.Example: To show right alignment of an image.<html><head> <title> Right Alignment </title> </head><body><h1> Right Alignment </h1>Cimg src='flower2.jpg' align='right'>A flower, sometimes known as a bloom or blossom, is the reproductive structure found in flowering plants. The biological function of a flower is to effect reproduction, usually by providing a mechanism for the union of sperm with eggs.</body></html>

Related questions

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 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 : 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 : The attribute helps to align data vertical in a single cell. (a) align (b) valign -Technology

Last Answer : (b) valign attribute is used to align data vertically in a single cell.

Description : What is the use of align attribute in < table > tag? -Technology

Last Answer : The align attribute defines the center, right or left alignment of the tag.

Description : which tag with align attribute is used? -Technology

Last Answer : The align attribute is used with both tag and tag.

Description : The……………… attribute is used to align the data vertically within cells. -Technology

Last Answer : The valignattribute is used to align the data vertically within cells.

Description : Write the name of alignments, which are available in MS_Word 2007. -Technology

Last Answer : Left, Right, Center and Justify.

Description : Explain the different text alignments. -Technology

Last Answer : The text layout within a paragraph with respect to document margins is called text alignment.Steps to change the text alignment in a document are as follows:(a) Step 1: Select the text ... the left and the right margins. Traditionally many books, news letters and newspapers use full-justification.

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 : Explain the following statement: -Technology

Last Answer : The given HTML code produces a horizontal rule with size 5, aligning right on page and of width 60.

Description : The following code is written to align the image in center in the browser’s window. -Technology

Last Answer : The reason for not getting the desired result is that center is not a value of align attribute in the tag.

Description : The tag is called the align tag. -Technology

Last Answer : False The tag is called anchor tag.

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 : Choose the correct HTML code to right align the content inside a table cell. (a) (b) -Technology

Last Answer : (a)

Description : What is the correct HTML code to left align the content inside a table cell? -Technology

Last Answer : (b)

Description : If you type

Last Answer : The output will look like

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 : Border, cellspacing, cellpadding, align are the attributes of -Technology

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

Description : What certain alignments of Earth the Moon and the Sun cause?

Last Answer : It can cause lunar eclipses, and solar eclipses.

Description : What certain alignments of Earth the Moon and the Sun cause?

Last Answer : It can cause lunar eclipses, and solar eclipses.

Description : Setting out the alignments of sewers may start from A. City B. Out-fall C. Tail end D. Any point

Last Answer : ANS: C

Description : Design of horizontal and vertical alignments, super-elevation, sight distance and grades, is worst affected by (A) Width of the vehicle (B) Length of the vehicle (C) Height of the vehicle (D) Speed of the vehicle

Last Answer : Answer: Option D

Description : What is the use of width attribute in HTML? -Technology

Last Answer : Width attribute specifies the width of a horizontal line in pixels or percent. Its default value is 100%.

Description : What is an attribute in HTML? -Technology

Last Answer : HTML attribute is a modifier of HTML element. Attributes provide additional information about HTML elements. Attributes are always specified in the start tag of an element, after the element's name. These come in ... is the HTML element, name is the name of an attribute, set to the provided value.

Description : What is the purpose of using type attribute used in lists? -Technology

Last Answer : The type attribute specifies the type of numbers or bullets depending on whether the list item is inside an ordered list or unordered list.

Description : What is the purpose of using start attribute used in lists? -Technology

Last Answer : This attribute is used to change the beginning value of an ordered list. Normally, the ordered list begins with 1. It lets you further customize an HTMLordered list by setting a new starting digit for the ordered list element.Syntaxe.g.Ordered List with type attribute

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 : noshade is an attribute of …………. tag. -Technology

Last Answer : no shade is an attribute of the tag.

Description : ………… attribute of tag specifies the width of a horizontal line. -Technology

Last Answer : widthattribute of tag specifies the width of a horizontal line.

Description : ……..value of type attribute displays a hollow circle for an unordered lists. -Technology

Last Answer : Circlevalue of type attribute displays a hollow circle for an unordered list.

Description : bgcolor is an attribute of tag. -Technology

Last Answer : False It is an attribute of the tag.

Description : background attribute is used to display image. -Technology

Last Answer : True It is an attribute of tag used to display the background image.

Description : color is an attribute of tag. -Technology

Last Answer : True It defines color of the text.

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 : 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 : 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 : The text specified in the alt attribute is displayed as tooltip in (a) Internet Explorer -Technology

Last Answer : (a) The text specified in alt attribute is displayed as the tooltip in Internet Explorer only.

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 : …………. attribute is used to specify the location of an image file. (a) alt (b) src -Technology

Last Answer : (b) src attribute is used to specify the location of an image file.

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 : alt attribute allows (a) addition of an alternate hyperlink -Technology

Last Answer : (d) alt attribute allows the addition of alternative text about an image.

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 : For internal linking, the section names are provided by attribute of tag. (a) title (b) href -Technology

Last Answer : (c) For internal linking, section names are provided by name attribute.

Description : ………. attribute of the tag is used to name a section in a Web page to create an internal link. (a) href (b) name -Technology

Last Answer : (b) name attribute is used to create an internal link.

Description : …………….. attribute is used to set the color of a link while it is active. (a) vlink (b) alink -Technology

Last Answer : (b) alink attribute is used to set the color of link while it is active.

Description : The attribute which is used to send E_mails through a Website. (a) tomail -Technology

Last Answer : (b) mailto attribute is used to send E-mails through a Website.