HTML Ex
HTML Ex
B. Write T for true statement and F for the false one. Correct the false statement(s).
1. The height attribute of the <img> tag is used to specify the thickness of the
border around the image.
False. The border attribute of the <img> tag is used to specify the thickness
of the border around the image.
2. JPEG is the best format for photographs, as it contains 1 million colors.
True
3. We cannot add an image in a web page.
False. We can add an image in a web page using <img> tag.
4. We can create both ordered and unordered lists in an HTML document.
True
5. The <ol> tag is a part of an empty element.
False. <ol> tag is a container tag. The items of an ordered list are enclosed
with <ol> and </ol> tags.
C. Choose the correct option.
1. Which attribute of the <img> tag is used to specify the thickness of the border
surrounding the image?
a. height b. border c. borderthick d. thickness
2. Which of the following is not an attribute of the <img> tag?
a. alt b. border c. width d. color
3. Which of the following are the most commonly used image formats?
a. gif b. jpg c. both (a) and (b) d. none of these
4. Which of the following values can be assigned to the type attribute of the <ul>
tag?
a. circle b. disc c. square d. all of these
5. Which of the following is an attribute of the <ol> tag?
<ul> and </ul> tags are used. <ol> and </ol> tags are used.