Browse all practice questions for the uCertify CIW – Advanced HTML5 & CSS3 Specialist Practice Test. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

uCertify CIW – Advanced HTML5 & CSS3 Specialist Practice Test course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • Which file name is used as the background image in the sample CSS?
  • Which three technologies are used together to create Web pages that adapt to devices such as smartphones and smart TVs?
  • How can CSS variables enable theming with minimal code changes?
  • When a user logs on to a service and shops online, what are they typically filling out?
  • In an article about inline validation in HTML5 forms, which feature would cause users to find these forms easier and faster to complete?
  • You are creating an HTML5 form. You want the form to automatically suggest and complete input as the user enters. Which code will correctly add this feature?
  • How would you enable browser-based validation for a required email field using HTML5 attributes only?
  • Which of the following is the name used for Microsoft's JavaScript implementation?
  • Which CSS property enables 3D space perspective for transforms?
  • How do you expose native playback controls on a video element?
  • Which CSS3 property lets users resize elements such as a div?
  • In the following snippet, CSS defines .right { text-align: right; } HTML uses <h3 class="right">Right-aligned heading level three</h3>. The code demonstrates which type of selector?
  • Which HTML5 element provides a list of predefined values to assist user input?
  • Which CSS property enables smooth transitions of property changes over time?
  • Which ARIA technique helps assistive technologies announce dynamic content changes?
  • What is the primary purpose of the DOCTYPE declaration in HTML?
  • Which HTML attribute automatically focuses a form control when the page loads?
  • In the given CSS snippet, which option correctly describes what happens on hover to the image?
  • Which JavaScript event fires when a page finishes loading in the browser?
  • Which markup is recommended for serving different image sources based on screen size and resolution?
  • Which API enables drag-and-drop interactions for DOM elements?
  • Which attribute enables an image to be selected from multiple resolutions for different devices?
  • Which statement is true about CSS's role in web design?
  • How can you animate CSS property changes over time without JavaScript?
  • What is the difference between transform and transition in CSS?
  • Which CSS3 selector targets the first paragraph within each container?
  • Which statement correctly describes the purpose of the srcset attribute in an img tag?
  • What is the difference between position: absolute and position: fixed in CSS?
  • Which HTML5 attribute on an input references a datalist to provide suggestions?
  • Which markup type is used to embed scalable vector graphics that can be styled with CSS and scripted with JavaScript?
  • Historically, which HTML5 feature allowed offline web applications by caching resources using a manifest file?
  • In the CSS rule shown, what does 'top right' specify for the background image?
  • When you define a named function, the rest of the statements that form the function must be enclosed in:
  • To ensure that JavaScript runs correctly across different user agents, what should you do?
  • Which API provides access to the device’s geographic location?
  • Which statement correctly describes the syntax for a named function's header and body?
  • What is the default height and width of the canvas element?
  • Which keyword starts a named function declaration in JavaScript?
  • Which CSS property adds shadows to text?
  • Which punctuation separates multiple background image URLs in CSS?
  • Which HTML5 element should be used to define the header area of a page?
  • Using these styles, what will occur when a user hovers over an image on the page?
  • Which CSS3 layout module provides a modern, one-dimensional layout model with flex containers and items?
  • Which DOM method is used by the <canvas> element to return a context object that provides drawing capabilities?
  • Which CSS3 selector can you use to apply a style to the first paragraph of every container in a Web page?
  • How should you provide accessible alternatives when using canvas for graphics or games?
  • Which HTML5 attribute provides a hint identifying the expected input in a form field?
  • Which positioning scheme describes the normal, or default, position of an element within a page?
  • Which statement best describes the HTML5 File API?
  • What is the DOM used for?
  • In the CSS sample, what is the width of the navigation area?
  • Which choice correctly describes two benefits of Cascading Style Sheets (CSS)?
  • Which HTML5 element represents a footer for its nearest sectioning content or sectioning root?
  • Which HTML5 attribute could you use with the email input to require a value?
  • How does CSS specificity rank inline styles, IDs, classes, attributes, and elements?
  • Which statement about global variables is true?
  • Which CSS property defines how text should be handled when it extends beyond its allotted area?
  • Which statement about Cascading Style Sheets (CSS) is true?
  • Which properties are commonly used to prevent overflow and manage text truncation?
  • What is the height of the nav in the sample CSS?
  • Which CSS3 function creates linear gradients used as backgrounds?
  • What is the purpose of the source element inside video or audio elements?
  • What does autofocus do when applied to a select element on page load?
  • The DOM is a standard that enables you to manipulate HTML elements and attributes in a Web document. What do you use to work with the DOM?
  • In the sample CSS, which HTML5 element is used to define a navigation area?
  • Which HTML validator is considered the most authoritative?
  • Which HTML5 attribute identifies the location and file name of a video?
  • Which syntax defines a CSS custom property?
  • Which CSS3 layout module introduces a two-dimensional grid-based system for composing layouts?
  • Which page-layout method uses percentage values to create fluid layouts?
  • Which technique uses feature detection to apply CSS only when a browser supports it?
  • Which CSS property creates rectangles with rounded corners around text?
  • Which HTML element provides a predefined list of options for an input element?
  • Which attribute on form controls constrains the acceptable input to a regular expression without JavaScript?
  • What file extension is commonly associated with the AppCache manifest that enables offline functionality?
  • Which HTML5 semantic elements should you use to mark up the main sections of a page such as header, navigation, content, and footer?
  • How can CSS custom properties be defined and reused across a stylesheet?
  • Which attribute value disables browser autofill for a form field?
  • Which storage API stores data per tab or per browser session and is cleared when the tab is closed?
  • Which DOM method is used by the canvas element to return a context object, which provides properties and methods that can be used to draw and manipulate images on the canvas?
  • In CSS specificity, what does a stand for when calculating specificity?
  • Which of the following is a valid example of a class selector in CSS?
  • Which element supplies caption tracks for a video?
  • In HTML5 inline validation, which option describes how users interact with validation messages?
  • What is the name for Microsoft's implementation of JavaScript?
  • Which HTML5 element should you use to display mortgage calculation results?
  • Which HTML5 element would you use to embed multiple media sources and captions for a single video?
  • Why are semantic HTML5 elements important for accessibility and SEO?
  • Which CSS3 property enables shadows around elements?
  • Which CSS3 selector pattern selects elements by an attribute value?
  • Global variables declared with var at the global scope in a browser become properties of which object?
  • Which API would you use to retrieve a device's current position and monitor changes?
  • In the color example, what is the color value assigned to the color property?
  • You want to create Web pages that adapt to multiple devices without plug-ins. Which would be best suited for this purpose?
  • Which statement about modern Web design is true?
  • Which CSS property combination is typically used to truncate long text with an ellipsis?
  • Which concept specifically describes applying enhancements only when the browser supports the feature, while preserving the basic content for environments that do not?
  • How should you reference a font defined with @font-face in your CSS?
  • CSS3 added support for multiple background images. Which declaration uses the correct syntax for applying two background images to the same element?
  • Considering the alert() function requires an argument of type string, which code expression is necessary inside alert() to display the value of the myFloatingPoint variable?
  • In a media query, which feature is commonly used to apply styles for smaller viewports?
  • Which statement about validating markup is true?
  • What is the purpose of the CSS3 h3 ~ p selector?
  • Which JavaScript object can trigger the onerror event handler associated with image loading?
  • What does the required attribute on a form input enforce?
  • Which HTML5 element indicates the main content region of a document and should be unique per page?
  • Which JavaScript method should display a welcome message when the site loads?
  • Which JavaScript object can trigger the onerror event handler?
  • When you define a named function in JavaScript, you must begin the function block with what?
  • How can you ensure that your functions will be available before any user event can call a function?
  • In HTML5 video, which element is used to provide text tracks such as subtitles or captions?
  • Which API is used to enable dragging of DOM elements?
  • Which HTML5 API allows restricting uploads to specific file types in a web form?
  • Which statement about validating markup is true?
  • Why is it important to test your JavaScript code in as many browsers as possible?
  • To place an element behind another element, which CSS property should you set to a negative value?
  • To create apps for mobile devices, which approach should Stanley use?
  • What is the effect of using the srcset attribute on an img element?
  • Which HTML5 element is typically used for tangential content like pull quotes, sidebars, or related information not part of the main flow?
  • Which method returns a value in the form of a text string?
  • Which HTML5 feature historically enabled offline caching via a manifest file but is largely superseded by service workers?
  • Which term describes the technique of requesting and reusing data using the XMLHttpRequest object?
  • Which attributes could you use with the input type='email' to ensure that users do not inadvertently enter an extra space, an invalid format or an irrelevant answer?
  • Which pair of HTML5 elements is recommended for grouping related content within a page?
  • Within HTML5 video, what is the purpose of the track element?
  • Which HTML5 element would you use to define a distinct, standalone piece of content like a blog post?
  • Which HTML5 attribute provides a hint about the expected input in a textarea?
  • Which approach improves accessibility and search indexing by providing meaningful structure?
  • Which CSS color function supports transparency in colors?
  • What mechanism allows reuse of values across a stylesheet?
  • Which CSS property can be used to control how text is displayed when it overflows its container, often resulting in an ellipsis?
  • To allow several files to be selected at once with the File API, use the:
  • Which CSS technique helps ensure keyboard focus outlines are visible and accessible?
  • Which example is a valid variable name in JavaScript?
  • Which HTML5 element is designed to display the results of a calculation performed by scripts?
  • Where can you find information about the latest status of HTML5 and CSS3 browser support?
  • What HTML5 element would you use to mark tangentially related content aside from the main content?
  • To apply both an external script and an inline script in one page, what should she do?
  • What is one advantage to using JavaScript instead of HTML5 to validate an input field that is requesting the user to input an e-mail address?
  • Which technique allows CSS styles to respond to viewport size in Responsive Web Design?
  • Absolute positioning in CSS places the element in what relation to the document?
  • If the JavaScript operator + is used in an arithmetic expression, what is the result?
  • Which CSS3 property is specifically used to prevent a transformed element from being shown when rotated away from the viewer?
  • What information can you obtain by using the HTML5 Geolocation API in your application?
  • What Geolocation API method is used to retrieve the current geographic location of the user?
  • Which API allows drawing graphics on a bitmap via JavaScript?
  • If you declare a variable inside a function, what term describes this variable?
  • Which statement about HTML5 is true?
  • Which form input validation method is sometimes referred to as pogo-sticking?
  • Which JavaScript method shows a modal alert message to the user?
  • You want to create a simple click-to-call link on your mobile Web page. Which line of HTML would add this feature?
  • In an @font-face rule, which descriptor specifies the font file location?
  • Which two properties must you specify in a CSS3 @font-face rule?
  • Which two HTML attributes must match to bind a datalist to its input?
  • Which technique enables responsive styling by applying rules based on viewport width or other media features?
  • Which HTML5 element is used to define the navigation area in a page?
  • Which HTML5 input type provides a date picker in supporting browsers?
  • What variable data type should you use if you want to specify numeric values for mathematical operations?
  • Which attribute combination is used to allow an image to adapt to different screen resolutions and pixel densities?
  • Which HTML5 element is most appropriate for a self-contained composition such as a blog post or news item?
  • Which CSS3 property defines whether a transformed element is visible when it is rotated away from the viewer?
  • Which term describes the technique of requesting and reusing data using the XMLHttpRequest object with HTML pages and CSS?
  • Which CSS3 property creates rounded corners on elements?
  • Which approach enables embedding custom fonts so they can be used on a webpage?
  • Which techniques enable responsive images that adapt to device resolution?
  • Which CSS3 property can be used to create rounded corners on an image or other element?
  • The CSS3 selector h3 ~ p is used to select which elements?
  • In the CSS rule 'body { color: #008080; }', which part is the property?
  • What type of JavaScript expression evaluates to true or false?
  • Which statement about the Document Object Model (DOM) is true?
  • In JavaScript, if the + operator is used in an arithmetic expression, what is the result?
  • Which HTML5 element should wrap the navigational links of a page?
  • What is the main purpose of the Document Object Model (DOM) in web development?
  • The CSS rule '#red { color: #FF0000; }' with HTML <p id=\"red\"> This paragraph has red text </p> demonstrates which CSS concept?
  • What is the expected result when the following script is run in the browser? In a script where a global variable v1 is initially set to 'Blue', a function assigns this.v1 = 'Green' and is invoked, followed by alert(v1). What is the outcome of running the script?
  • The CSS3 appearance property can be used to make an element look like what?
  • Which statement about CSS is true?
  • Which storage API stores data as key-value pairs with no expiration by default and persists across sessions?
  • How does the W3C Markup Validation Service determine to what HTML standard to validate your code?
  • The CSS3 @font-face rule requires you to specify which two properties?
  • Which statement best describes scripting languages?
  • JavaScript makes extensive use of objects. What is the term for the various attributes that can be assigned to an object?
  • Where can a local variable be accessed?
  • How are debugging tools helpful when reviewing JavaScript code?
  • What term is used for a relatively small application developed exclusively for mobile devices?
  • Which storage API stores data per tab or per browser session and is cleared when the tab or browser is closed?
  • What is the background color value used for the nav in the sample CSS?
  • Which statement is true about JavaScript?
  • Which statement best describes the header of a named function in JavaScript?
  • Which Geolocation API method is used to request the user’s current position and may trigger a permission prompt?
  • Which CSS property changes the origin point around which a transform is applied?
  • Which HTML element is used to embed vector graphics directly in the document?
  • What is the purpose of the HTML5 &lt;output&gt; element in a form?
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy