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
-
Locale rule
-
Login page rules
-
Start page rules
-
Order evaluation rule
-
Rendering rules
-
Skin rules
C
Correct answer
Explanation
MWS supports various rule types for personalization and flow control, including Locale, Login page, Order evaluation, Rendering, and Skin rules. Start page rules are not a valid rule type in the MWS rule engine, making this the correct answer for 'not valid.'
-
Annotation
-
XML
-
HTML
-
None of the above
A
Correct answer
Explanation
EJB 3.0 introduced annotations as the primary mechanism for mapping entity columns to database columns, replacing the verbose XML deployment descriptors of earlier EJB versions. While XML mapping files are still supported as an alternative, annotations provide a simpler, more intuitive inline approach. HTML is never used for ORM mapping.
A
Correct answer
Explanation
In the SAP ABAP Dictionary, a data element defines semantic properties and can be associated with at most one domain, which defines the technical properties like data type and length. A data element cannot reference multiple domains simultaneously.
-
Nothing
-
Domain
-
Values
-
Data Element
D
Correct answer
Explanation
Search help parameters must be assigned to Data Elements. The Data Element provides the necessary type information (via its Domain) and semantic description needed for the search help to function correctly. You don't assign Domains directly to search help parameters, and 'Nothing' or 'Values' are not valid answers.
A
Correct answer
Explanation
In the SAP ABAP Dictionary, a data element represents the semantic definition of a field, while a domain represents its technical definition. A data element can be assigned to exactly one domain to inherit its data type, length, and value range.
-
Nothing
-
Domain
-
Values
-
Data Element
D
Correct answer
Explanation
Search help parameters must be assigned to a data element. The data element provides the parameter's definition including its semantic properties (description) and references a domain for technical attributes (data type, length). This ensures the search help parameter knows what type of data to handle and how to describe it to users.
-
.<style type="text/css">
-
.<link rel="stylesheet" type="text/css" href="r4rcss.css">
-
Both
-
None
B
Correct answer
Explanation
External CSS files are linked using the element placed in the HTML section. This approach separates content from presentation and allows multiple pages to share the same stylesheet. The tag is used for internal CSS embedded within the HTML document itself.
-
tag works in all browsers
-
is recommended now.
-
tag not supported for IE, Mazola etc. works in all browsers
-
is more will outdated
A,B
Correct answer
Explanation
The
tag is a self-closing element for line breaks. HTML5 allows
without the closing slash, but XHTML and earlier standards recommended
. Both syntaxes work in modern browsers, though the self-closing version is considered more standards-compliant.
-
HTML allow images and objects to be embedded on web page to create interactive forms by using some script
-
.HTML allow images and objects to be embedded on web page to create interactive forms by using tags.
-
Both of the above
-
None
B
Correct answer
Explanation
HTML allows images and objects to be embedded on a web page to create interactive forms using tags. While scripts can add dynamic behaviors, the capability to embed these objects is natively provided by standard HTML tags rather than scripting.
-
Using SSI include
-
Using JSP include
-
Using Asp include
-
All of the above
A
Correct answer
Explanation
Server Side Includes (SSI) are HTML directives that are evaluated on the server to add dynamic content to pages. The standard and most common file extension used to process these directives on the server is .shtml.
-
<html><head></head><body><title></<title></body></html>
-
<html><head><title></<title></head><body></body></html>
-
<html><head><title></<title><body></body></head></html>
-
<html><title></<title><head></head><body></body></html>
B
Correct answer
Explanation
HTML requires proper nesting: contains and . The contains , and contains page content. Option B correctly shows -> -> sequence with proper closing order. Other options have incorrect nesting like outside .
-
JavaScript and AJAX
-
CSS
-
LINQ
-
HTML
A
Correct answer
Explanation
Visual Studio 2008 (.NET 3.5) introduced IntelliSense support for JavaScript and AJAX to improve client-side development. CSS, LINQ, and HTML support existed or aren't the primary new feature.
-
page
-
request
-
context
-
application
-
None
-
context and application
C
Correct answer
Explanation
The valid scopes for jsp:useBean are page, request, session, and application. 'context' is not a valid scope value - it should be 'application' for application scope. Option C correctly identifies 'context' as invalid.
-
page
-
request
-
context
-
application
-
None
-
context and application
C
Correct answer
Explanation
The valid scope values for are: page (default), request, session, and application. 'context' is NOT a valid scope value. Option C is correct because 'context' is invalid. Option F claims both 'context and application' are invalid, but 'application' IS valid, so F is incorrect.