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

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

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy