















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















































































Question 1. Which Dreamweaver panel displays the hierarchical structure of the current document? A) Files panel B) Property inspector C) DOM panel D) Insert panel Answer: C Explanation: The DOM panel shows the document’s element tree, letting you navigate and edit nodes directly. Question 2. In Dreamweaver, which view allows you to see both code and visual layout simultaneously? A) Code view B) Design view C) Split view D) Live view Answer: C Explanation: Split view displays the code pane and design pane side‑by‑side for real‑time editing. Question 3. When defining a new Dreamweaver site, the “local site folder” is used for: A) Storing remote server credentials only B) Holding all website files on your computer C) Managing FTP logs D) Saving only image assets Answer: B
Explanation: The local site folder is the root directory on your computer where all site files are stored and edited. Question 4. Which HTML tag is considered a block‑level element? A) B) C) D) Answer: C Explanation: `` is a semantic block‑level element that starts on a new line and can contain other block‑level or inline elements. Question 5. Which CSS selector has the highest specificity? A) .nav-item B) #mainHeader C) header D) ul li a Answer: B Explanation: ID selectors (#mainHeader) have higher specificity than class, element, or descendant selectors. Question 6. To create a responsive layout, which CSS feature is most essential? A) Float property B) Media queries C) Inline styles D) Fixed widths
D) Telnet Answer: B Explanation: SFTP (SSH File Transfer Protocol) secures the entire session, unlike plain FTP. Question 10. When creating a Dreamweaver template (.dwt), which region can be edited on pages that use the template? A) Locked region B) Editable region C) Header region D) Footer region Answer: B Explanation: Editable regions are placeholders that can be modified in template‑based pages, while locked regions remain unchanged. Question 11. Which HTML attribute provides alternative text for images, aiding accessibility and SEO? A) title B) src C) alt D) href Answer: C Explanation: The alt attribute describes the image content for screen readers and when the image cannot load. Question 12. In CSS, which property controls the space between an element’s border and its content? A) margin
B) padding C) border-spacing D) gap Answer: B Explanation: Padding creates interior space between the border edge and the element’s content. Question 13. Which of the following is a best practice for naming web files? A) Use spaces to separate words B) Include special characters like “#” C) Use lowercase letters and hyphens D) Begin with a number Answer: C Explanation: Lowercase letters and hyphens avoid URL encoding issues and improve readability. Question 14. What does the WCAG acronym stand for? A) Web Content Accessibility Guidelines B) Worldwide Coding and Graphics C) Web Control and Administration Guide D) Wireless Connectivity Access Group Answer: A Explanation: WCAG defines standards to make web content more accessible to people with disabilities. Question 15. Which JavaScript method is used to prevent a form from submitting when validation fails? A) event.stopPropagation()
A) :first-child B) :first-of-type C) :nth-child(1) D) :only-child Answer: A Explanation: :first-child matches an element that is the first child of its parent. Question 19. To ensure a website meets basic SEO requirements, which tag should contain a concise description of the page? A) `` B) <meta name="description"> C) <h1> D) <link rel="canonical"> Answer: B Explanation: The meta description provides search engines a summary used in search results. Question 20. Which Dreamweaver feature allows you to preview a page as it would appear in a specific browser without leaving the application? A) Live view B) Code view C) Split view D) Remote view Answer: A Explanation: Live view renders the page using the WebKit engine, simulating browser rendering inside Dreamweaver.
Question 21. What is the purpose of a “sitemap.xml” file? A) Lists all image assets for compression B) Defines site navigation for users C) Provides search engines with a structured list of URLs D) Stores CSS class definitions Answer: C Explanation: Search engines read sitemap.xml to discover and index site pages efficiently. Question 22. Which HTML tag is used to embed a video file that can play directly in the browser? A) B) C) D) Answer: C Explanation: `` is the HTML5 element for native video playback with controls. Question 23. In CSS, what does the box-sizing: border-box; declaration do? A) Includes padding and border in the element’s total width and height B) Removes all margins from the element C) Forces the element to be displayed as an inline block D) Sets the element’s background to a solid color Answer: A Explanation: border-box makes width and height calculations include padding and border, simplifying layout sizing.
Question 27. What does the CSS float: left; declaration do? A) Positions the element absolutely at the left edge of the viewport B. Aligns text to the left inside the element C. Removes the element from normal flow and pushes subsequent content to the right D. Centers the element horizontally Answer: C Explanation: float: left takes the element out of normal flow, allowing other content to wrap around its right side. Question 28. Which HTML element is appropriate for marking up a piece of self‑contained content that could be syndicated? A) B) C) D) Answer: B Explanation: `` represents an independent, reusable piece of content such as a blog post or news story. Question 29. In Dreamweaver, the “Check In/Check Out” feature is primarily used for: A) Validating CSS syntax B) Managing version control in collaborative environments C) Compressing images automatically D) Publishing the site to a server Answer: B
Explanation: Check In/Check Out locks files for editing, preventing conflicts when multiple users work on the same project. Question 30. Which HTML attribute is used to create a hyperlink that opens the user’s default email client? A) href="mailto:[email protected]" B) src="mailto:[email protected]" C) action="mailto:[email protected]" D) link="mailto:[email protected]" Answer: A Explanation: The mailto: scheme in the href attribute triggers the email client with a pre‑filled address. Question 31. Which of the following best describes “scope creep” in project management? A) Reducing the number of deliverables to meet deadlines B) Adding new features or requirements beyond the original agreement without corresponding changes in time or budget C) Completing all tasks ahead of schedule D) Assigning tasks to the wrong team member Answer: B Explanation: Scope creep occurs when project scope expands unintentionally, often causing delays and budget overruns. Question 32. In CSS, which selector targets all <p> elements that are direct children of a </p>? A) section p B) section > p
A) border-spacing B) row-gap C) margin D) padding Answer: B Explanation: row-gap (part of the CSS Grid and Flexbox specifications) sets vertical spacing between rows; for traditional tables, border-spacing can also affect spacing. Question 36. Which HTML5 element is designed for embedding external content such as an interactive map or a video from another site? A) B) C) D) Answer: C Explanation: `` creates an inline frame that can embed another HTML document, such as a map or video. Question 37. In Dreamweaver, the “Live view” uses which rendering engine? A) Gecko (Firefox) B) Trident (IE) C) WebKit (Safari/Chrome) D) Blink (Chrome) Answer: C Explanation: Live view is based on the WebKit engine, providing a close approximation to how browsers render the page.
Question 38. Which of the following is a key principle of visual hierarchy in web design? A) Using the same font size for all text B) Placing the most important content at the top or in larger fonts C) Avoiding contrast between elements D) Randomly arranging images Answer: B Explanation: Visual hierarchy guides users’ attention; larger, higher‑positioned elements are perceived as more important. Question 39. Which HTML attribute specifies the language of the page’s content? A) lang B) locale C) xml:lang D) charset Answer: A Explanation: The lang attribute on the `` tag declares the primary language, aiding accessibility and SEO. Question 40. Which CSS technique is used to create a rollover effect without JavaScript? A) :hover pseudo‑class B) :active pseudo‑class only C) position: fixed D) display: none Answer: A
Answer: C Explanation: The border shorthand can set width, style, and color in one declaration. Question 44. Which Dreamweaver feature helps you detect broken links across the entire site? A) Link Checker B) Code validator C) CSS Designer D) Insert panel Answer: A Explanation: The Link Checker scans all pages and flags hyperlinks that lead to missing or moved resources. Question 45. What does the HTML `` tag define? A) The page’s language B) The character encoding used for the document C) The viewport settings for mobile devices D) The document’s author Answer: B Explanation: charset="UTF-8" specifies Unicode UTF‑8 encoding, ensuring proper display of characters. Question 46. Which of the following is a common method to compress images for faster page load? A) Increasing image resolution B) Saving as BMP format C) Using tools like TinyPNG to reduce file size without noticeable quality loss D) Adding extra CSS borders
Answer: C Explanation: Image compression tools reduce file size while preserving visual quality, improving performance. Question 47. In CSS, which unit is relative to the root element’s font size? A) px B) em C) rem D) % Answer: C Explanation: rem stands for “root em” and is calculated from the font size of the element. **Question 48.** Which HTML element is used to define a navigation list that can be styled as a menu? A) with items B) with and C) with items D) alone Answer: A Explanation: (unordered list) combined with `` provides a semantic structure for navigation menus. Question 49. Which Dreamweaver view shows the raw source code without any visual rendering? A) Design view B) Code view C) Live view
C) Encrypts the folder’s contents D) Marks the folder as read‑only Answer: B Explanation: Cloaking excludes the folder from FTP/SFTP transfers, useful for development-only files. Question 53. Which HTML tag is appropriate for embedding a scalable vector graphic? A) B) C) with .svg source only D) only Answer: A Explanation: `` defines inline vector graphics that are resolution‑independent. Question 54. Which of the following is a characteristic of adaptive web design? A) Uses fluid grids that automatically adjust to any screen size B) Detects the device and serves a pre‑designed layout for that viewport C) Relies solely on JavaScript to reposition elements D) Requires separate HTML files for each device Answer: B Explanation: Adaptive design serves distinct layouts based on detected device breakpoints. Question 55. In CSS, which selector matches any element with a data-role attribute equal to “button”? A) [data-role=button] B) .data-role-button
C) data-role="button" D) #button Answer: A Explanation: Attribute selectors use brackets; [data-role=button] selects elements where the attribute matches exactly. Question 56. Which HTML element is used to provide a caption for a ? A) B) C) D) Answer: B Explanation: defines a table’s title or description and is displayed above the table. Question 57. Which Dreamweaver shortcut inserts a new line break (<br />) at the cursor location? A) Ctrl+Enter B) Shift+Enter C) Alt+Enter D) Ctrl+Shift+Enter Answer: B Explanation: In many editors, Shift+Enter inserts a line break without creating a new paragraph. Question 58. Which CSS property is used to change the order of flex items? A) flex-direction B) order