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
  1. ASP.Net has XML-based components

  2. ASP.Net provides user authentication

  3. ASP.Net provides better language support

  4. All of the above

  5. Only (1) and (3)

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

Yes, all the three are true about ASP .Net.

Multiple choice
  1. The content of a webpage can be changed dynamically using InnerHTML.

  2. The id of an element can be referred by using getElement() method.

  3. InnerHTML is not a part of DOM.

  4. It was introduced by Microsoft.

  5. It is valid for both block and inline elements.

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

Each element that we want to modify dynamically must be assigned a unique id. The InnerHTML property is used along with the getElementById() method to refer to a particular element by using its id.

Multiple choice
  1. a header

  2. a status line

  3. a status line and a header

  4. a request line

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

An HTTP request message always contains a request line, which includes the HTTP method (GET, POST, etc.), the requested URI, and the HTTP version. Headers and body are optional but the request line is mandatory.

Multiple choice
  1. Hypertext markup language

  2. Hypotext mark language

  3. High text markup languages

  4. Hypertext meta language

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

HTML stands for Hypertext Markup Language. It is the standard markup language for creating web pages. 'Hypertext' refers to links that connect web pages, and 'Markup Language' means it uses tags to define elements within a document. Options B, C, and D are incorrect variations.

Multiple choice
  1. { }

  2. ( )

  3. < >

  4. [ ]

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

HTML tags are enclosed in angle brackets: < and >. This syntax is fundamental to HTML and comes from SGML (Standard Generalized Markup Language). For example,

is a paragraph tag. Curly braces {}, parentheses (), and square brackets [] are used for other purposes in programming but not for HTML tags.