Browse all practice questions for the Web Development 201 (WED201c) Practice Test. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

Code Your Future: Dominate the 2026 WED201c Web Development Challenge! course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • Which keyword is not applicable when declaring a variable in JavaScript?
  • Should the mobile version of your web page have the same layout as every other version of your site?
  • A <div> block is an inline-level element.
  • Which property can remove the underline from links?
  • What is the result of setting an element's display property to 'none'?
  • What is the role of the 'innerHTML' property in web development?
  • Which tag represents a line break (new line)?
  • The original web was developed as a way for which group to exchange information?
  • Which HTML tag is used to define a footer for a document or section?
  • How many columns will a div defined as <div class="col-sm-2 col-lg-4"> be in a lg viewport?
  • Which statement best describes the relationship between defining a function and calling it?
  • Which word is used to define a function in JavaScript?
  • How much width will this div occupy?
  • What is the correct HTML for referring to an external style sheet stored in a subfolder called css?
  • Which of the following is an example of a top-level domain?
  • When applying multiple CSS rules to an element, what takes precedence?
  • Which fluid measurement type returns a percentage of the viewport width?
  • What is wrong with the following code? body{ color: #000000; background-color:#FFFFFF font-family: Times, Arial, Cursive; }
  • Which of the following would be used to create a class called button which has a width of 750px, a height of 30px and the color of the text is black?
  • Which of the following statements is true regarding the CSS rule: div { width: 80%; } @media print { div { width: 25%; } }?
  • What happens in CSS when multiple classes are applied to an element?
  • Which of the following is part of a URL?
  • What is wrong with the following code: <a href = "picture.jpg">My dog</a> chews socks?
  • In the following code snippet, what value is given for the right margin? margin: 5px 10px 3px 8px;
  • What can be inferred about the code <p class="fancy box">?
  • The fluid measurement % can only be used on non-textual elements.
  • What attribute is used with the <img> tag to provide alternative text?
  • What does HTML stand for?
  • What class is used to add a dropdown menu in Bootstrap?
  • What is the result of using an inline style in the following scenario?
  • Which tag is used to represent the main content of an HTML document?
  • How are Bootstrap's JavaScript components triggered?
  • A <span> block is an inline-level element.
  • Block-level elements begin on a new line.
  • Are descendant selectors more general than child selectors?
  • Can a function be called without being defined first?
  • Responsive Web Design is best described as...
  • Which is the correct syntax to change the contents of the HTML element with id 'quiz' again?
  • In Bootstrap 3, if a div is defined as <div class="col-md-3 col-lg-7">, how many columns will it take up in an xs viewport?
  • Which of the following JavaScript methods allows you to change the HTML content of an element?
  • Which of the following is NOT an example of a top-level domain?
  • What does FTP stand for?
  • To access your cPanel account, you need ...
  • What class would ensure that a column takes up the full width of the row in Bootstrap 3?
  • What role does CSS primarily serve?
  • Are descendant selectors more specific than child selectors?
  • Which of the following technologies is essential for making web pages interactive?
  • What should the alt text of an image describe?
  • Which organization is responsible for assigning top-level domain names?
  • Which of the following measurements is relative to the size of its parent element?
  • Which of the following is not a valid variable name?
  • HTML uses ____ to annotate documents, marking up content to identify specific HTML elements.
  • Which organization was NOT involved in the creation of HTML5?
  • Which property specifies the stacking order of overlapping elements?
  • What are valid characters for naming a variable in JavaScript?
  • In a md viewport, how wide is the div with class "col-md-4 col-lg-7"?
  • In the code <p class="plain fancy">Hi</p>, what color font will be used?
  • Can the padding and margin properties be styled with unique colors?
  • Which CSS property should you use to add space between a border and its content?
  • Which Bootstrap class supports responsive text resizing?
  • What is the best/proper way to declare a section that has an h2 heading and uses a detail tag?
  • Which set of element tags is used to create the highest level heading?
  • Which layout technique is often utilized in responsive web design?
  • What are the four principles of Accessibility commonly referred to as?
  • Which of these is not a valid method of selecting elements in JavaScript?
  • What color font will display in the code <p>Hi</p> ?
  • How much horizontal space ("width") will this div use? div{ width: 50px; padding: 10px; margin: 5px; border: 2px; }
  • Semantic code describes the ____ of content on a page, regardless of the style or appearance of that content.
  • What property is used to change the background color of an element?
  • Do HTML5 tags have the same semantic meaning regardless of the browser used?
  • Which is used to create rules about the color, font, and layout of our pages?
  • Which of the following is considered a deprecated media type?
  • Can a single web page require multiple iterations of the Request-Response Cycle?
  • What unit is used to specify dimensions in CSS relative to the size of the parent element?
  • Why was the original web primarily developed?
  • Which of the following elements is not typically a part of a basic HTML structure?
  • Which of the following is a true statement about using a separate "m." site for your content?
  • Which Bootstrap class is best for displaying content as a grid layout?
  • In JavaScript, which function is used to pause execution and wait for user input?
  • Which of the following code segments will prevent users from being able to zoom in or out on your content?
  • What does the term 'viewport' refer to in web development?
  • Which of these options does NOT require the use of parentheses?
  • The default value for the position property is:
  • Which version of HTML introduced different document types?
  • Are class selectors part of the Document Object Model (DOM)?
  • Which variable naming convention helps maintain clarity in variable purpose?
  • What does the acronym CSS stand for in web development?
  • The original developers of HTML were opposed to the addition of tags for graphical images.
  • Which is the best/proper way to declare a section that has an h2 heading and three progress elements?
  • In a sm viewport, a div defined as <div class="col-md-3 col-lg-7"> will be how many columns wide?
  • Which file type is typically associated with markup languages?
  • What is incorrect about this code snippet: var name = "Mike"; "Colleen" = name;
  • When should an image have null (empty) alt text?
  • How do you properly access the third element in an array variable named "fruit"?
  • What is the purpose of the 'z-index' property in CSS?
  • Which CSS property controls the text size?
  • Which of the following statements is true regarding JavaScript and HTML?
  • Which of the following is NOT a CSS property?
  • Every well-formed HTML document should include:
  • Can a function be called multiple times within a single file?
  • If you have an element with the font size of 32px, and a child element inside with a font-size set to 2em, what is the font size of the child in px?
  • Which property is used to align text to the center in CSS?
  • What does WAN stand for?
  • What is the main function of a server?
  • What do conditional statements do in a program?
  • What is the proper JavaScript code to change the content of a paragraph with the id "second" to "What does the Fox say?"
  • In an xs viewport, how many columns wide is the div with class "col-sm-2 col-lg-4"?
  • Which is the best/proper way to declare the header for a page?
  • Which CSS3 property is used to center text?
  • The link to the external style sheet should be in the:
  • What is the best way to convey that your text has special meaning?
  • Which of the following is the proper way to link to an external JavaScript file?
  • Which HTML element is used to create a descriptive list?
  • What is the purpose of using the prompt function in JavaScript?
  • The <ul> and <ol> elements may contain only which of the following?
  • Assuming a page with four paragraph tags, what is the correct code to change the content of the second paragraph?
  • An _______ is the size of type as computed relative to the type size of the parent element.
  • Which HTTP method is used to retrieve data from a server?
  • In the code <p class="fancy plain">Hi</p>, what color font will be used?
  • By default in most browsers, 1 rem = ____.
  • Which measurement is easier and comfortable for the designer/developer to use when coding their CSS but does not provide the best experience for the user?
  • In the following code snippet, what value is given for the left margin? margin: 5px 10px 3px 8px;
  • What is the width of any div elements on a 750px screen given the following CSS rules: div { width: 80%; } @media all and (min-width: 500px) { div { width: 25%; } }?
  • Why might the code .body { margin: 10px; } be considered a typo?
  • What tags are used to create definitions in HTML?
  • What does 'lg' represent in Bootstrap column classes?
  • What is wrong with the following function definition: function Hello();{ alert("Hello"); document.write("Hello on the screen"); }?
  • What happens if a variable is declared but not initialized?
  • Which of the following is NOT a fluid measurement?
  • If your body tag uses the style attribute style="text-align:center", can you overwrite that property using the CSS3 rule body{text-align: left;}?
  • Is Bootstrap a framework intended for back-end web development?
  • For a div defined as <div class="col-sm-2 col-lg-4">, how many columns will it occupy in a md viewport?
  • The # symbol specifies that the selector is which type?
  • Which CSS3 property allows you to change property values smoothly over a given duration?
  • What is the width of any div elements on a 350px screen given the following CSS rules: div { width: 80%; }?
  • Where can you specifically put JavaScript in a web document?
  • Is Bootstrap a framework intended for front-end web development?
  • Which of the following does not generate output directly to the screen?
  • Which snippet of CSS is commonly used to center an element horizontally?
  • What is the purpose of using the class "container" in Bootstrap?
  • What was the first graphical web browser created in?
  • CSS stands for?
  • If a function is defined twice, what will happen when the function is called?
  • The Bootstrap 3 grid system is based on how many columns?
  • What does <thead> stand for?
  • Which is the best/proper way to declare that the language for your page is English?
  • Which unit is best used for responsive web design?
  • In a lg viewport, how wide is the div with class "col-lg-2 col-sm-5"?
  • What is a common use of CSS media queries?
  • What do we mean when we refer to a 'top-level domain'?
  • Every valid web page can be represented as a tree. This tree is known as the?
  • When was CSS1 introduced for public use?
  • Should the mobile version of your web page have the same capabilities as every other version of your site?
  • What is wrong with this code?
  • Which unit of measurement provides a scalable and relative approach to font size across various devices?
  • A default style sheet is used to:
  • The styling contained in the style tag has precedence over which other type of styling?
  • Which of the following is the best way to use a Font Awesome icon to link to Twitter?
  • If you have an element with the font size of 24px, and a child element inside with a font-size set to .5em, what is the font size of the child in px?
  • What does mnemonic mean in the context of variable naming?
  • Which of the following best explains the difference between "syntax" and "semantics"?
  • Which version of HTML introduced semantic tags?
  • What is the width of any div elements on a 750px screen based on the following CSS: @media all and (min-width: 500px) { div { width: 25%; } } div { width: 80%; }?
  • Using the header and footer tags can improve the search engine optimization for your page.
  • Which code will properly insert headings along each row of a table?
  • Inline-level elements begin on a new line.
  • In the context of web development, what is a 'client'?
  • The margin is the space between elements. True or False?
  • What is the correct HTML for referring to an external style sheet?
  • Adaptive design with dynamic serving is...
  • What happens to the margin property in the following CSS: .myElement { margin: 10px; }?
  • What elements help organize the data and structure of a table?
  • Which fluid measurement type returns a percentage of the viewport height?
  • How does prompt differ from alert?
  • JavaScript uses what kind of interface to access the DOM structure?
  • What is the result of using a variable name that starts with a number?
  • True or False: Bootstrap is designed with a mobile-first approach.
  • What is true about the following code snippet?
  • A key component of your wireframes should test which aspect?
  • What is the best/proper way to create a footer that has an image, paragraph, and link? Be careful, that paragraph includes a special entity.
  • What does LAN stand for?
  • Which of the following statements best describes what pixels, ems, and rems have in common?
  • A _______ is the size of type as computed relative to the type size of the top level "html" element rather than a parent element.
  • What Bootstrap class is typically used to align elements horizontally in a navigation bar?
  • What does URL stand for?
  • In Bootstrap 3, which class would you use to create a responsive column that stacks on mobile devices?
  • Which class would you use for a column that should take up one fourth of the space in Bootstrap 3?
  • Which rule changes the text color of p elements with the class "highlight" when hovered over?
  • Does HTML5 produce pages that look the same across all browsers?
  • How do you properly access the first element in an array variable named "fruit"?
  • What does the class selector .fancy indicate in CSS?
  • Which is the correct syntax to change the contents of the HTML element with id 'quiz'?
  • The first graphical browser was ____.
  • The predecessor of the internet was?
  • Which attribute is used in an HTML tag to link to an external JavaScript file?
  • What is wrong with the following code? <a href="http://www.umich.edu"></a>
  • To publish your site online you need?
  • Which of the following is not a browser prefix?
  • Does the Bootstrap grid system function across different device sizes?
  • Which of the following is not a valid variable name?
  • For a div defined as <div class="col-sm-2 col-lg-4">, how many columns wide will it be in a sm viewport?
  • What text-decoration value will remove the underline from a link?
  • What does the Domain Name Service return when a domain is looked up?
  • What type of network is the Internet classified as?
  • In Bootstrap 3, when defined as <div class="col-md-3 col-lg-7">, how many columns does the div occupy in a md viewport?
  • What validation error will this code produce: <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>Testing</title></head><body><p><h2>Validate me!</h2></p></body></html>?
  • How do you display hyperlinks without an underline?
  • What should wireframes specify?
  • Which HTML element is used to define list items?
  • What type of information does a browser request from a server?
  • What is a basic functionality of browsers?
  • What is the primary purpose of the CSS margin property?
  • Which format is used to set up the structure of a webpage?
  • What does the Request/Response Cycle entail?
  • What is true about the Request-Response Cycle?
  • Which of the following are browsers?
  • What does the acronym DNS stand for in web development?
  • Given this rule: div{ border-width:10px 3px 5px 9px; } What is the width of the left border?
  • The property/value pair list-style-type: upper-roman; is primarily used for which type of list?
  • If you have an element with the font size of 18px, and a child element inside with a font-size set to .5em, what is the font size of the child in px?
  • Which is the correct file extension for a web page?
  • What HTML element is used to create a standard navigation pill in Bootstrap?
  • In a sm viewport, how wide is the div with class "col-sm-6 col-lg-4"?
  • What is the maximum number of columns that can be used in Bootstrap 3?
  • Which of the following rules styles the first paragraph in each div?
  • Which property is used to change the font size in CSS?
  • What does target = "_blank" do in a link tag?
  • What are "proprietary" tags?
  • What does it mean that variables are case-sensitive?
  • What does the Domain Name Service return when looking up a domain?
  • Which property would you use to change the background color of an element?
  • Which Bootstrap class creates a justified tab navigation?
  • Which of the following is a benefit of using relative units like ems and rems?
  • Is it possible to define a function without calling it?
  • What does W3C stand for?
  • Which is the best/proper way to declare that your page uses the HTML5 protocol?
  • What value is stored in name if the person presses the Okay button on a prompt without entering anything?
  • What validation error will this code produce: <!DOCTYPE html><html lang="en"><head></head><body><p>Validate me!</p></body></html>?
  • When will the function Hello() be called based on the given code with an onclick event?
  • Responsive sites can have a mixture of fluid and absolute measurements.
  • Which HTML tag defines the main heading of a page?
  • Which attribute is used to define inline CSS styles in an HTML element?
  • How much vertical space ("height") will this div use? div{ height: 50px; padding: 5px 10px; margin: 5px; border: 2px; }
  • In web design, what does the term "viewport" refer to?
  • What term describes the process of optimizing a website's performance for mobile devices?
  • Which of the following is not an option for specifying a color in CSS3?
  • What keyword is used to define a function in JavaScript?
  • What value is stored in name if the person hits the Cancel button on a prompt?
  • Is it true that built-in JavaScript functions cannot be mixed in with other HTML code unless you use the "script" tag?
  • In order for the <img> element to work, which attribute must be included?
  • What is a fundamental purpose of variables in programming?
  • What does semantics refer to in web development?
  • Which types of lists does the list-style-type property apply to?
  • Which of the following is the proper syntax for a pseudo-class?
  • Which practice should HTML5 avoid?
  • In JavaScript, which keyword is used to declare a variable?
  • What is the primary function of HTML?
  • Which is the best/proper way to declare a section that has an h2 heading and an unordered list?
  • Which of the following is not a valid method for generating output to the screen in JavaScript?
  • Which one of the following choices describes the Internet adequately?
  • What is true about this code snippet with alerts?
  • Are the id selectors part of the Document Object Model (DOM)?
  • To use FTP software to transfer files, you will typically need to know your site's FTP address or IP address.
  • What is wrong with the following code? body{ color: #000000; background-color:#FFFFFF; font-family: Times, Arial, Cursive; }
  • What is padding in relation to an element?
  • If you want your navigation bar to remain visible, even when the user scrolls downward, which type of positioning should you use?
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy