ch-7

Chapter 7                                         HTML
Short Answer Type Questions :-
1.     What is difference between container elements and empty elements ?
Ans. The tags which have an opening tag as well as closing tag are called container elements  whereas those tags which only have an opening tag are called empty elements .
2.     What is a hyperlink ?
Ans. Hyperlink is a link between various web pages. It is used to connect various web pages.
3.     Distinguish between <P> tag and <BR>  tag .
Ans. 

<p> tag
<br> tag
The <P> tag (Paragraph tag) is used to start a new paragraph in the HTML document .

The <BR> tag is used to insert a line break and go to a new line in the document.

It has opening as well as closing tag.
There is no need to close the <BR > tag .


Long Answer Type Questions :-
Q1. Write a note on HTML .
Ans . HTML is a language in which you can make web pages with the help of web browser .HTML stands for Hyper Text Markup Language. HTML documents contain special codes known as tags. It is not a programming language but a markup language .It has an extension .html or .htm.

Q2.What are the uses of HTML .
a.     Ans. HTML is used to create web pages .
                                                              i.      HTML is used to surf on internet.
                                                            ii.      HTML links various pages within a website .
                                                          iii.      HTML also links different websites .
                                                         iv.      HTML helps to arrange text , graphics on a web page.

Q3.Write a few lines on each :-
a.      HTML tag
b.     HEAD tag
c.      TITLE tag
d.     BODY tag
           Ans. a. HTML tag : <HTML> and </HTML> are the main tags which appear at the beginning and ending of every text document .
b. HEAD tag : <HEAD> and </HEAD> are the document header tags which are immediately used after the <HTML> tag They contain the heading of the web page .
c. TITLE TAG : <TITLE> and </TITLE> are the tags that define the title of the page . They are contained in the haed tag .
d. BODY TAG : <BODY> and </BODY> tags include the body of the document . All the information , graphics etc .
Q4. Write the structure of the HTML document .
Ans. <html>
            <head>
            <title> title of the webpage </title>
            </head>
           
<body>
            Content of the page
            </body>

            </html>

Comments

Popular posts from this blog

ch-6 QBASIC

ch-10

ch-1 computer peripherals