Home » » HTML Objective Questions and Answers Module -2

HTML Objective Questions and Answers Module -2

11.Choose the correct HTML tag to make a text bold

·         <bold>
·         <b>
Ans: <b>
-------------------------------------------------------------------
12.Choose the correct HTML tag to make a text italic

·         <i>
·         <italic>
Ans: <i>
-------------------------------------------------------------------
13.What is extension of html file  ?

·          html
·          xml
·          xhtml
Ans: html
-------------------------------------------------------------------
14.What is the correct HTML for creating a hyperlink?

·         <a name="">A</a>
·         <a>B</a>
·         <a href="http://www.example.com">example</a>
·         <a url="http://www.example.com">example</a>     
Ans: <a href="http://www.example.com">example</a>
-------------------------------------------------------------------
15.How can we resize the image?

·         Using size attribute
·         Using height and width
Ans: Using height and width
-------------------------------------------------------------------
16.How can you create an e-mail link?

·         <mail href="a@b">
·         <mail>a@b</mail>
·         <a href="a@b">
·         <a href="mailto:a@b.com">
 Ans : <a href="mailto:a@b.com">

-------------------------------------------------------------------
17.How can you open a link in a new browser window?


·         <a href="url" new>
·         <a href="url" target="new">
·         <a href="url" target="_blank">
Ans: <a href="url" target="_blank">

-------------------------------------------------------------------
18.Which of these tags are all <table> tags?

·         <table><head><tfoot>
·         <table><tr><td>
·          <table><tr><tt>
·         <thead><body><tr>
Ans: <table><tr><td>
-------------------------------------------------------------------

19.Choose the correct HTML to left-align the content inside a tablecell

·         <td valign="left">
·         <tdleft>
·         <td leftalign>
·         <td align="left">

Ans: <td align="left">

-------------------------------------------------------------------
20.How can you make a list that lists the items with numbers?

·         <ul>
·         <list>
·         <ol>
·          <dl>
 Ans :<ol>



0 comments:

Post a Comment