0% found this document useful (0 votes)
24 views24 pages

(C) - Markup Language

The document contains 60 multiple choice questions about HTML (Hypertext Markup Language). It covers topics like what type of language HTML is, who invented it, file extensions, tags used, attributes, elements, and versions. The questions test fundamental knowledge about HTML structure, syntax, tags, attributes, and their uses in creating web pages.

Uploaded by

jeowp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views24 pages

(C) - Markup Language

The document contains 60 multiple choice questions about HTML (Hypertext Markup Language). It covers topics like what type of language HTML is, who invented it, file extensions, tags used, attributes, elements, and versions. The questions test fundamental knowledge about HTML structure, syntax, tags, attributes, and their uses in creating web pages.

Uploaded by

jeowp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

Q1. What type of language is an HTML?

(a). Scripting language

(b). Programming language

(c). Markup language

(d). None of these

Q2. Who is known as the main inventor of HTML?

(a). Blaise Pascal

(b). Charles Babbage

(c). Herman Hollerith

(d). Tim Berners-Lee

Q3. Which of the following is the extension of an HTML document?

(a) .htl

(b) .html

(c) .hml
(d) .htnl

Q4. Which of the following are contained in an HTML document?

(a) Attributes

(b) Tags

(c) Plain text

(d) All of these

Q5. In which year was the first version of HTML released for public use?

(a) 1996

(b) 1998

(c) 1991

(d) 1992

Q6. HTML uses:

(a) user defined tags


(b) pre-specified tags

(c) fixed tags defined by the language

(d) tags only for linking

Q7. The year in which HTML was first proposed..........................

(a) 1990

(b) 1980

(c) 2000

(d) 1995

Q 8. Fundamental HTML Block is known as ..............

(a) HTML body

(b) HTML tag

(c) HTML attribute

(d) HTML element


09. Which of the following is the latest version of HTML?

(a) HTML 0

(b) HTML 1

(c). HTML 5

(d) All of these

Q.10. You can either use .html or .htm extension to save the html document. Always type the
extension in .....................

(a) lowercase

(b) uppercase

(c) Both a and b

(d) None of these

Q11. What is the full form of HTML?

(a) Hypertext Markup Language

(b) Hyperteach Markup Language


(c) Hypertech Markup Language

(d) None of the above

Q 12. The term Hypertext was launched by Ted Nelson in ........

(a) 1967

(b) 1965

(c) 1963

(d) 1968

Q 13. Hypertext is ............. as it enables a viewer to move from one location to another on the same
page.

(a) non-linear

(b) linear

(c) Both a and b

(d) None of these

?
Q 14. ................. means to instruct the web browser program.

(a) Markup

(b) Textup

(c) Both a and b

(d) None of these

Q 15. What should be the first tag in any HTML document?

(a) <head>

(b) <title>

(c) <html>

(d) documents

Q16. HTML web pages can be read and rendered by ......................

(a) compiler

(b) server

(c) web browser


(d) interpreter

Q 17. ............... editors allow you to create web pages without writing HTML commands/tags.

(a) WYSIWYG

(b) Notepad

(c) MS word

(d) None of these

Q 18. Which of the following element is responsible for making the text bold in HTML?

(a) <pre>

(b) <a>

(c) <b>

(d) <br>

Q 19. The ............... is the property that one wants to set for a tag.

(a) attribute name


(b) attribute value

(c) Both a and b

(d) None of these

Q 20. The ................ attribute is used to set the alignment of the heading text on the web page.

(a) valign

(b) galign

(c) calign

(d) align

Q 21. Attribute names and attribute values are...............

(a) not case sensitive

(b) case sensitive

(c) Both a and b

(d) None of these


Q 22. The attribute value is the value of the property to be set and usually it is enclosed in ................

(a) double quotes

(b) single quotes

(c) half quotes

(d) triple quotes

Q 23. ........... contains the title of a web page, which is displayed in the title bar of the browser.

(a) Title tag

(b) Head tag

(c) Body tag

(d) All of these

Q 24. Title tag is also an ............ tag.

(a) compulsary

(b) Optional
(c) empty

(d) None of these

Q 25. <TITLE> tag is a ...................

(a) container tag

(b) empty tag

(c) Both a and b

(d) None of these

Q 26. ............... interprets everything between <HTML> and </HTML> as an HTML document.

(a) Webpage

(b) Website

(c) Web browser

(d) Search engine


Q 27. ............. tag encloses the main content of the web page as well as different other tags that
format the appearance of the web page content.

(a) Title

(b) Head

(c) Body

(d) None of these

Q 28. For creating an HTML document, we are using Notepad as a ............. editor.

(a) text

(b) file

(c) document

(d) None of these

Q 29. Apart from <b> tag, what other tag makes text bold?

(a) <at>

(b) <strong>

(c) <black>
(d) <emp>

Q 30. What is the opening tag of HTML called?

(a) Ending tag

(b) Starting tag

(c) Closed tag

(d) Pair tag

Q 31. An HTML document is divided into:

(a) Start section

(b) Head section

(c) Body section and End section

(d) All of the above

Q 32. HTML is .............. language.


(a) non-case sensitive

(b) case sensitive

(c) Both a. and b.

(d) All of these

Q 33. Which of the following is not an example of browser?

(a) Netscape navigator

(b) Microsoft bing

(c) Mozilla firefox

(d) Opera

Q 34. Which of the following brackets surround HTML tags?

(a) Angle

(b) Square

(c) Round

(d) Curly
?

Q 35. Which of the following tags is used for italicising the text?

(a) <U>

(b) <B>

(c) <I>

(d) None of these

Q 36. Which of the following is the largest heading tag?

(a) H1

(b) H3

(c) H4

(d) H6

Q 37. Which of the following tags contains the Title tag?

(a) Body

(b) Head
(c) List

(d) Table

Q 38. Which of the following is the default font size of HTML?

(a) 2

(b) 4

(c) 6

(d) 3

Q 39. BODY tag has only one attribute which is known as.

(a) vlink

(b) alink

(c) lang

(d) None of these


40. The ............. attribute has language code as a value.

(a) lang

(b) marquee

(c) basefont

(d) None of these

Q 41. Different language codes are specified by .............. there to denote the different
languages used all over the world, out of which you can use a code for specifying the
language that you require.

(a) IEEE

(b) IRTF

(c) IETF

(d) ISO

Q 42. ............... tag is an optional tag and it is not mandatory to use this tag in an HTML
document.
(a) Body

(b) Head
(c) html

(d) None of these

Q 43. The. .. tag specifies a default text colour, font size or font family for all the text
added in a web page.

(a) <basefont>

(b) lang

(c) <alink>

(d) <marquee>

Q 44. Face value specifies the ........... face.

(a) text

(b) font

(c) document

(d) None of these


Q 45............... value specifies either the colour name or colour code.

(a) Colour

(b) Editing

(c) Documenting

(d) Lookup

Q 46. .. ........ value specifies the size of the text to be added in a web page.

(a) Font size

(b) Font type

(c) Size

(d) All of these

Q 47. Which of the following is the attribute of the Font tag?

(a) Face

(b) Size

(c) Color
(d) All of these

Q 48. Which of the following tags is used for displaying the underlined text?

(a) <U>

(b) <B>

(c) <I>

(d) None of these

Q 49. The ………. attribute of the BODY tag specifies the background colour of a web
page.

(a) bgcolor

(b) background

(c) backcolor

(d) None of these

Q 50. The ............ attribute of the BODY tag specifies the colour of the text to be displayed on a web
page.
(a) Text

(b) Font

(c) Data type

(d) All of these

Q 51. To create a web page, we need

(a) notepad

(b) web browser

(c) Both (a) and (b)

(d) None of these

Q. 52. To start a list using square, use

(a)<UL type = "square">

(b) <OL type="square">

(c) <UL type="¦">

(d) <OL type="¦">


Q 53. leftmargin is an attribute of which tag?

(a) <FONT>

(b)<HR>

(c) <BODY>

(d) <HEAD>

Q 54. purple is the default color of

(a) link attribute

(b) alink attribute

(c) slink attribute

(d) vlink attribute

Q 55. Choose the correct code to display horizontal line of blue color.

(a) <HR color="blue">


(b) <HR> color="blue"

(c) <HR>Blue

(d) <HR color=blue>

Q 56. Which of the following tag is an empty tag?

(a) <OL>

(b) <UL>

(c) <LI>

(d) <DL>

Q 57. To start a list with lowercase roman numerals from 4, we should write

(a) <UL type="1" start="4">

(b) <OL type="1" start="4">

(c) <OL type="4" start="1">

(d) <UL type="4" start="1">


Q 58. Identify the output of following code.

Hard <B> Work </B>

(a) Hard Work

(b) Hard Work

(c) Hard Work

(d) Hard

Work

Q 59. HTML code to create a paragraph whose text color is yellow.

(a) <P>

<FONT color="yellow">

</FONT>

</P>

(b) <P color="yellow">

(c) <p> color="yellow"</P>

(d) None of these 1


60. <BR> tag is used for

(a) line break

(b) paragraph

(c) bold text

(d) heading

You might also like