Coding SDA Review Questions Lessons 1-6

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Anita is creating a style sheet to format the pages on her company's website. One section will have a light green background with black text. Which hexadecimal reference will Angelica use to specify the text color for this portion of the webpage?

#000000

Emily needs to link to embed an image that is in a direction named "images" that is one level higher than the webpage that she is currently editing. What source code will she use?

./images/bg.jpg

Jessie is redesigning the website for Kimber's Dance Studio. She plans to set her styles using RGB colors and wants to use pure green. What color code will she use?

0, 255, 0

Joe is working with a team of developers at the Steel Plate Mail Company. Each team member is required to leave a comment in thepage to let other developers know when the page was last modified. Joe's comment will look like which of the following?

<!-- Last modified 4-21-2015, Joe Monroe. -->

Lenora wants to use the latest version of HTML on her website. Which document type declaration should she use?

<!DOCTYPE html>

Which tag should be used to structure the main content of a webpage?

<article>

Which of the following HTML elements is a text-level element?

<br>

Phillip created a webpage that has image-based navigation. He also wants to add text-based navigation to help ensure accessibility. What HTML5 tag should he use?

<footer>

In earlier versions of HTML, webpages were structured with the <div> tag and id attribute and CSS style sheets. HTML5 introduced five new elements that are intended to structure a webpage. What are those elements?

<header>, <footer>, <nav>, <article>, and <aside>

Which code should a web developer use to attach an external CSS Style Sheet to an HTML webpage?

<link rel="stylesheet" type="text/css" href="styles.css">

Which of the following HTML tags is used to specify a webpage character set?

<meta>

Which code should be used to center a paragraph of text?

<p style="text-align: center">This is centered text.</p>

Jennifer is creating a table to compare the price of various web design packages that customers on her e-commerce website can purchase. She wants to create table cells with the name of each package that are centered both horizontally and vertically. Which HTML tag should she use?

<th>

What HTML code should Juan use to create a bulleted list?

<ul>

Mika is creating a website for his company's Intranet. He needs to create a heading at the beginning of the content on each webpage. Which type of HTML element will he use for this task?

A paragraph-level element

George was hired to determine why his company's website does not receive much traffic. As George speaks with the company's stakeholders he determines that the site did not have a purpose and was not set up for the company's audience. What type of document should Jorge recommend that the company create before redesigning the website?

A storyboard

Kaz was asked to design and develop a website whose target audience will primarily be elderly. What should he do to ensure that the website is accessible?

Comply with WAI's Web Content Accessibility Guidelines.

Which of these actions is unethical?

Copying the CSS and HTML from another website.

Consider the following HTML code: <blockquote> Summer Sun Day Camp was the best experience my son has had in his life! <img src="images/joey.jpg" /> </blockquote> Why doesn't this code validate as HTML5?

HTML5 requires the alt attribute to make image content accessible to all users.

What is the order of precedence for CSS?

Inline styles override all other styles.

Tyler needs to indent and center a quote on his company's webpage. What style attribute or element is the best way to do this using HTML5?

The <blockquote> element.

Why doesn't the following code validate as HTML5? <!DOCTYPE html> <html> <head> <title>Favorite Movie Quotes</title> <link rel="stylesheet" href="css/styles.css" / </head> <body> <p>This Web site is devoted to my favorite movie quotes.</p> <p>CAPTAIN (Strother Martin) in Cool Hand Luke (1967) <blockquote>"What we've got here...is a failure to communicate." </blockquote> </p> </body> </html>

The <blockquote> tag should not be nested inside the <p> tags.

The web form on the Wikiliki Cafe website will not process. The <form> tag includes the method attribute but something is missing. What?

The <form> tag needs the action attribute.

When structuring a webpage, which tag will cause it to fail validation regardless of the HTML standard that is being used?

The <table> tag

Which attribute of the form field tags (<input>, <textarea>, etc.) is used to organize the user information into the name=value pairs so that it can be sent to the processing script on the server?

The name attribute

The HTML <input> tag can be written nested in the <form> tags to create form fields. Which attribute is used with the <input> tag to determine the type of field that will appear?

The type attribute

Janet has been hired by The Kennesaw Foundation to update their website. She discovers that the existing webpages were structured using tables and needs to explain to The Kennesaw Foundation why the website needs to be rewritten using HTML5 with CSS to control the structure of the webpages. What is the most important reason for doing this?

To ensure that the website can be rendered by all standard compliant web browsers and mobile devices.

Why are comments included by web developers in their code?

To explain the purpose of code sections to other developers.

Armando was asked to create a webpage for his company's Intranet site that compares his company's four different medical insurance plans. What should he do to accomplish this?

Use page structure tags to layout the webpage and use a table to organize the medical insurance plan information.

What does a royalty-free license allow you to do when using stock images on a website?

Use the images without paying a fee for each use.

The use of an HTML standard on any website ensures that markup and elements are universal and that pages will render properly in any web browser that visitors use. Which organization creates and manages the HTML standards?

W3C

What is the name for the set of standards created by the Web Accessibility Initiative (WAI) that promote accessibility for all web users, including those with disabilities?

Web Content Accessibility Guidelines

Which attribute is required for all <img> tags on a webpage to validate as HTML5?

alt

You are writing the CSS to format your web pages. For the page background color you enter the hexadecimal code #0000FF. What color will the page background be?

blue

Which web-based tool should be used to validate HTML files?

http://validator.w3.org

Violating a trademark or copyright is an example of:

infringement

At an initial website planning meeting, whose input should be considered?

stakeholders

In order to protect documents such as business plans and sales contracts, what type of intellectual property should be used?

trade secret


Ensembles d'études connexes

1.Sample Exam - Questions ISTQB® Certified Tester Syllabus Foundation Level Exam ID: B

View Set

Fundamentals of Nursing PrepU Ch. 1

View Set

Math 6 Review Sheet Place Value, Rounding, and Fraction Basics- Page 2

View Set

Ch. 14: Encryption and Hashing Concepts

View Set

Experiencing the Lifespan - Chapter 5

View Set