Saturday, July 10, 2021

Class-8 computer chapter-4 solved

 

Chapter-4

Q.1 Write the full form of HREF Attribute.

Ans.  Hyperlink Reference

Q.2 Explain term HTML briefly.

Ans. The HTML or Hypertext Markup Language offers us with different kinds of elements. It provides a set of tools that help us to insert images into our document to make it more comprehensive and appealing.

Q.3 What happens when we click on a hyperlink on a web page?

Ans. When we click on hyperlink on a web page then that other page will be open according to that URL.

Long Questions

Q.1 What is the purpose of using HREF attribute with tag <A>?

Ans. If we want connect other page with our main page then we use HREF attribute with <A> (anchor tag). By the help of HREF attribute we can also use download link.

Q.2 What is the difference in functions of the two tags.

1. <a href= “......”>                          2. <a name= “......”>?

Ans.       By <a href= “......”>  option we can linking to the anchor inside the document.

                By <a name= “......”> option we can link words or image to be referenced.

Q.3 What happens when you click a link that points to be an anchor?

Ans. Anchor show the name which reflected on page as a link when we click on that link that link will be open containing source page.

Q.4 what is the purpose of name and href attributes of <a> tag?

Ans. When we create an anchor inside the document i.e. marking and naming the point inside the document to which we wish to link to. This is done with anchor Tag A and the attribute NAME (instead of “HREF”).

Q.5 Which tags and attributes are used to:

a. Jump to a new page                   b. another location on the same page

Ans.       a Jump to a new page :-   <a href= “........”>

                b. another location on the same page :-  <a name= “......”>

No comments:

Post a Comment