Q.1. What do you understand by Name attribute? (1 Mark)
Ans: Name attribute allows the user to create links within the same document. This attribute specifies the name of the anchor being set up and always it should not be unique.
Q.2. Write the name of HTML tag used to include numbered list in HTML Web Page. (1 Mark)
Ans: <OL> Tag
Q.3. Write the code to create an image named “Heritage.gif” as a hyperlink to “India.html”. (1 Mark)
Ans: <A href=”India.html”>
<img src="https://cdn3.edurev.in/pan style=" word-break: break-word; max-width: 100%; letter-spacing: 0.02em;"> “Heritage.gif ”></A>
Q.4. How is <OL> tag different from <UL> tag of HTML? (1 Mark)
Ans: <OL> stands for ordered list. This tag is used to display an ordered/ a numbered list.
<UL> stands for unordered list. This tag is used to display a bulleted list.
Q.5. Which attribute of the <A> tag is used to add a text pop-up to an element in your web page? (1 Mark)
Ans: Title attribute of the <A> tag is used to add a text pop-up to an element in web page.
Q.6. Identify the error in the following HTML code. Rewrite the correct code. <UL TYPE = “a” START = 4> (1 Mark)
Ans: <OL TYPE=”a” START=”4”>
Q.7. Difference between <A> as an anchor and <A> as a link. (1 Mark)
Ans: <A> as an anchor allows us to go from one part of the same page to another while <A> as a link allows us to go from one page to another page.
Q.8. What is the use of START attribute used in lists? (1 Mark)
Ans: The START attribute is used to change the beginning value of an ordered list. Normally, the ordered list starts with 1. For example, <OL START="5"> </OL> (Yi mark for use and
Q.9. Your school’s web address is www.littlebuds.com. You want to create a link to this web site from your web page. Write the HTML code you will use to do this. (1 Mark)
Ans: <a href=”www.littlebuds.com”> My School </a>
Q.10. What is the use of Type attribute of <ul> tag? (1 Mark)
Ans: Type attribute is used to change the shape of the bullets in the unordered list. There are three types: DISC, SQUARE, CIRCLE
Q.11. Explain the following statement: <BODY bgcolor=”yellow” text=”red” vlink = ”blue”> TRIAL </BODY> (1 Mark)
Ans: The code will set the web page background as yellow, text color as red and visited link color as blue.
Q.12. What are the different types of lists available in HTML? (1 Mark)
Ans: There are 3 types of lists – ordered lists, unordered lists and definition lists