HTML/HTML . MCQ SET 1 Sample Test,Sample questions

Question:
	
A linked page using anchor tag is normally displayed in the ____________

1.New Window

2.Current Window

3.New Tab

4.None of these


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

1.picture

2.image

3.img

4. src


Question:
	
Browsers automatically add an __________ before and after a paragraph.

1.empty line

2.underline

3.empty space

4.None of these


Question:
	
Default attribute value of "target" is ______________ in HTML.

1._top

2._blank

3._self

4._parent


Question:
	
Default color of active link in browser is ____________.

1.red

2.blue

3.green

4.brown


Question:
	
For Showing heading in HTML web page we use ____________ tag.

1.Strong

2.Article

3.Paragraph

4.Heading


Question:
	
HTML markup language is a set of Markup ___________.

1.Tags

2.Attributes

3.Groups

4.Sets


Question:
	
In Descendant Selector , style is applied to element based on ________ .

1. whether element have sub element or not

2.whether element have only 2 sub elements or not

3.whether element is of particular type or not

4.None of These


Question:
	
In HTML we have _________ type of heading tags.

1.7

2.4

3.6

4.5


Question:
	
Link URL in HTML is specified using __________ attribute.

1.src

2.href

3.link

4. rel


Question:
	
Relationship Between the Current document and the Linked document is specified using ___________ attribute.

1.href

2.relation

3.rel

4.target


Question:
	
To create a link to an e-mail address following syntax is used -

1.<a email="name@example.com">email</a>

2.<a href="mail:name@example.com">email</a>

3.<a href="mailto:name@example.com">email</a>

4.None of These


Question:
	
When trying to access a URL, the following message is displayed on the browser:
Server Error 403

What could be the reason for the message?

1.The requested HTML file is not available

2.The URL refers to a CGI script and the header of the script does not indicate where the interpreter is located

3.The path to the interpreter of the script file is invalid

4.The requested HTML file or CGI script has insufficient permission


Question:
	
Which is smallest Heading Tag ?

1.H3

2.H5

3.H6

4.H4


Question:
	
Which of the following defines a measurement as a percentage relative to another value, typically an enclosing element?

1. %

2.cm

3.em

4.ex


Question:
	
Which of the following is used to open document in new window ?

1.<a target="_self">Link</a>

2.<a target="_blank">Link</a>

3.<a target="_blank">Link</a>

4.<a target="_parent">Link</a>


Question:
	
Which of the following property is used as a shorthand to specify a number of other background properties?

1.background-attachment

2.background

3. background-repeat

4.background-position


Question:
	
Which of the following selector matches a particular element only when it lies inside a particular element?

1.The Type Selector

2.The Descendant Selector

3.The Universal Selector

4.The Class Selector


Question:
	
_________ attribute is used to specify , where to open the linked document.

1.target

2.coords

3.rel

4. pos


Question:
A group of font families with a similar look -

1.Generic Families

2.Cluster Families

3.Node Families

4.Grouped Families


Question:
Courier / Courier New" resembles following generic font family -

1.monospace

2.serif

3.cursive

4.fantasy


Question:
Currently clicking and holding down the mouse button on represents ___________ pseudo class.

1.a:link

2.a:visited

3.a:active

4.a:hover


Question:
Default Style and Color of Unvisited Link in any browser is ____________.

1. Normal and Blue

2.Underline and Pink

3.Underline and Magento

4.Underlined and Blue


Question:
Element that Currently has the user’s mouse pointer hovering over it represents one of the following Pseudo Class.

1. :hover

2.:hovar

3. :focus

4.:gotfocus


Question:
Following Style is applied to -
div.wrapper h2 {
    font-size: 18px;
    margin-top: 0;
}

1.Type 2 Heading inside Element div of class wrapper

2.Type 2 Heading inside Element div with id wrapper

3.Type 2 Heading inside Element div of any class

4.None Of These


Question:
Following tag Stands for -
<a>

1.Active Tag

2.Action Tag

3.Anchor Tag

4.Additional Tag


Question:
Fonts such as Times New Roman which have spaces in between must be wrapped inside ______ .

1.Quotation Mark

2.Round Brackets

3. Triangular Brackets

4. Curly Braces


Question:
How many type faces inside property "font-family" ?

1.1

2. Maximum 2

3.No Limit

4.Maximum 3


Question:
HTML Document can contain ______________.

1.Attributes

2.Tags

3.Plain Text

4.All of these


Question:
HTML is basically used to design

1.Database

2.Graphics

3.Tables and Frames

4.Web-page


Question:
HTML is considered as _________ language.

1.Higher Level Language

2.Markup Language

3.OOP Language

4.Programming Language


Question:
HTML Links can be styled using ___________.

1. CSS

2.JavaScript

3.XML

4.PHP


Question:
HTML program can be read and rendered by _________.

1.Compiler

2.Web Browser

3.Server

4.Interpreter


Question:
HTML program is saved using ____________ extension.

1..htnl

2. .htl

3. .hml

4..html


Question:
HTML stands for?

1.Hyper Text Markup Language

2. High Text Markup Language

3.Hyper Tabular Markup Language

4.None of these


Question:
HTML supports

1.ordered lists

2.unordered lists

3. both of the above

4.None of the above


Question:
HTML tags are surrounded by __________ brackets.

1.Square

2.Round

3.Angle

4.Curly


Question:
HTML tags are used to describe document ___________.

1.Content

2.Definition

3.Language

4.None of these


Question:
HTML was firstly proposed in year _______.

1. 1995

2.1990

3.2000

4.1980


Question:
In HTML , If we need to send the email then href attribute of anchor tag starts with _________ keyword.

1. email

2.mailto

3.mail

4.None of these


Question:
Link in HTML can be of following type(s).

1.Visited

2.Active

3.Unvisited

4. All are the Types of Links


Question:
Multiple font faces are separated by __________ .

1.Semicolon

2.Comma

3.Dot

4.Slash


Question:
Name the section at the top of the document used to place the name, page number etc. :

1.Header

2.Web Layout

3.Footer

4.Hyperlink


Question:
Opening Tag of HTML Tag is called as __________.

1.Ending Tag

2.Closed Tag

3.Starting Tag

4.Forward Tag


Question:
Page Designed in HTML is called as ________.

1.Front Page

2.Yellow Page

3.Server Page

4.Web Page


Question:
Pseudo-classes are used to represent ___________________.

1.Static Events

2.Dynamic Events

3.Related Events

4.Casual Events


Question:
Text written inside the following pair of tags is considered as paragraph.

1.<p></p>

2. <paragraph></paragraph>

3.<para></para>

4.None of These


Question:
The attribute, which define the relationship between current document and HREF'ed URL is

1.REL

2.URL

3.REV

4.None of the above


Question:
The language used for creating web pages

1.HyperText Machine Language

2.HyperText Markup Language

3.HyperText Makeup Language

4.HyperText Manage Language


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

1.tags

2.attributes

3.values

4.None of above


Question:
There are ____ different of heading tags in HTML.

1.4

2.5

3.6

4.7


Question:
Value of Attribute "href" is also called as __________ of the Destination Web Page.

1.URM

2.URL

3.URK

4.URS


Question:
Visited Link in Mozilla Firefox is Generally shown in __________ Color.

1.Brown

2.Purple

3.Blue

4. Red


Question:
We write single ______ before the pseudo-class property.

1.Colon

2. Dot

3.Hash

4.Semicolon


Question:
Which is largest Heading tag ?

1. H3

2.H4

3.H2

4.H1


Question:
Which of the Anchor Attribute is used to specify the language of the linked document ?

1.alang

2.lang

3.hreflang

4.None of these


Question:
Which of the following attributes of text box control allow to limit the maximum character?

1.size

2.len

3.maxlength

4.All of the above


Question:
Which of the following fonts are Generic Fonts ?

1.Cursive

2.Serif

3.Monospace

4.All of the above


Question:
Which of the following is correct about Hex Code format of CSS colors?

1.The first two digits(RR) represent a red value.

2.The next two are a green value(GG).

3.The last are the blue value(BB).

4.All of the above


Question:
Which of the following is not an example of browser ?

1.Netscape Navigator

2.Opera

3.Mozilla Firefox

4.Microsoft's Bing


Question:
Which of the following is used to represent unvisited hyperlink.

1. :link

2.:nonvisited

3. :unvisited

4. :fresh


Question:
Which of the following is used to represent Visited hyperlink.

1. :visited

2.:clicked

3. :focus

4. :link


Question:
Which of the following options is correct with regard to HTML?

1.It is a modelling language

2.It is a DTP language

3.It is a partial programming language

4.It is used to structure documents


Question:
Which of the following property is used to increase or decrease how bold or light a font appears?

1.font-family

2. font-style

3. font-variant

4. font-weight


Question:
Which of the following property is used to set the opacity of an image?

1.border

2.height

3.width

4.moz-opacity


Question:
Which of the following property specifies whether a long point that wraps to a second line should align with the first line or start underneath the start of the marker of a list?

1.list-style-type

2. list-style-position

3.list-style-image

4. list-style


Question:
Which of the following tag is used to link the URL ?

1. <a>

2.<style>

3. <link>

4. <hyperlink>


Question:
Which of the Style is applied to the H1 heading by default ?

1.Italic

2. Bold and Underline

3.Bold

4.Underline


Question:
Which property is used to specify typefaces ?

1. font-family

2.font-name

3.font-face

4.font-type


Question:
Which tag is used to divide the HTML document into the paragraphs ?

1.paragraph

2.par

3.para

4.P


Question:
Who was the primary author of HTML (Hyper Text Markup Language) ?

1.Brendan Eich

2.Tim Berners-Lee

3.Google Inc.

4.Sabeer Bhatiya


Question:
_______ attribute is used to specify MIME type of linked document ?

1.Rev Attribute

2.Type Attribute

3.Media Attribute

4.MIME Attribute


Question:
_________ attribute specifies what media/device the linked document is optimized for ?

1.device

2.media

3.name

4.href


Question:
_________ defines the most important heading ?

1.H1

2.H4

3.H6

4.H2


Question:
__________ automatically add some empty space (a margin) before and after each heading.

1.Browser

2.Interpreter

3.Server

4.Compiler


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
  5. HTML Mcq Question Set 1
  6. HTML Mcq Question Set 2
  7. HTML Mcq Question Set 3
  8. HTML Mcq Question Set 4
  9. HTML Mcq Question Set 5
  10. HTML Mcq Question Set 6
  11. HTML Mcq Question Set 7
  12. HTML Mcq Question Set 8
  13. HTML Mcq Question Set 9
  14. HTML Mcq Question Set 10
  15. HTML Mcq Question Set 11
  16. HTML Mcq Question Set 12
  17. HTML Mcq Question Set 13
  18. HTML Mcq Question Set 14
  19. HTML Mcq Question Set 15
  20. HTML Mcq Question Set 16
  21. HTML Mcq Question Set 17
  22. HTML Mcq Question Set 18
  23. HTML Mcq
  24. HTML . MCQ SET 1
  25. HTML . MCQ SET 2
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!