Computer Knowledge

Markup and Web Languages

1,701 Questions

Test your understanding of HTML tags, XML structures, and web page creation technologies. The questions cover elements like CSS styling, parsing documents, and defining web attributes. This section is essential for candidates appearing for computer proficiency tests in various competitive exams.

HTML tags and attributesXML document parsingCSS styling levelsWeb page creation basicsBrowser compatibility

Markup and Web Languages Questions

Multiple choice general knowledge
  1. TRUE

  2. FALSE

  3. It depends on the browser

  4. Only if the CSS makes it display that way

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The tag defines the browser tab title, not visible page content. It appears in the browser window title bar or tab, not as text on the webpage itself. To display large bold text on a page, use heading tags like

through

in the body section.

Multiple choice general knowledge
  1. specific places within a particular page.

  2. other pages within your website.

  3. pages anywhere on the Internet.

  4. All of these are correct

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The anchor tag is versatile and can link to specific locations within the same page (using # with id), other pages on the same website (relative paths), or any page on the internet (absolute URLs). This flexibility makes it fundamental for web navigation and creating interconnected content.

Multiple choice general knowledge
  1. .xml

  2. .css

  3. .ccs

  4. .xhtml

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

CSS files always use the .css extension as the standard file naming convention. .xml is for XML data files, .ccs is not a recognized extension, and .xhtml is specifically for XHTML documents.

Multiple choice general knowledge
  1. Brackets, just like HTML

  2. Parentheses.

  3. Curly brackets.

  4. Forward slashes.

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

CSS uses curly brackets { } to contain style declarations for selectors. HTML uses angle brackets < > for tags, while parentheses ( ) are used in CSS for functions like calc(), url(), or rgb().

Multiple choice general knowledge
  1. Extensive Markup Language

  2. Extensible markup language

  3. External markup language

  4. Extern markup language

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

XML stands for eXtensible Markup Language. Option B correctly identifies this full form (capitalization varies). The key word is 'extensible' meaning it can be expanded with custom tags, unlike HTML which has fixed tags. Option A incorrectly uses 'Extensive' and C/D use wrong prefixes.

Multiple choice general knowledge science & technology
  1. WEBScript

  2. SUNScript

  3. ECMAScript

  4. HTLMScript

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

JavaScript is the common name for the language, but the official specification maintained by ECMA International is called ECMAScript. The language is standardized under this name to ensure consistency across different implementations (browsers, Node.js, etc.).

Multiple choice general knowledge science & technology
  1. Assimilation of JavaScript And XML

  2. Asynchronous JavaScript And Xcel

  3. Asynchronous JavaScript And XML

  4. Accentuation of JavaScript And XML

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

AJAX stands for Asynchronous JavaScript and XML. It's a web development technique that allows web applications to send and receive data from a server asynchronously without interfering with the display and behavior of the existing page, making web applications more responsive and dynamic.

Multiple choice general knowledge science & technology
  1. eXtensive Markup Language

  2. eXtensive Markup List

  3. eXtension Markup List

  4. eXtensible Markup Language

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

XML stands for eXtensible Markup Language, not eXtensive. The name reflects its core design principle - it allows users to define their own custom markup tags, making it 'extensible' rather than being an extensive set of predefined tags.

Multiple choice general knowledge
  1. <js>

  2. <script>

  3. <javascript>

  4. <scripting>

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

JavaScript code is placed inside the `` element in HTML. This element can appear in the head or body section. The other options (<js>, <javascript>, <scripting>) are not valid HTML elements and will not execute JavaScript code.

Multiple choice general knowledge
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

External scripts are referenced via the src attribute in tags and are never displayed on the page. Browsers that don't understand JavaScript simply ignore the entire <script> element. Comment hiding was only needed for inline scripts to prevent code from displaying as text content, not for external script files.

Multiple choice general knowledge
  1. when another event is still being processed

  2. when Javascript is disabled

  3. when the page uses stylesheets

  4. when it is running locally instead of on the web

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

When JavaScript is disabled in the browser, no JavaScript code can execute, including event handlers. This is typically a browser setting that users can configure. The presence of stylesheets, local execution, or other events being processed does not prevent JavaScript execution.

Multiple choice general knowledge
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

External JavaScript files (.js) contain only JavaScript code without any HTML tags. The script tag with the src attribute is placed in the HTML document to load the external file. If you include script tags in an external .js file, it would cause JavaScript syntax errors.

Multiple choice general knowledge
  1. Solve equations

  2. Author webpages

  3. Translate one language into another

  4. Plot complicated graphs

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

HTML (HyperText Markup Language) is the standard markup language for creating and designing web pages. It defines the structure and layout of web content, not mathematical solving, translation, or graph plotting.