HTML/HTML and Web Page Designing MCQS Sample Test,Sample questions

Question:
 Choose the correct HTML tag for the smallest size heading?

1.<heading>

2.<h6>

3.<h1>

4. <head>


Question:
 Tags and test that are not directly displayed on the page are written in _____ section.

1.<html>

2.<head>

3.<title>

4.<body>


Question:
 What is the correct HTML for adding a background color?

1.<body color=”yellow”>

2. <body

3.bgcolor=”yellow”><background>yellow</background>

4.<body background=”yellow”>


Question:
 Which tag creates a check box for a form in HTML?

1. <checkbox>

2. <input

3.type="checkbox">

4.<input checkbox>


Question:
<b> tag makes the enclosed text bold. What is other tag to make text bold?

1.<strong>

2.<dar>

3.<black>

4.<emp>


Question:
<b> tag makes the enclosed text bold. What is other tag to make text bold?

1.<strong>

2.<dar>

3.<black>

4.<emp>


Question:
Awebpage displays a picture. What tag was used to display that picture?

1.picture

2.mage

3.img

4.src


Question:
Choose the correct HTML tag for the smallest size heading?

1. <heading>

2.<h6>

3.<h1>

4.<head>


Question:
Choose the correct HTML tag to make a text bold?

1.<b>

2.<bold>

3.<bb>

4.<bld>


Question:
Choose the correct HTML tag to make a text bold?

1.<b>

2.<bold>

3.<bb>

4.<bld>


Question:
Choose the correct HTML tag to make a text italic

1.<ii>

2.<italics>

3.<italic>

4.<i>


Question:
Choose the correct HTML tag to make a text italic

1.<ii>

2.<italics>

3.<italic>

4.<i>


Question:
How can you make a bulleted list?

1.<list>

2.<nl>

3.<ul>

4.<ol>


Question:
How can you make a bulleted list?

1.<list>

2.<nl>

3.<ul>

4.<ol>


Question:
How can you make a numbered list?

1.<dl>

2.<ol>

3.<list>

4.<ul>


Question:
How can you make a numbered list?

1.<dl>

2. <ol>

3.<list>

4. <ul>


Question:
How can you make an e-mail link?

1. <a href=”xxx@yyy ”>

2.<mail href=”xxx@yyy ”>

3.<mail>xxx@yyy </mail>

4.<a href=”mailto:xxx@yyy ”>


Question:
How can you make an e-mail link?

1.<a href="xxx@yyy ">

2. <mail href="xxx@yyy ">

3.<mail>xxx@yyy </mail>

4.<a href="mailto:xxx@yyy ">


Question:
HTML documents are saved in

1.Special binary format

2.Machine language codes

3.ASCII text

4.None of above


Question:
HTML supports

1.ordered lists

2.unordered lists

3.both type of lists

4.does not support those types


Question:
In HTML document the tags

1.Should be written in upper case

2.should be written in lower case

3.should be written in propercase

4.can be written in both uppercase or lowercase


Question:
A webpage displays a picture. What tag was used to display that picture?

1.picture

2.image

3.img

4.src


Question:
Marquee is a tag in HTML to

1.mark the list of items to maintaininqueue

2. Mark the text so that it is hidden in browser

3.Display text with scrolling effect

4.None of above


Question:
Some tags enclose the text. Those tags are known as

1.Couple tags

2.Single tags

3.Double tags

4.Pair tags


Question:
Tags and text that are not directly displayed on the page are written in _____ section.

1.<html>

2.<head>

3.<title>

4.<body>


Question:
The special formatting codes in HTML document used to present contentare

1.tags

2.attributes

3.values

4.None of above


Question:
The way the browser displays the object can be modified by _____

1.attributes

2.parameters

3.modifiers

4.None of above


Question:
The _____ character tells browsers to stop tagging the text

1.?

2./

3.>

4.%


Question:
There are ____ different of heading tags in HTML

1.4

2.5

3.6

4.7


Question:
To create a blank line in your web page

1. press Enter two times

2.press Shift + Enter

3. insert <BR> tag

4.insert <BLINE>


Question:
To create a combo box (drop down box) which tag will you use?

1.<select>

2.<list>

3.<input type="dropdown">

4.all of above


Question:
To create a combo box (drop down box) which tag will you use?

1.<select>

2.<list>

3.<input type="dropdown">

4. all of above


Question:
To create HTML document you requirea

1.web page editing software

2.High powered computer

3.Just a notepad can be used

4.None of above


Question:
What doesvlink attribute mean?

1.visited link

2. virtual link

3.very good link

4.active link


Question:
What doesvlink attribute mean?

1.visited link

2.virtual link

3.very good link

4.active link


Question:
What is the correct HTML for adding a background color?

1.<body color="yellow">

2.<body bgcolor="yellow">

3.<background>yellow</background>

4. <body background="yellow">


Question:
What is the correct HTML for making a hyperlink?

1. <a href=”http:// mcqsets.com“>ICT Trends Quiz</a>

2. <a href=”http:// mcqsets.com“>ICT Trends Quiz</a>

3.<https://mcqsets.com</a>

4.url=”https://mcqsets.com“>ICT Trends Quiz


Question:
What is the correct HTML for making a hyperlink?

1. <a href="http://mcqsets.com">MCQ Sets Quiz</a>

2.<a name="http://mcqsets.com">MCQ Sets Quiz</a>

3.<http://mcqsets.com</a>

4.url="http://mcqsets.com">MCQ Sets Quiz


Question:
What is the correct HTML tag for inserting a line break?

1.<br>

2.<lb>

3.<break>

4.<newline>


Question:
What is the correct HTML tag for inserting a line break?

1.<br>

2.<lb>

3.<break>

4.<newline>


Question:
What should be the first tag in any HTML document?

1.<head>

2. <title>

3. <html>

4. <document>


Question:
What should be the first tag in any HTML document?

1.<head>

2.<title>

3.<html>

4.<document>


Question:
What tag is used to list individual items of an ordered list?

1.LI

2.OL

3.UL

4.None of above


Question:
When should you use path along with file name of picture in IMG tag?

1.path is optional and not necessary

2.when the location of image file andhtml file are different

3.when image file and html file both are on same location

4.path is always necessary when inserting image


Question:
Which attribute can be used with BODY tag to set background color green?

1.background="green"

2.bgcolor="green"

3.vlink="green"

4.None of above


Question:
Which attribute is used to name an element uniquely?

1.class

2.id

3.dot

4.All of above


Question:
Which attribute is used to name an element uniquely?

1.class

2.d

3.dot

4. all of above


Question:
Which attribute is used withimg tag to display the text if image could not load in browser?

1.description

2.name

3.alt

4.id


Question:
Which attribute you’ll use with TD tag to merge two cells horizontally?

1.merge=colspan2

2.rowspan=2

3.colspan=2

4.merge=row2


Question:
Which of the following HTML code is valid?

1.<font colour="red">

2. <font color="red">

3.<red><font>

4.All of above are style tags


Question:
Which of the following is an attribute related to font tag?

1.size

2.face

3.color

4.All of above are style tags


Question:
Which of the following is not a pair tag?

1.<p>

2.< u >

3.<i>

4.<img>


Question:
Which of the following is not a pair tag?

1. <p>

2.< u >

3. <i>

4.<img>


Question:
Which of the following is not a style tag?

1.<b>

2.<tt>

3.<i>

4.All of above are style tags


Question:
Which of the following is not a valid alignment attribute?

1.Left

2.Right

3.Top

4.All of above are style tags


Question:
Which tag allows you to add a row in a table?

1.<td> and </td>

2. <cr> and </cr>

3.<th> and </th>

4. <tr> and </tr>


Question:
Which tag allows you to add a row in a table?

1.<td> and </td>

2.<cr> and </cr>

3.<th> and </th>

4.<tr> and </tr>


Question:
Which tag creates a check box for a form in HTML?

1.<checkbox>

2.<input type="checkbox">

3.<input=checkbox>

4.<input checkbox>


Question:
Which tag inserts a line horizontally on your web page?

1.<hr>

2.<line>

3.<line direction="horizontal">

4.<tr>


Question:
Which tag inserts a line horizontally on your web page?

1.<hr>

2.<line>

3.<line direction="horizontal">

4.<tr>


More MCQS

  1. HTML and Web Page Designing MCQS
  2. Computer Webpage Designing HTML MCQS Part 1
  3. Computer Webpage Designing HTML MCQS Part 2
  4. Computer Webpage Designing HTML MCQS Part 3
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!