Q15. What is the difference in the <FONT> and <BASEFONT> tag?
Ans. The <BASEFONT > tag is used to define the basic font size of the HTML page. This font size is applicable to all the text specified in it. The <FONT> tag is used to define the size, style and color of the text that appears in a specific segment.
Q14. What is the use of Text attribute applied in the <BODY> tags?
Ans. In the <BODY> tag, the text attribute defines the font color of the text on the Web page.
Q13. What is HTML?
Ans. HTML stands for Hypertext markup Language. It is a language which is used to create Web pages.
Q12. Which tag is used to insert heading of the third level on a Web page?
Ans. <H3> tag is used to insert heading of the third level on a Web page.
Q11. Identify the errors in the following HTML code. Also write the correct code.
<OL> type =”a” start=”d”>
Ans. The errors are;
- OL must not be followed by ’>’ i.e., ‘>’ must follows type and start attributes.
- The start attribute should be assigned a numeric value. The code is:
<OL type=”a” start =4>.
Q10. Write the full form of the following tags:
- <LI>: List Item
- <A>: Anchor
- <SUP>: Superscript
- <VLINK>: Visited Link
Q9. When can a comment be placed in a HTML document? How is it useful?
How do you give a comment in HTML?
Where can a comment be placed in an HTML document? How is it useful?
Ans. Comments are special type of textual information which appears in the HTML code, but not is a part of the layout of the Web page.
<HEAD> Read More …
Q8. List attributes of <HR> tag.
Ans. The one attribute of <HR> tag is size, width, Noshade, and color.
Q7. What does the <BODY> tag in HTML contain?
Ans. the <BODY> tag contains all the content of an HTML document, such as text, images, table, and hyperlinks.
Q6. List any two types of alignments that can be applied on a paragraph in HTML.
Ans. The alignments that can be applied on a paragraph are;
- Left alignment
- Right alignment