Filters
Question type

Study Flashcards

Clyde is working on a Web page for his company's intranet. He wants to insert an HTML comment within the page to let other developers know that the page validates as HTML5 and that he is the page author. Which line of code will insert the comment that Clyde requires?


A) // Clyde Davis, 9/17/2012. This code validates to HTML5
B)
C) /*Clyde Davis, 9/17/2012. This code validates to HTML5 */
D)

Correct Answer

verifed

verified

Consider the following HTML5 code: Consider the following HTML5 code:   Also consider the following CSS code:     This I-ITML5 and CSS code directs the sidebar background image to: A)  display at the top-right of the sidebar B)  display at a height of 129 pixels C)  display at the left of the sidebar D)  display horizontally Also consider the following CSS code:   Consider the following HTML5 code:   Also consider the following CSS code:     This I-ITML5 and CSS code directs the sidebar background image to: A)  display at the top-right of the sidebar B)  display at a height of 129 pixels C)  display at the left of the sidebar D)  display horizontally This I-ITML5 and CSS code directs the sidebar background image to:


A) display at the top-right of the sidebar
B) display at a height of 129 pixels
C) display at the left of the sidebar
D) display horizontally

Correct Answer

verifed

verified

You are modifying an existing Web page that needs to validate as HTML5 code. To create a rectangular hot-spot in an image map that links to www.xyz.com, which code would you nest inside the <map> </map> container tags?


A) <area shape="rectangle" coords="78, 0, 156, 75" href="http://www.xyz.com" alt="xyz"
B) <area shape="rectangle" coords="78, 0, 156, 75" href="www.xyz.com" alt="xyz" />
C) <area shape="rect" coords="78, 0, 156, 75" href="http://www.xyz.com" alt="xyz" />
D) <area shape="rect" coords="78, 0, 156, 75" href=http://www.xyz.com />

Correct Answer

verifed

verified

You need to center and indent a quote on your Web page. Which is the best way to accomplish this using HTML5?


A) Use the <pre> element.
B) Use the <block quote> element.
C) Use the style attribute with the <p> tag.
D) Use the text-align attribute with the <p> tag.

Correct Answer

verifed

verified

B

Which code is best for embedding video into an HTML5 page? Which code is best for embedding video into an HTML5 page?   A)  Option A B)  Option B C)  Option C D)  Option D


A) Option A
B) Option B
C) Option C
D) Option D

Correct Answer

verifed

verified

Which type of intellectual property includes business plans, proprietary code and sales contracts?


A) Copyleft
B) Copyright
C) Trademark
D) Trade secret

Correct Answer

verifed

verified

Philip creates a Web form in HTNL5, but the data will not process. He has the method attribute included in the <form> element. What is missing?


A) The type attribute of the <form> element
B) The type attribute of the <input' element
C) The act/on attribute of the <form> element
D) The act/on attribute of the <input' element

Correct Answer

verifed

verified

Consider the following HTML5 code: Consider the following HTML5 code:   The code does not validate as HTML5. Why? A)  The <article> tag is missing. B)  The <meta> tag and its attributes are missing. C)  The <blockquote> tag should be used outside the <p> tags. D)  The !DOCTYPE declaration is missing a reference to the Document Type Definition (DTD) . The code does not validate as HTML5. Why?


A) The <article> tag is missing.
B) The <meta> tag and its attributes are missing.
C) The <blockquote> tag should be used outside the <p> tags.
D) The !DOCTYPE declaration is missing a reference to the Document Type Definition (DTD) .

Correct Answer

verifed

verified

Violating a copyright or trademark is an example of what type of prosecutable crime?


A) Infringement
B) Plagiarism
C) Trade secrets
D) Non-disclosure

Correct Answer

verifed

verified

You are creating a style sheet to format the pages on your company's Web site. One section will have a black background with white text. What is the hexadecimal reference you would use to specify the text color for this portion of the Web page?


A) "white"
B) #000000
C) # FFFFFF
D) "255,255,255"

Correct Answer

verifed

verified

Which choice describes a correct order of precedence for implementing CSS?


A) Inline styles override all other styles.
B) External styles override all other styles.
C) Internal (embedded) styles override inline styles.
D) External styles override internal (embedded) styles.

Correct Answer

verifed

verified

Matthew has embedded a video in his Web page using the HTML5 video format. The video is not rendering properly. He asks Arlene to help determine the problem, so she reviews his code, which appears as follows: Matthew has embedded a video in his Web page using the HTML5 video format. The video is not rendering properly. He asks Arlene to help determine the problem, so she reviews his code, which appears as follows:   What is wrong with this code? A)  The ogg video format is not supported by HTML5. B)  One of the video tag instances has not been properly closed. C)  The browser plug-in information required to view the video is missing. D)  The second instance of the <video> element should be replaced with the <source> element. What is wrong with this code?


A) The ogg video format is not supported by HTML5.
B) One of the video tag instances has not been properly closed.
C) The browser plug-in information required to view the video is missing.
D) The second instance of the <video> element should be replaced with the <source> element.

Correct Answer

verifed

verified

D

When developing a Web site, which of the following actions would be considered unethical?


A) Borrowing music from another site with the owner's written permission
B) Creating new code that provides a look and feel similar to another site
C) Linking your site to another site with permission
D) Copying some code from another Web site

Correct Answer

verifed

verified

D

When establishing a mobile presence, which of the following offers mobile-friendly content to the widest possible audience?


A) Traditional Web sites
B) Mobile Web sites
C) Mobile apps
D) RSS feeds

Correct Answer

verifed

verified

A user is submitting data from a form on your Web page to a database using a CCI script. Which attribute of the form field elements organizes the user's information into name=value pairs?


A) Name
B) Form
C) Value
D) Method

Correct Answer

verifed

verified

Showing 1 - 15 of 15

Related Exams

Show Answer