Shorts question and Answer for HTML || Assessment Exam || MCQ for HTML || MULTIPLE CHOICE QUESTION for HTML || MCQ for Web Page Development

                              SHORTS QUESTION AND ANSWER 

HTML 


SUBJECT- JUNIOR WEB PAGE DEVELOPER




MULTIPLE CHOICE QUESTION


1) What does HTML stand for?

a) Hyperlink Markup Language

b) Hyper Text Markup Language

c) Hyper Transfer Markup Language

d) Hyper Tool Markup Language


Ans- b) Hyper Text Markup Language



2) Which tag is used to create a hyperlink in HTML?

a) <img>

b) <p>

c) <a>

d) <h1>


Ans- c) <a>



3) Which of the following is NOT a valid HTML element?

a) <span>

b) <div>

c) <body>

d) <foot>


Ans- d) <foot>




4) Which attribute is used to specify the source of an image in HTML?

a) src

b) alt

c) href

d) target


Ans- a) src





5) Which of the following is NOT a block-level element in HTML?


a) <div>

b) <h1>

c) <a>

d) <p>

Ans- c) <a>

6 ) Which of the following is the correct HTML tag for creating a line break?

a) <br>

b) <hr>

c) <p>

d) <line>

ANS-  a) <br>

7) Which of the following is a semantic HTML element?

a) <div>

b) <span>

c) <article>

d) <button>

ANS- c) <article>

8 ) Which of the following is NOT a valid HTML color name?

a) red

b) green

c) teal

d) hotpink

ANS- d) hotpink


9 ) Which of the following tags is used to create a list in HTML?

a) <ul>

b) <li>

c) <ol>

d) both a and c

ANS- d) both a and c

10 ) Which of the following tags is used to define a table in HTML?

a) <table>

b) <tr>

c) <td>

d) all of the above

ANS- a) <table>

11) Which of the following tags is used to define a header in HTML?

a) <header>

b) <h1>

c) <head>

d) <title>

ANS- a) <header>


12) Which of the following is the correct way to create a hyperlink to an external webpage?

a) <a href="www.example.com">Link</a>

b) <a href="example.com">Link</a>

c) <a href="http://example.com">Link</a>

d) <a href="https://example.com">Link</a>

ANS- d) <a href="https://example.com">Link</a>


13) Which of the following tags is used to add a background image to a webpage in HTML?

a) <img>

b) <background>

c) <body>

d) <div>

ANS- c) <body>


14) Which of the following attributes is used to define the width of an HTML table?

a) width

b) size

c) length

d) height

ANS- a) width


15) Which of the following tags is used to create an unordered list with bullets?

a) <ol>

b) <ul>

c) <li>

d) <dl>

ANS - b) <ul>


Previous
Next Post »

জনপ্রিয় পোস্টসমূহ