NIELIT M2-R5 O Level Model Paper 7

NIELIT M2-R5 O Level Model Paper 7

181-Choose the correct statement.
A) In traditional XHTML close tag for some elements is optional but not encouraged
B) In traditional HTML close tag for some elements is optional but not encouraged ✔️
C) In both traditional XHTML and HTML close tag for some elements is not optional
D) In both traditional XHTML and HTML close tag for some elements is optional

182-Which of the following XHTML doctype declaration contains all HTML elements and attributes, including presentational and deprecated elements (like font) but not framesets?
A) !DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”
B) !DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” ✔️
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”
C) !DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Frameset//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd”
D) <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”>

183-Which of the following is not a difference between HTML and XHTML?
A) Charset in html is “text/html” where as in xhtml it is “application/xml+xhtml”
B) Charset in both html and xhtml is “text/html” ✔️
C) Tags and attributes are case-insensitive in HTML but not in XHTML
D) Special characters must be escaped using character entities in XHTML unlike HTML

184-What indicates the content in file is HTML when delivered on the network.
A) The extension of the file “.html”
B) The “content-type” header ✔️
C) Both “.html” extension and “content-type” header
D) The “content_type” header

185-State whether the given statement is true or false. “We can intermix XHTML and HTML 4.01 documents”
A) True
B) False ✔️

186-HTML and XHTML stands for___
A) Hyper Text Markup Language and Extensible HyperText Markup Language ✔️
B) Hyper Text Markup Language and Extensible HyperText Marking Language
C) Hyper Text Marking Language and EXtensible HyperText Marking Language
D) Hyper Text Marking Language and Extensible HyperText Markup Language

187-Choose the correct tag for the largest heading in HTML.
A) h6
B) heading
C) h1 ✔️
D) head

188-Which of the following are table tags?
A) table, thead, tr, td ✔️
B) colspan, table, tr
C) table, tt, tr, td
D) thead, colspan, td, tr

189-Choose the correct HTML for width attribute and its value.
A) width=80
B) width=”80″ ✔️
C) WIDTH=”80″
D) WIDTH=80

190-A Rendering engine is not responsible for___
A) Parsing the markup content (HTML)
B) Parsing style information (CSS, XSL, and so on)
C) Generating a visual presentation of the formatted content including media files referenced
D) Parsing style information (CSS only) ✔️

191-Firefox uses___rendering engine.
A) WebKit
B) Gecko ✔️
C) Trident
D) Presto

192-State true or false. It is faster to render HTML and CSS than to interpret and execute JavaScript.
A) True ✔️
B) False

193.What is the use of “defer” attribute?
A) It defers rendering of html page
B) It defers script execution until the page has been rendered ✔️
C) It defers rendering of css attributes
D) It is only for internal scripts

194-Which of the following statements is false?
A) Async and defer attributes of script tag execute before the DOMContentLoaded event
B) Defer executes each script sequentially
C) Async executes each script when it is ready
D) All older browsers supports a sync attribute ✔️

195-Which of the following is used to read a HTML page and render it?
A) Web browser ✔️
B) Web server
C) Web matrix
D) Web network

196-A computer that translates ……. of another computer into an …… and vice versa, upon request is known as DNS server.
A) Domain name and IP address ✔️
B) Host address and Domain name
C) Domain name and server address
D) Server name and IP address

197-Identify the uses of URI in HTML.: i) Link to another document or resource ii) Link to external style sheet or script iii) Create an image map
A) i and ii
B) i and iii
C) ii and iii
D) i , ii and iii ✔️

198-An ordered list is a ….. list and an unordered list is a …. list.
A) Bulleted & numbered
B) Bulleted & tabular
C) Tabular & numbered
D) Numbered & bulleted ✔️

199-Linking to another place in the same or another web page requires two A (Anchor) tags, the first with the ….. attribute and the second the …..attribute.
A) NAME & LINK
B) LINK & HREF
C) HREF & NAME ✔️
D) TARGET & VALUE

200-What type of information should you avoid including on your Web site?
A) Links to sites of interest
B) Private personal information ✔️
C) Work and academic experience
D) Graphical

201-Which of the following web elements should you know about before building your web site?
A) The web audience ✔️
B) The operating environment of your ISP
C) The operating system of your visitor
D) Each consideration should determine your web design choices

202-What is the language of the Web?
A) Basic
B) C++
C) MS Visual Basic
D) HTML ✔️

203-What does an HTML tag do?
A) It specifies formatting and layout instructions for your web page. ✔️
B) It hides programming instructions from view.
C) It determines the organizational structure of your Web site.
D) It connects your web site to an operating environment.

204-A Web document is broken into sections. What are the tags called that create these sections?
A) Structure tags ✔️
B) HTML tags
C) Heading tags
D) Body tags

205-What should be the first and last pair of tags in your Web document?
A) <html></html> and <body></body> ✔️
B) <start><end> and <body></body>
C) <head><body> and <title></title>
D) <title></title> and <body<>/body>

206-When you use a heading tag in a document, what does the Web browser assumes?
A) Heading information is to appear in bold letters
B) Heading information is to appear on its own line ✔️
C) Heading information has a hyperlink
D) Heading information is shown as a size six

207-For every Web document, you can add words that appear in the upper left bar area of your browser. What set of tags allows you to provide this information?
A) <head></head>
B) <head><head>
C) <label><label>
D) <title></title> ✔️

208-If you wanted to create text that was a different color or font than other text in your Web page, what type of tag would you use?
A) Layout
B) Basic formatting ✔️
C) Design
D) Outline

209-When creating a Web document, what format is used to express an image’s height and width?
A) Centimeters
B) Pixels ✔️
C) Dots per inch
D) Inches

210-State whether the given statement is true or false. !DOCTYPE is case sensitive”.
A) True
B) False ✔️

O LEVEL M2-R5 (WEB DESIGNING AND PUBLISHING) MCQs OF HTML