Sunteți pe pagina 1din 4

Comprehension Check

1. The Internet was original designed as a communications network capable of surviving a nuclear attack. True or False? 2. URL stands for _____. a. b. c. d. 3. Unique Resource List Unnamed Reference Locator Uniform Resource List Uniform Resource Locator

A Web browsers process of assembling and formatting an HTML document is called _____. (Choose all that apply.) a. b. c. d. parsing painting rendering compiling

4.

What does the term Web site programming refer to? Web site programming refers to the design of software applications for a Web site. The Web developer usually works behind the scenes to create software applications that access databases and file systems, communicate with other applications, and perform other advanced tasks that may not necessarily be seen by a visitor to the Web site.

5.

Your goal should be to create Web pages that are compatible with as many browser types and versions as possible. True or False?

6.

What happens when a browser does not support a specific HTML tag? a. b. c. d. The browser attempts to render the tag anyway. The browser ignores the tag. The browser contacts the W3C for the correct definition of the tag. The browser displays an error message.

7.

With which tag pair should all HTML documents begin and end?

a. b. c. d. 8.

<body></body> <head></head> <html></html> <xml></xml>

Even though an HTL document may omit the <html></html>, <head></head>, and <body></body> tag pairs, the code will render properly in a browser. True or False?

9.

DTD stands for ____________. a. b. c. d. Data Transfer Display Digital Technology Definition Document Test Descriptor Document Type Definition

10.

Which of the following devices can be user agents? (Choose all that apply.) a. b. c. d. Mobile phones iPads Internet Explorer Netscape

11.

What is the correct syntax for an XML declaration that does not require a DTD in order to be rendered correctly? a. b. c. d. <xml version=1.0 standalone=yes> <xml version=1.0 standalone=no> <?xml version=1.0 standalone=yes?> <?xml version=1.0 standalone=no?>

12.

A __________ element contains other elements on a page. a. b. c. master source base

d. 13.

root

Which of the following statements is considered to be well-formed? a. b. c. d. <name>Rajesh Singh</name> <name>Rajesh Singh</NAME> <NAME>Rajesh Singh</name> <Name>Rajesh Singh</name>

14.

Which of the following is the correct way to write a well-formed element with an attribute? a. b. c. d. <organization name=General Motors> <organization name=General Motors> <organization name=General Motors> <organization name=General Motors>

15.

How do you close the empty <hr> element in an XHTML document to make it backward compatible with older browsers? a. b. c. d. <hr\> <hr \> <hr/> <hr />

16.

Explain when you should use PUBLIC and when you should use SYSTEM as the type attribute of the <!DOCTYPE> declaration. You use the PUBLIC if the DTD is available on the Web and SYSTEM is the DTD is available on your local computer.

17.

What must you place on the first line of an XHTML document? a. b. an <html> tag an <xhtml> tag

c. d. 18.

a <title> tag a <!DOCTYPE> tag

Which XHTML DTD(s) allows you to continue using deprecated elements? (Choose all that apply.) a. b. c. d. XML Transitional Strict Frameset

19.

All of the predefined elements in XHTML are organized within the ______________ namespace. a. b. c. d. XML XHTML HTML Browser

20.

The xmlns attribute is required in the <html> element in order for an HTML 5 document to be well formed. True or False?

S-ar putea să vă placă și