MENU

Chapter 5 HTML (HyperText Markup Language) Solutions

Question - 11 : - What is the use of width attribute in HTML?

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

Question - 12 : - What do you understand by option alink used with tag?

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

Question - 13 : - What do you understand by option vlink used with tag?

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

Question - 14 : - How the font size of a single line on a Web page be changed?

Answer - 14 : -

The font size of a single line can be changed by using the following HTML code:

This is a HTML text .

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

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

Question - 16 : - Why do we insert comments in an HTML document, even though they are not displayed on a Web page?

Answer - 16 : - So, that user will be able to understand coding effects and meaning.

Question - 17 : - How can anyone insert horizontal line in a Webpage?

Answer - 17 : - Using


tag, anyone can insert horizontal line in a Web page.

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

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

Question - 19 : - What do you mean by src?

Answer - 19 : - The src is an attribute of tag. It gives the URL of the image document.

Question - 20 : - What is the purpose of HTML?

Answer - 20 : -

HTML (HyperText Markup Language) is used to create Web pages and tells the browser how to display them. It designs the basic layout and formatting of Web pages.
HTML is made up of elements or tags and attributes, which work together to identify document parts and tell browser how to display them.

Free - Previous Years Question Papers
×