Web Technologies MCQ Questions - Set 01 - ObjectiveBooks

Web Technologies MCQ Questions - Set 01

Practice Test: Question Set - 01


1. Character encoding is
    (A) Method used to represent numbers in a character
    (B) Method used to represent character in a number
    (C) A system that consists of a code which pairs each character with a pattern, sequence of natural numbers or electrical pulse in order to transmit the data
    (D) None of these

2. What would be the colors of the RGB where the hexadecimal values are #FF0000, #00FF00 and #0000FF respectively?
    (A) Blue, Green, Red
    (B) Green, Blue, Red
    (C) Green, Red, Blue
    (D) Red, Green, Blue

3. The following is a web-page:

<html>

<head> <title>JavaScript</title> </head>

<body bgcolor=”#0000ff”>

<script language=”JavaScript”>

<!– document.write(“<h1> hello world </h1>”); //–>

</script>

</body>

</html>

When the above web page is loaded into a browser, what will happen?

    (A) The body of the web page will not contain any text
    (B) The body of the web page will contain the text “<h1> hello world </h1>”
    (C) The body of the web page will contain the text “hello world” as an H1 heading
    (D) The background color of the web page will be green

4. A much better approach to establish the base URL is to use
    (A) BASE element
    (B) HEAD element
    (C) Both (a) and (b)
    (D) None of these

5. Consider the following script:

<html>

<head><title>JavaScript</title></head>

<body>

<script language=”JavaScript”>

document.write((125/5)%12);

</script>

</body>

</html>

What would be the output of the above script?

    (A) 0
    (B) 1
    (C) 2.083
    (D) 3

6. <INPUT> is
    (A) Format tag
    (B) Empty tag
    (C) Both (a) and (b)
    (D) None of these

7. The text inside the <TEXT AREA> tag works like
    (A) <P> formatted text
    (B) <T> formatted text
    (C) <PRE> formatted text
    (D) None of these

8. Consider the following entries in a Cascading Style Sheet (CSS) file.

P {colour: blue; background-colour: white; border-colour: red; border-left: solid}

BODY {colour: black; border-colour: green}

What is the colour of text in a paragraph of an HTML document that uses the above style sheet?

    (A) Green
    (B) Blue
    (C) Black
    (D) Red

9. Symbol used at the beginning of the HREF text is
    (A) #
    (B) $
    (C) &
    (D) ^

10. From which tag descriptive list starts?
    (A) <LL>
    (B) <DD>
    (C) <DL>
    (D) <DS>

Show and hide multiple DIV using JavaScript View All Answers

 Next Tests:


    Blogger Comment
    Facebook Comment