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.

Web Development 201 (WED201c) Practice Test course image
More practice questions

These questions are part of the practice quiz. Start practicing

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

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy