Exam Information
Free practice questions with explanations
CIW 1D0-61B Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 14
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Cascading Style Sheets (CSS) and Graphical Elements
A small nonprofit maintains a donation landing page. The design team wants the body text to use a font family that falls back gracefully on visitors' systems and wants the heading color defined once so that changing it later requires one edit across all pages. The site owner also insists that the markup stay free of presentational attributes. Which approach best satisfies these requirements?
Correct Answer: DExplanationAn external CSS file linked from every page keeps presentation out of the HTML, so the heading color changes in one place. A font stack in the body rule gives browsers ordered fallbacks when the first family is unavailable. Per-element font and color attributes are presentational HTML that the owner rejected and would need editing in every file. Wrapping pages in tables mixes layout with styling and is not a styling mechanism. Inline styles are scattered across elements and do not propagate between pages, so browsers cannot inherit them from a previous visit.
-
2 Question 2 Drag and drop Extending HTML
A logistics company is building a delivery tracking page that must show the driver's position on a map, keep working when the connection drops in a warehouse, and let dispatchers reorder stops by dragging them in a list. Match each requirement to the HTML5-related feature that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Keeping the tracking page available without a network connectionReading the driver's current coordinates from the deviceLetting dispatchers move list items with the mouseDrag-and-drop functionalityCanvas elementOffline web application supportWeb Storage APIGeolocation APICorrect Answer:- Reading the driver's current coordinates from the device → Geolocation API
- Keeping the tracking page available without a network connection → Offline web application support
- Letting dispatchers move list items with the mouse → Drag-and-drop functionality
ExplanationThe Geolocation API returns the device position after the user grants permission, which is exactly what the map needs. Offline web application support, built on application caching, lets the page load and run without connectivity. Drag-and-drop functionality in HTML5 handles mouse-driven reordering of elements. The Canvas element draws graphics and would not supply coordinates, and the Web Storage API stores key-value data rather than making pages work offline, so both are tempting but wrong.
-
3 Question 3 Single choice HTML Tables
A developer builds a schedule table for a conference site. The first row contains column headings, and the first cell of each subsequent row names a session track. The table must be accessible to screen readers, and the developer wants the track names to be identified as row headers rather than ordinary data. Which markup should be used for those track name cells?
Correct Answer: AExplanationA th element identifies a header cell, and scope set to row tells assistive technology that it labels the data in its row, which is the accessibility purpose the developer needs. A td with scope set to col wrongly marks the cell as a column header and is still a data cell. Colspan merges cells horizontally and does nothing to identify headers. The caption element is only valid as the first child of a table to give it a title, not as a row element.
-
4 Question 4 Order list HTML5 Coding
A freelance developer has received a folder of images and text for a new small business site and must start from nothing on a fresh Windows workstation. The site must be organized for easy upload to a hosting provider and must validate before going live. Arrange the steps in the correct order they must be performed.
Drag the steps into the correct order, or use the arrows.
- Add paragraph and heading elements with the content for each page section
- Open the completed pages in a browser and run them through an HTML validator
- Write the document structure tags including doctype, html, head, and body elements
- Create a project folder with an index.html file and subfolders for images and styles
- Upload the complete folder structure to the hosting provider with relative paths intact
Correct Answer:- Create a project folder with an index.html file and subfolders for images and styles
- Write the document structure tags including doctype, html, head, and body elements
- Add paragraph and heading elements with the content for each page section
- Open the completed pages in a browser and run them through an HTML validator
- Upload the complete folder structure to the hosting provider with relative paths intact
ExplanationThe file structure must exist before any markup is written, so the folder and index.html come first. Document structure tags must be in place before content is added inside body. Content elements are then written, and validation can only meaningfully check finished markup. Upload comes last because the site must be verified before going live, and relative paths only work when the uploaded structure mirrors the local one. Validating before content exists or uploading before checking would both break the stated requirement.
-
5 Question 5 Single choice Extending HTML
A retail company's product catalog page is built with a server-side framework that queries a relational database. The page needs to show a live count of items in a shopping cart that updates without a full page reload after each click, and the cart data must not be exposed in the page source for other users. Which combination of technologies best meets these requirements?
Correct Answer: BExplanationJavaScript running in the browser can use the Document Object Model to change the displayed count without reloading, while the authoritative cart data stays on the server in the database, so it is never embedded in the page source. Storing cart contents in the HTML exposes them to any user who views the source. Full reloads violate the no-reload requirement. A canvas drawing does not provide a meaningful live text count, and a hidden field still ships the data to the client.
-
6 Question 6 Single choice GUI HTML Editors and Mobile Web Sites
A marketing agency uses a GUI HTML editor to produce a set of pages. After a recent edit, the team notices that some pages render incorrectly on older mobile browsers and wants to find the cause before publishing. The agency has no access to the production server until the pages are approved. Which action should be taken first?
Correct Answer: AExplanationValidating the markup identifies malformed or unsupported code that the editor may have generated, and previewing in device modes reveals rendering issues before anything reaches production, which respects the approval constraint. Publishing first would expose the defects to clients. Switching to table layouts is a broad redesign that does not diagnose the cause. Discarding the editor and rewriting everything is costly and skips the diagnosis entirely.
-
7 Question 7 Multiple choice Video, Audio and Image Techniques
A museum site needs to publish a short promotional video and a background audio track that work on desktop and mobile browsers without requiring third-party plug-ins. The team also needs a logo with a transparent background that remains crisp at all sizes. Which TWO actions meet these requirements? (Choose two.)
Correct Answer: A, BExplanationThe video element with several source formats lets each browser choose a playable file, and it needs no plug-in, which satisfies the requirement. SVG is a vector format that scales cleanly and supports transparency, meeting the logo requirement. Flash is a plug-in and is excluded. A GIF with a single transparent color cannot scale without pixelation and produces hard edges. An MP3-only audio element is tempting, but it is not a universal guarantee across all browsers, so it does not meet the wording of the requirement as cleanly as the multi-format video approach.
-
8 Question 8 Single choice Web Forms
A clinic is building an appointment request form that will be submitted to a server-side script. The form must collect the patient's preferred date, must not be submitted with an empty required field, and should use a control that lets browsers present a date picker. Which markup meets all three requirements?
Correct Answer: CExplanationThe input element with type date presents a native date picker in supporting browsers, and the required attribute stops submission while the field is empty, so both form constraints are met. A text input lacks the date picker. Disabled prevents the user from editing the field and would also stop the value being submitted. A textarea is for multi-line text and has no date picker, and a placeholder only hints at the format without enforcing anything.
-
9 Question 9 Order list Web Forms
A web developer must add a contact form to a company site where the submitted data is processed by a CGI script on the server. The form must send the visitor's typed message to the script without exposing the script path in the page. Arrange the steps in the correct order they must be performed.
Drag the steps into the correct order, or use the arrows.
- Add labeled input and textarea fields with name attributes for each piece of data
- Add a submit button inside the form element
- Set the action attribute on the form element to the URL of the server-side script
- Upload the page and the script and test a submission end to end
- Choose the method attribute value that carries the form data in the request body
Correct Answer:- Choose the method attribute value that carries the form data in the request body
- Set the action attribute on the form element to the URL of the server-side script
- Add labeled input and textarea fields with name attributes for each piece of data
- Add a submit button inside the form element
- Upload the page and the script and test a submission end to end
ExplanationField names must exist before the form is meaningfully configured, but the form element's method and action define how data is transmitted, so the developer sets the transmission attributes first. Fields with names are added next so the server receives identifiable values. A submit button completes the form, and the end-to-end test after upload verifies the CGI script receives the data. The ordering reflects that a request cannot be validated before the form it sends exists.
-
10 Question 10 Single choice Markup Language and Site Development Essentials
A startup is choosing a hosting approach for its brochure website. The site consists of static HTML, CSS, and a few images, is updated monthly, and the budget is very limited. The company also wants the flexibility to move the site later without rewriting content. Which hosting choice is most appropriate?
Correct Answer: CExplanationStatic HTML, CSS, and images need only a web server that delivers files, which a low-cost shared plan provides at minimal expense, and standard uploads make later migration simple since the files are portable. A dedicated server or colocated hardware is far beyond the budget and adds administration the company does not need. Storing pages in a database adds unnecessary complexity and query overhead for a static brochure site, and it ties the content to a specific platform.
-
11 Question 11 Single choice HTML5 Coding
A developer is preparing a long article page and wants the markup to be clean, valid, and readable for future maintainers. Some of the text is a quotation attributed to a source, and some text needs to be emphasized for meaning rather than just appearing bold. Which markup choice follows good coding practice for these needs?
Correct Answer: BExplanationThe em element conveys semantic emphasis, which assistive technology can interpret, and blockquote marks block-level quotations, with cite providing the source reference. Span with a style and div for a quote convey no meaning, and the b and i elements are presentational. The font element is deprecated in HTML5, and pre is for preformatted text rather than quotations. Semantic elements are the preferred choice for readable, maintainable markup.
-
12 Question 12 Drag and drop Cascading Style Sheets (CSS) and Graphical Elements
A web designer is preparing a site for a travel agency whose pages will be viewed on phones, tablets, and desktops. The brand must use an accent color written as a hexadecimal value, the team wants a page background image not to repeat, and the copy must display a typeface with a generic family fallback. Match each styling requirement to the CSS property that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Provide a generic family fallback for body textStop a background image from tiling across the pageSet the accent color using a hexadecimal valuefont-family list ending with a generic nametext-align set to centerbackground-repeat set to no-repeatcolor property with a hex valueborder-collapse set to collapseCorrect Answer:- Set the accent color using a hexadecimal value → color property with a hex value
- Stop a background image from tiling across the page → background-repeat set to no-repeat
- Provide a generic family fallback for body text → font-family list ending with a generic name
ExplanationThe color property accepts a hexadecimal color value, which matches the brand requirement. The background-repeat property with no-repeat prevents tiling of a background image. A font-family list ending in a generic name such as serif or sans-serif gives the browser a fallback when named faces are missing. Text-align controls horizontal alignment and border-collapse controls table borders, so neither addresses the listed requirements.
-
13 Question 13 Single choice HTML5 Coding
A developer has written a page with a heading and several paragraphs, but the final validator report flags the document as not conforming because a closing tag is absent and an element is nested incorrectly. The developer wants to find the problem quickly and keep the page's content unchanged. Which action is most effective?
Correct Answer: DExplanationA validator reports line numbers for errors, so the developer can go straight to the unclosed or misnested element and fix it while keeping the content intact. Retyping risks losing or altering text unnecessarily. Converting to a table is a structural change that does not fix markup errors. Adding a second body element creates another violation, since the document may contain only one body.
-
14 Question 14 Single choice Web Forms
A school district is collecting parent feedback through a web form. Responses must be submitted securely, the form must not reveal sensitive field values in the browser address bar, and the district wants to avoid exposing submitted data in server logs as much as possible. Which form method and reasoning should the developer choose?
Correct Answer: CExplanationThe post method sends form data in the request body instead of the URL, so values do not appear in the address bar or in URL-based server logs, which meets the stated privacy goal. The get method appends data to the query string, making it visible in the address bar and typically logged. Encryption depends on HTTPS rather than on the method, so claiming URL data is encrypted is false. Get does not hide anything from the address bar.
These are 14 of the 56 questions in the full 1D0-61B pack.
Get All 56 QuestionsGet all 56 questions & answers
Full access options for CIW 1D0-61B
Self-study
PDF Version
- 56 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 56 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 56 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the 1D0-61B Exam (CIW Site Development Associate) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.