- The bgcolor attribute is a prohibited attribute of the _____ element, in the strict DTD.
- ul
- br
- tr - correct answer
- a
- The body element is prohibited from having _____ as a child element, in the strict DTD.
- img
- textarea
- input
- all of the above - correct answer
- The clear attribute is a prohibited attribute of the ____ element, in the strict DTD.
- body
- br - correct answer
- caption
- a
- The code <font color="red">Hi</font> would not be considered valid code under the _____ DTD.
- transitional
- frameset
- strict - correct answer
- main
- The DOCTYPE is added directly after the XML prolog.
- True - correct answer
- False
- The following HTML code would likely be interpreted correctly by a browser even though the colspan attribute value is not enclosed in brackets: <td colspan=2>Heading</td>.
- true
- false - correct answer
- The most widely supported version of XHTML is XHTML _____.
- 1.0 - correct answer
- Basic
- 1.1
- 2.0
- The most widely supported version of XHTML is XHTML 1.0.
- true - correct answer
- false
- The namespace id for XHTML looks like a url, and is treated as one by the XML parser.
- true
- false - correct answer
- The path to a cleaner version of HTML involved rewriting HTML in terms of _____.
- CML
- SGML
- XML - correct answer
- Java
- The pre element is prohibited from having _____ as a child element, in the strict DTD.
- sub
- sup
- img
- all of the above - correct answer
- The rules for well-formed and valid documents reflect _____ practice.
- good coding - correct answer
- active design
- html
- parser
- The specifications for XHTML 1.0 most closely match those for HTML _____.
- 2.0
- 3.0
- 4.0 - correct answer
- 5.0
- The strict DTD is best used for older documents that contain depcreated features.
- true
- false - correct answer
- The strict DTD requires the use of the _____ attribute in place of the name attribute
- caption
- id - correct answer
- object
- link
- The W3C requires that the XHTML namespace to be added to the html element to avoid any possible confusion in the future when mixed documents become more prevalent.
- true - correct answer
- false
- The W3C validator is a(n) _____.
- XML parser - correct answer
- XML builder
- XML application
- XML namespace
- To declare a(n) _____ namespace, you use the syntax <root xmlns="namespace">
- local
- default - correct answer
- indexed
- main
- To specify what the correct content and structure for a document should be, the document developers create a collection of rules called the _____.
- XSL
- parser
- DTD - correct answer
- schema
- To specify what the correct content and structure is for a document, the developers of an XML-based language can create a collection of rules called the schema.
- true
- false - correct answer
- To specify which DTD is used by the XHTML document, you add a DOCTYPE declaration directly after the XML prolog.
- true - correct answer
- false
- To test a page created in XHTML, you can use the validator provided by W3C.
- true - correct answer
- false
- Unlike SGML, XML can be used to design markup languages for different types of structure documents.
- true
- false - correct answer
- Using the _____ option of the validator page will display extended comments for errors.
- Show Outline
- Result
- Root Element
- Verbose Output - correct answer
- Various Web browsers developed their own unique flavors of HTML to provide customers with new and useful features not available with other browsers.
- true - correct answer
- false
- Web designers have long been able to easily create Web sites without taking into account the cross-browser compatibility of the Web page code.
- True
- False - correct answer
- When converting old HTML code to XHTML, make sure that ll inline images contain the _____ attribute.
- target
- map
- src
- alt - correct answer
- When converting old HTML code to XHTML, make sure that attribute values are placed in _____.
- quotes - correct answer
- parentheses
- brackets
- commas
- When converting old HTML code to XHTML, make sure to replace the _____ attribute with the background-color style.
- background
- bgcolor - correct answer
- back
- body
- When converting old HTML code to XHTML, make sure to replace the use of the font element with either the _____ element or with qa style that applies the same formatting specified by the font element.
- div
- color
- span - correct answer
- format
- When converting old HTML code to XHTML, pay specific attention to the _____ element, which often does not have closing tags.
- p - correct answer
- td
- table
- tr
- When the XHTML 1.0 validator reports that the end tag for an element is missing, it means that _____.
- a two-sided tag is missing an end tag.
- a one-sided tag was improperly entered
- either a or b - correct answer
- none of the above
- Which attribute(s) are required for the img tag?
- alt
- src
- both a & b - correct answer
- none of the above
- Which of the following are allowed under the strict DTD?
- basefont
- menu
- u
- none of the above - correct answer
- Which of the following is required by all XHTML DTDs?
- html
- title
- body
- all of the above - correct answer
- Which tag is not properly formed for the XHTML 1.0 transitional DTD in the following code: <p><img src="mylmg.lpg" alt="alt text" /><hr />
- p - correct answer
- img
- hr
- none of the above
- While powerful, SGML is also quite simple to learn and apply.
- true
- false - correct answer
- XHTML allows some instances of attribute minimization.
- true
- false - correct answer
- XHTML documents without namespaces are not interpretable by most browsers.
- true
- false - correct answer
- XHTML version _____ is still in the development process.
- 2005
- 3.0
- 2.1
- 2.0 - correct answer
- XML documents must be evaluated with an XML _____.
- compiler
- executor
- parser - correct answer
- matrix
- XML parsers reject any XML documents that are not well-formed.
- True - correct answer
- False
- You can use _____ to force a link to open in a new window when using strict DTD.
- applets
- basic
- javascript - correct answer
- styles
- You change the _____ list box on the validator page to test an XHTML document with another DTD.
- File
- Encoding
- Doctype - correct answer
- Root Element
- Case 9-2: Under the Sea is a scuba shop that sells new wave scuba gear to hip urban teens and young adults. The Web developer, Mary, wants the pages to be designed for use on cell phones and other hand-held devices their younger audiences carry. The Web developer wants to make the pages their best, so she should make the pages _____.
- well-formed - wrong answer
- valid
- both a and b
- none of the above
- In _____ you can use any character you like without worrying about it being misinterpreted.
- PCDATA - wrong answer
- CDATA
- MAINDATA
- PDATA
- Parsers and browsers essentially ignore _____.
- PCDATA
- MAINDATA - wrong answer
- EDATA
- CDATA
- The _____ module of XHTML 1.1 is used for deprecated elements and attributes.
- Structure
- Legacy
- Metainformation
- Presentation - wrong answer
- The _____ module of XHTML 1.1 is used for links.
- Links - wrong answer
- Forms
- Hypertext
- Structure - wrong answer
- The target attribute is a prohibited attribute of the _____ element, in the strict DTD.
- body
- br
- caption - wrong answer
- a
- To create a(n) _____ namespace, you add the following attribute to a document's root element: xmlns:prefix="namespace" where prefix is the prefix you'll use to mark elements in this namespace and namespace is the namespace id.
- global
- default - wrong answer
- local
- main
- XHTML _____ is a reduced version of XHTML 1.1 geared toward mobile applications.
- 1.2
- Basic
- Mobile - wrong answer
- 2.0
Thursday, January 2, 2014
Tutorial 9 Questions 51 through 102
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment