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
B
Correct answer
Explanation
AJAX is a web development technique that uses JavaScript to make asynchronous requests to a server. The 'J' stands for JavaScript, not Java - they are completely different technologies.
B
Correct answer
Explanation
DTD stands for Document Type Definition, not Document Type Design. A DTD defines the structure, legal elements, and attributes of an XML document, acting as a blueprint that validates whether an XML file follows the correct format.
B
Correct answer
Explanation
JSON stands for JavaScript Object Notation, not JavaScript Object Name. It's a lightweight, text-based data interchange format inspired by JavaScript object syntax but now language-independent, widely used for APIs and configuration files.
A
Correct answer
Explanation
RDF (Resource Description Framework) is a standard model for data interchange on the Web, representing information as subject-predicate-object triples. It's foundational to the Semantic Web, enabling machines to understand and process data relationships.
B
Correct answer
Explanation
SGML stands for Standard Generalized Markup Language, not Standard GUI Markup Language. Therefore, the statement is false, and the stored answer is correct.
A
Correct answer
Explanation
DOM (Document Object Model) is a programming interface that represents HTML and XML documents as a tree of objects. Each element, attribute, and text becomes a node that can be dynamically accessed and modified with languages like JavaScript.
B
Correct answer
Explanation
DHTML stands for Dynamic HTML, not Declarative Hyper Text Markup Language. DHTML refers to the combination of HTML, CSS, and JavaScript that creates interactive, animated web pages that can change after loading without server requests.
B
Correct answer
Explanation
XSLT stands for Extensible Stylesheet Language Transformations, not Transactions. It's a language for transforming XML documents into other formats (HTML, plain text, or different XML structures), making it essential for data conversion and publishing workflows.
B
Correct answer
Explanation
XHTML stands for eXtensible HyperText Markup Language, which is a reformulation of HTML as an XML application. The 'X' stands for eXtensible (referring to XML), not Extended.
A
Correct answer
Explanation
WYSIWYG accurately describes editors where the content displayed during editing closely matches its final appearance. This concept is fundamental in document editing software and web design tools.
-
Jerome
-
Davin
-
error
-
firstname
A
Correct answer
Explanation
The code creates an object using the Object constructor, assigns firstname='Jerome' and lastname='Davin', then alerts personObj.firstname which outputs 'Jerome'. The alert() function displays the value of the firstname property.
-
JavaScript
-
Multiplatform Compatible Script
-
Web Application security vulnerability to inject client side scripting into web pages viewed in other user sessions
-
Extended Secure Scripting
C
Correct answer
Explanation
Cross-site scripting (XSS) is a security vulnerability that allows attackers to inject malicious client-side scripts into web pages viewed by other users. It exploits the trust a browser has for the vulnerable site. The injected scripts execute in the context of the victim's session, potentially stealing cookies or session tokens.
C
Correct answer
Explanation
The ODS CLOSE statement terminates the current output destination and closes the HTML file. This is the standard method to end ODS output capture. END, QUIT, and STOP are not valid ODS statement options for closing output destinations.
-
The code is perfectly valid. It sets the specified value in the web
-
name property is incorrectly defined for the link object
-
Syntax of Description object is incorrect.
-
Defined link object is incorrectly used as an edit box object. Hence issuing a Set method is invalid
D
Correct answer
Explanation
The code creates a Description object for a Link (micclass="Link", name="username"), but then attempts to use it with WebEdit().Set method. This is invalid because a Link object cannot be treated as a WebEdit. The correct approach would be to either create a WebEdit Description or use a Link method like Click.