CIW Site Development Associate Free Sample Questions

20 free sample questions236 in the full practice test

Try simulator

1D0-61B Sample Questions

  1. Question 1

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

    Answer and explanation

    Correct answer: A

    Inline styles have the highest priority in the CSS cascade hierarchy and override all other style declarations. The correct CSS precedence order is: inline styles (style=) override internal/embedded styles ( tags), which override external stylesheets ( tags). This cascade system allows developers to create flexible styling architectures where more specific declarations take precedence. The other options incorrectly describe the cascade order - external styles have the lowest precedence, and internal styles cannot override inline styles due to specificity rules.

  2. Question 2

    Web developers typically include comments in their code for which reason?

    Answer and explanation

    Correct answer: C

    Comments in web development code serve as documentation to explain the purpose, functionality, and logic of code sections to other developers and future maintainers. Well-written comments improve code maintainability, facilitate team collaboration, and help developers understand complex algorithms or business logic. The other options are incorrect because comments are not for inserting server-side programs (JavaScript runs separately), they are not visible to site visitors, and they do not declare HTML versions (that is done with DOCTYPE declarations).

  3. Question 3

    To define a circle-shaped hot-spot for an image map, which of the following code fragments would you use?

    Question 3 image
    Answer and explanation

    Correct answer: D

    Based on the code shown in the image, Option D demonstrates the correct HTML syntax for defining a circle-shaped hot-spot in an image map. The element must include shape="circle" with coordinates specifying the center point (x, y) and radius - in this format: coords="x-center,y-center,radius". The other options show incorrect syntax for circle definitions, such as using shape="rect" for rectangles or incorrect coordinate formats that do not match the three-value requirement for circular areas.

  4. Question 4

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

    Answer and explanation

    Correct answer: B

    The element is the semantically correct HTML5 approach for marking up quoted content, as it provides both meaning and default styling (indentation). Modern HTML5 development prioritizes semantic markup over presentational elements, and automatically provides appropriate indentation while also conveying the semantic meaning of quoted content to screen readers and search engines. The element is for preformatted text, while style attributes and text-align are presentational approaches that lack semantic meaning.

  5. Question 5

    Which HTML element aligns content both horizontally and vertically to the center of the table cell by default?

    Answer and explanation

    Correct answer: C

    The (table header) element has default CSS styling that centers content both horizontally and vertically within the cell, distinguishing it from regular (table data) cells which align left by default. This built-in styling reflects the semantic purpose of header cells to stand out from data cells. The element defines table rows, creates standard data cells with left alignment, and is for preformatted text, none of which provide the centered alignment behavior inherent to elements.

  6. Question 6

    Marion has been hired by a small business to determine why its Web site does not attract users. As Marion interviews different members of the company, she learns that when the site was first created, the external Web developer did not produce any documents specifying the basic requirements for the site. As a result, the site did not have a defined purpose and was not designed for the company’s audience. Additionally, the site navigation did not make sense from a users point of view. Marion considers this information, then she recommends that the company create which document?

    Answer and explanation

    Correct answer: B

    A storyboard should have been created to document the basic flow and structure of the website during the initial development phase. Storyboards in web development map out the user journey, page flow, navigation paths, and overall site architecture, making them essential planning documents that ensure coherent user experience and proper site functionality. Without a storyboard, websites often lack clear navigation structure and user-friendly design. Wireframes show layout structure, marketing slideshows are for business presentations, and non-disclosure agreements are legal contracts - none of which address site flow and user experience planning.

  7. Question 7

    Marsha has been hired by XYZ, Inc., to update the company Web site. Marsha discovers that the existing Web pages were structured using tables. Marsha needs to explain to XYZ why the Web site needs to be recoded in HTML5 with CSS controlling the structure of the document. What is the most important reason for using HTML5 and CSS?

    Answer and explanation

    Correct answer: C

    Moving from table-based layouts to HTML5 with CSS provides semantic structure that improves accessibility for screen readers and assistive technologies, while also enabling better SEO through proper content hierarchy. Modern semantic HTML5 elements like , , , , and clearly define content structure, making websites more accessible to users with disabilities and easier for search engines to understand and index. The other options focus on traffic, appearance, or browser compatibility, but the primary benefit is the improved semantic structure and accessibility compliance.

  8. Question 8

    You can use the HTML , and tags to create form fields in a Web page by placing them between the /form> container tags.

    Which attribute is used with the element to designate the fields that will appear in the form?

    Answer and explanation

    Correct answer: A

    The type attribute is essential for the element as it designates what specific form field will appear and how users can interact with it. Common type values include "text" for single-line text input, "email" for email validation, "password" for hidden text entry, "checkbox" for multiple selections, "radio" for single selections, and "submit" for form submission buttons. The name attribute identifies the field for form processing, value sets default content, and action belongs to the element - none of which determine the field type and appearance like the type attribute does.

  9. Question 9

    When a developer wants to center a paragraph of text, which code should she use?

    Answer and explanation

    Correct answer: C

    The CSS property text-align: center applied through the style attribute is the correct method for centering paragraph text horizontally within its container. This approach uses modern CSS styling to control text alignment, which separates presentation from content structure following best practices. The other options contain syntax errors: text-align cannot be used as an HTML attribute directly, the second option has malformed quotation marks, and the fourth option has incorrect syntax for the style attribute (missing "=" and wrong quote placement).

  10. Question 10

    Marsha’s boss directed her to create a mobile version of the company’s Web site. To ensure her mobile site is optimized, Marsha eliminates banners and advertisements. What other recommendations should Marsha follow?

    Answer and explanation

    Correct answer: B

    Strong analytical and problem-solving skills are essential for web developers as they must diagnose complex technical issues, debug code errors, optimize performance bottlenecks, and architect solutions for diverse user requirements. Web development involves constant troubleshooting of browser compatibility issues, server configurations, database queries, and user experience problems that require systematic analytical thinking. While advanced mathematics and social media marketing knowledge can be helpful, they are not core requirements, and exceptional artistic ability is more relevant to graphic design than web development programming.

Register free to unlock 10 more sample questions

Lifetime One

Own this practice test forever.

$79.99
$75.99
one-time
  • Full access to 236 questions
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • Brainy AI Assistant
  • Lifetime updates

Two

Any 2 exams per month.

$20.00/exam
$39.99
/month
  • 2 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 1,000 Brainy AI Credits
  • Cancel anytime

Premium Twelve

Any 12 exams over 3 months.

$15.00/exam
$179.99
/3 months
  • 4 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 15,000 Brainy AI Credits
  • Dedicated support
  • Friend seat included — full access

Trusted by professionals at

NvidiaSupabaseGitHubOpenAITursoClerkClaude AIAmazon