CBSE PRACTICE QUESTIONS

Q1 HTML tag to draw horizontal line:

a.  <hl>

b.  <hr>

c.  <hline>

 d. None of the above

Q2, The correct HTML code to display(P+Q)2 is:

a.  <SUB>(P+) 2</SUB>

b.  P+Q <SUP> 2 </SUP>

c.  ( P + Q)<SUP> 2 </SUP>

 d. <SUP> (P+Q) 2</SUP>

Q3. Which HTML tags cause browsers to render text as italics?

a.  <text style = “italics”></text>

b.  <ital.></ital.>

  c. <i></i>

 d. <b></b>

Q4. Which attribute is NOT valid for the <body> tag?

a. background         b. color

c. vlink                   d. bgcolor

Q5. Which is the correct way to comment out something in HTML?

a.  Using ## and #

b.  Using <!-- and -->

c.   Using </-- and -/->

  d. Using <!-- and -!>

Q6. Which of the following techniques can be used for security of data?

a.  Authentication

b.  Authorisation

c.  Encryption

  d. All of the Above

Q7. Which of these is NOT an attribute of the font tag?

a.  color

b.  face

c.  type

  d. size
Q8. The <                  > tag displays text in subscript form.

a.  sub

b.  sup

c.  sups

  d. subs
Q9. 
Q10. Which of the following will result in the largest text size?
         a. <H3>           b. <H6>
         c. <H2>           d. <H4>
Q11. We can create a numbered list using the                      tag.

          a. <UL>          b. <list>

          c. <OL>          d. <DL>
Q12. Identify which of the following type of list will create a bulleted list.

         a. Unordered                        b. Ordered

         c. Definition                        d. Numbered

Q13. Which sequence of HTML tags is correct?

a.  <html><head><title></title></head><body></body></html>

b.  <html><head><title><body></title></head></body></html>

c.  <html><head><title</head><body></body>></title></</html>

  d. <html><head><title><body></body ></title></head ></html>

Q14. Priyanshu has written the following code snippet as part pf an HTML program.

 

<B> Mystery Moon </B>

 

Predict the output of the above from the following:

a.    Mystery Moon

b.  Mystery Moon

c.  Mystery Moon

  d. Mystery Moon

Q15. Tag (s) required to create Description lists in HTML:

a.  <DL>

b.  <DT>

c.  <DD>

 d. All of the above

Q16. Gagandeep has written the following code to display an image in the background of HTML document:

<BODY BgGround= “Animals.jpeg”>

but he is not getting the desired output. Help him in identifying correct code from the following

a.  <BODY Bg= “Animals.jpeg”>

b.  <BODY BACK= “Animals.jpeg”>

c.  <BODY BGIMAGE= “Animals.jpeg”>

  d. <BODY BACKGROUND= “Animals.jpeg”>

Q17. Which of the following is the correct way to create a list using the lowercase letters?

a.  <ol alpha = "a" >

b.  <ol type = "a">

c.  <ol letter = "a">

  d. None of the above

CASE STUDY BASED QUESTION:- 










 




Comments

Popular posts from this blog

computer ethics class 8

ORGANISING AND ENCANCING WEBPAGES CLASS VIII

INTERENT BASICS multiple choice questions 16 AUG 2023