Machine-translated by Google. Questions are authored in English.
Top

Computer Internet Questions and Answers

41.

Which HTML tag is NOT valid in strict DHTML structure ?

Exam Year(s)

Tripura Public Service Commission - 2026,

Answer: B

The tag not valid in the strict structure is <font>.

The <font> element sets typeface, size and colour directly in the markup. HTML 4.01 deprecated it and left it out of the Strict document type (and XHTML Strict), which keeps structure in HTML and presentation in CSS. DHTML is built on exactly that split: HTML for structure, CSS for appearance and JavaScript to change both through the DOM.

<script>, <span> and <div> are all valid in Strict, and they are the core of DHTML: scripts manipulate div and span elements to show, hide, move and restyle content.

Please log in or register to report this question.

42.

What is the most significant advantage of M-commerce over E-commerce ?

Exam Year(s)

Tripura Public Service Commission - 2026,

Answer: A

The most significant advantage is context-aware personalization.

M-commerce runs on a device the user carries everywhere. The service can therefore know the user's location, time and situation, and tailor offers, search results and payments to that context: nearby stores, local deals, location-based services. That ubiquity and context awareness is what sets m-commerce apart from desktop e-commerce.

Transaction costs are not inherently lower on mobile. Security is usually considered a challenge for mobile devices rather than an advantage. And m-commerce needs the mobile network infrastructure on top of the usual e-commerce systems, not less.

Please log in or register to report this question.

43.

In Hypertext Markup Language (HTML), a/an ______ is essentially a macro that allows a short name to be associated with replacement text.

Exam Year(s)

Tripura Public Service Commission - 2019,

Answer: A

The answer is an Entity.

In HTML (inherited from SGML), an entity is essentially a macro: a short name that stands for replacement text. Writing &copy;, for example, inserts the copyright symbol, and &lt; inserts a less-than sign that would otherwise start a tag.

An attribute adds information to an element's start tag, and a comment is text ignored by the browser; neither replaces a name with text. Since entity fits, 'None of the mentioned above' is wrong.

Please log in or register to report this question.

Answer: B

The correct statement is that in traditional HTML, the close tag for some elements is optional but not encouraged.

Traditional (SGML-based) HTML lets authors omit the end tags of certain elements, such as p, li, td and tr, because the parser can infer where they end. It is allowed but not good practice.

XHTML is XML, which must be well-formed: every element must be closed. So the options saying close tags are optional in XHTML are wrong, and 'None of the mentioned' is wrong because statement (b) is correct.

Please log in or register to report this question.

45.

Which of the following element is removed by HTML5 ?

Exam Year(s)

Tripura Public Service Commission - 2019,

Answer: B

The element removed in HTML5 is dir.

HTML5 dropped several presentational or redundant elements, among them dir (a directory list, replaced by ul), font, center, big, applet, frame and frameset.

vlink, marginwidth and compact are attributes, not elements: vlink set the colour of visited links, marginwidth belonged to frames, and compact was used on lists. So none of them answers a question about an element.

Please log in or register to report this question.

46.

What is the correct HTML for creating a hyperlink ?

Exam Year(s)

Tripura Public Service Commission - 2019,

Answer: C

The correct HTML is <a href="http://www.example com"> example </a>.

A hyperlink is made with the anchor element a, and its destination is given in the href attribute; the text between the tags is what the reader clicks.

The name attribute once marked a target within a page rather than creating a link, a bare <a> with no attribute links nowhere, and there is no url attribute in HTML.

Please log in or register to report this question.

47.

HTML markup language is a set of Markup ______.

Exam Year(s)

Tripura Public Service Commission - 2019,

Answer: B

HTML is a set of markup Tags.

HTML marks up a document with tags such as <p>, <h1> and <a>, which tell the browser how each part of the content is structured.

Attributes are extra information inside tags, not what the language is made of, and 'sets' and 'groups' are not HTML terms.

Each tag names an element, and most elements have an opening and a closing tag, for example a paragraph is marked with p tags and a heading with h1 to h6 tags.

Please log in or register to report this question.

48.

In Cascading Style Sheets (CSS), which of the following selector selects the elements that are checked ?

Exam Year(s)

Tripura Public Service Commission - 2019,

Answer: C

The selector is :checked.

The :checked pseudo-class matches radio buttons and checkboxes that are checked, and option elements that are selected, so they can be styled differently.

E ~ F is the general sibling combinator, matching an F element that follows an E element, and ::after is a pseudo-element that inserts content after an element. Since :checked is offered, 'None of the mentioned above' is wrong.

Please log in or register to report this question.

49.

In HTML, which of the following is the attribute that is used to add a name/value pair to a microdata item ?

Exam Year(s)

Tripura Public Service Commission - 2019,

Answer: C

The attribute is itemprop.

In HTML microdata, itemscope creates an item, and itemprop on a descendant element adds a property to it: the attribute's value is the property name and the element's content is its value, giving a name/value pair.

itemref pulls in properties from elsewhere in the page, and itemid gives the item a global identifier; neither adds a name/value pair itself. 'item scope' is not the spelling of any attribute.

Please log in or register to report this question.

50.

Which of the following HTML attributes is used to specify the background color of a page ?

Exam Year(s)

Tripura Public Service Commission - 2025,

Answer: A

The attribute is bgcolor.

In older HTML, the bgcolor attribute of the body tag, as in <body bgcolor="yellow">, set the background colour of a page. (Modern HTML uses the CSS property background-color instead.)

The background attribute set a background image, color is an attribute of the old font tag for text colour, and bg-color is not an HTML attribute.

Please log in or register to report this question.

Loading…

Other Subjects

Tags: Computer Internet Questions and Answers || Computer Internet MCQ Questions and Answers || Computer Internet GK Questions and Answers || Computer Internet GK MCQ Questions || Computer Internet Multiple Choice Questions and Answers || Computer Internet GK || GK on Computer Internet || Computer Awareness Questions and Answers || Computer Awareness MCQ Questions and Answers || Computer Awareness GK Questions and Answers || GK on Computer Awareness