1. Question: A <doctype> defines the document type of any XHTML document. It can be of three types:

    A
    Strict, Transitional, and Frameset

    B
    Strict, Transitional and Loose

    C
    Fixed, Intermediate and Loose

    D
    Fixed, Intermediate, Frameset

    Note: Not available
    1. Report
  2. Question: Which of the following statements is correct with regard to DTDs?

    A
    A strict DTD allows the user to use cascading style sheets

    B
    A transitional DTD displays content in those browsers which don’t support CSS

    C
    A frameset DTD is used to partition the browser window

    D
    All of the above

    Note: Not available
    1. Report
  3. Question: Which of these tags will create a single space character?

    A
    <td>

    B
    <th>

    C
    &nbsp;

    D
    <b>

    Note: Not available
    1. Report
  4. Question: Which of the following statements is correct for the <blockquote> tag?

    A
    The text under blockquote must be enclosed in a block level element in a strict DTD documentb.

    B
    The attribute named “cite” must be specified

    C
    Closing the tag is optional

    D
    It doesn’t place an empty line after the text

    Note: Not available
    1. Report
  5. Question: A developer wrote this image tag: <img src =”states.gif” width =”330? height =”406? alt=”States” usemap =”#statemap” /> What code should follow this?

    A
    <map id =”statemap” name=”statemap”>
    
    <area shape =”rect” coords =”0,0,82,126? href=”state1.htm” alt=”State1? />
    
    </map>

    B
    <map id =”statemap” name=”statemap”></map>
    <area shape =”rect” coords =”0,0,82,126? href=”state1.htm” alt=”State1? />

    C
    <map id =”statemap” name=”statemap”>
    <imgarea shape =”rect” coords =”0,0,82,126? href=”state1.htm” alt=”State1? /></map>

    D
    <map id =”statemap” name=”statemap”></map>
    <imgarea shape =”rect” coords =”0,0,82,126? href=”state1.htm” alt=”State1? />

    Note: Not available
    1. Report
  6. Question: Which attributes of the <table> tag is deprecated in HTML 4.01 and not supported in strict DTD XHTML?

    A
    Align

    B
    bgcolor

    C
    cellspacing

    Note: Not available
    1. Report
  7. Question: Which of the following represents the basic tag structure of an XHTML document?

    A
    <html><head><body></body></html>

    B
    <html><body></body></html>

    C
    <html><head></head><body></body></html>

    D
    <html><head></head></html>

    Note: Not available
    1. Report
  8. Question: Please choose the most appropriate option. One of the differences between XHTML and HTML 4.01 is that the “name” attribute has been replaced by the “id” attribute in:

    A
    img and applet tags

    B
    img and map tags

    C
    map and frame tags

    D
    img, map, frame and applet tags

    E
    frame, applet, style and map tags

    Note: Not available
    1. Report
  9. Question: You have defined the following image in an XHTML document: <img src=”/image/logo.gif” id=”img1? />

    A
    The code will only work properly in a browser that supports XHTML

    B
    The code will work properly in a browser that supports both HTML 4.x and XHTML

    C
    The code will only work properly in a browser that supports HTML 4.x

    D
    The code is incorrect, it will not work in any browser

    Note: Not available
    1. Report
  10. Question: Which of the following is incorrect about the relation between HTML and XHTML?

    A
    XHTML is a stricter and cleaner version of HTML.

    B
    XHTML is almost identical to HTML 4.01.

    C
    XHTML and HTML both are used to generate dynamic content.

    D
    XHTML brings together the elements of HTML and the syntax of XML.

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd