WEB201c

Ace your homework & exams now with Quizwiz!

CSS1 was introduced for public use in

1996

A default style sheet is used to: A. Eliminate differences in browser default styling. B. Insert the prefixes needed to support different browsers.

A

A default style sheet is used to:Eliminate differences in browser default styling.Insert the prefixes needed to support different browsers. A. static B. relative C. absolute D. fixed

A

A function that wants to return multiple values at once (such as document.getElementsByTagName) will return a/an A. Array B. Number C. String

A

A key component of your wireframes should test A. interaction B. color schemes C. code syntax

A

Adaptive design with dynamic serving is.... A. Designing multiple pages, one for each type of major device (phone, tablet, laptop, and desktop) B. Designing pages for the mobile view. C. Designing pages for multiple platforms by incorporating fluid measurements and varying CSS rules.

A

Consider the following CSS rule: div{ width: 80%; } @media print { div{ width: 25%; } } Which of the following is a true statement? A. The div elements will have a width of 25% only when the page is printed B. The div elements will only visible only when the page is printed C. The div elements will have a width of 80% only when the page is printed

A

Consider the following CSS rules: div{ width: 25%; } @media all and (min-width: 500px){ div{ width: 50%; } } What is the width of any div elements on a 450px screen? A. 25% B. 100% C. 50%

A

Consider the following CSS rules: div{ width: 80%; } @media all and (min-width: 500px){ div{ width: 25%; } } What is the width of any div elements on a 350px screen? A. 80% B. 100% C. 25%

A

Consider the following code using Bootstrap 3: 1 <div class = "col-md-4 col-sm-10 "> In a lg viewport the div will be _____ columns wide. A. 4 B. 8 C. 10 D. 12

A

Designing multiple pages, one for each type of major device (phone, tablet, laptop, and desktop) is called A. Adaptive Design B. Multi-site design C. the .m paradigm

A

If you created a site with a Bootstrap drop-down menu and it is visible, but not functioning, the problem is probably with... A. The link to the Bootstrap JavaScript code. B. The link to the Bootstrap CSS code. C. The link to the Bootstrap HTML code.

A

JavaScript uses what kind of interface to access the DOM structure? A. an API B. CSS3 C. HTML5

A

What does it mean that variables are case-sensitive? A. That the computer does not think that the variables name and Name are the same thing. B. That all variables must use lowercase letters C. That all variables must use uppercase letters

A

What does mnemonic mean? A. That variable names should help describe the value being stored. B. That variable names should be as short as possible, preferably with no more than two or three characters. C. That variable names should start with lowercase letters and use uppercase letters if the variable has multiple parts, e.g. firstName.

A

What is wrong with this code? div{ position: relative;left: 10px; } A. The code works, but the left property is not necessary since relative elements don't allow offsets B. There is nothing wrong with this code. C. "relative" is not a valid option for position

A

What should target = "_blank" do when included in a link tag? A. Opens the link in a new tab or window B. Opens the link in a in a tab called "_blank" C. This is not a valid expression.

A

What value is stored in name if the person hits the Okay button on a prompt before entering anything? var name = prompt("What is your name?"); A. an empty string ("") B. exception C. undefined

A

Which fluid measurement type returns a percentage of the viewport height? A. vh B. vw C. viewheight D. viewport

A

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? A. px B. em C. rem

A

Which of the following bootstrap classes are used to create a justified tabs navigation? (Reminder, "justified" means that they grow/shrink to take up the full width of the screen.) A. <ul class="nav nav-tabs nav-justified"> B. <ul class="nav nav-tabs"> C. <ul class="nav nav-tabs nav-stacked"> D. <ul class="nav nav-tabs justified">

A

Which of the following code segments will keep people from being able to zoom in or out on your content? A. <meta name = 'viewport' content='width=device-width, initial-scale=1, maximum-scale = 1'> B. <meta name = 'viewport' content='width=device-width, initial-scale=1'> C. It is impossible to lock the zoom ability

A

Which of the following is NOT a fluid measurement A. px B. % C. rem D. em

A

Which of the following is a benefit of using the Bootstrap CDN? A. You always are linked to the latest Bootstrap code. B. You are able to customize the Bootstrap values which you can not do with a local version of the code. C. Using the CDN is the only way to use Bootstrap for free.

A

Which of the following is a recommended way to incorporate Bootstrap into your code? A. Use a link to the Content Delivery Network B. Use a link to the Bootstrap 3 site.

A

Which of the following is a true statement about using a separate "m." site for your content? A. It is difficult to keep multiple versions of your site consistent. Any updates must be made in multiple places. B. Some search engines require a .m version of your site. C. Users have control over which version of the page they can see, regardless of the device they are using.

A

Which of the following statements best describes what pixels, ems, and rems have in common? A. They are all units of measurement used to define the length of elements on a webpage. B. They are all fluid units of measurement used to define the length of elements on a webpage. C. They are all fluid units of measurement that define the screen resolution of a page.

A

Which organization is responsible for assigning top-level domain names? A. Internet Corporation for Assigned Numbers and Names (ICANN) B. Internet Domain Name Server (IDNS) C. World Wide Web Consortium (W3C)

A

Which rule will change the text color of p elements with the class "highlight" when hovered over? A. p.highlight:hover{ color:green; } B. p:hover{ color:green; } C. p:hover{ color:green; } D. p:hover > highlight{ color:green; }

A

Which set of element tags is used to create the highest level heading? A. <h1>...</h1> B. <h6>...</h6> C. <header>..</header> D. <h9>..</h9>

A

Wireframes should... A. specify the layout and content of your pages B. specify the layout, color, and content of your pages C. specify the layout of your pages

A

hich of the following bootstrap classes are used to add a dropdown menu? A. <ul class="dropdown-menu"> B. <ul class="nav nav-pills dropdown"> C. <nav class="dropdown-menu">

A

A standard navigation pill is created with: A. <ul class="nav pills"> B. <ul class="nav nav-pills"> C. <nav class="nav nav-pills"> D. <ul class="nav-pills">

B

An _______ is the size of type as computed relative to the type size of the parent element. A. px B. em C. rem

B

Assume you have a page with four paragraph tags. What is the proper JavaScript code to change the content of the second paragraph to "What does the Fox say?" A. document.getElementById('p')[2].innerHTML = "What does the Fox say?" B. document.getElementsByTagName('p')[1].innerHTML = "What does the Fox say?" C. document.getElementById('second').innerHTML = "What does the Fox say?" D. document.getElementByTagName('p')[2].innerHTML = "What does the Fox say?" E. document.getElementsByTagName('p').innerHTML = "What does the Fox say?"

B

Consider the following code where the font-size of a div is 32px, the font-size of a paragraph is .5em, and the font size of a span element is .5em. <div> <p> Here, there.. How big is the <span>font</span>? <p> </div> What is the font-size of the span element in px? (Looking for a numeric answer only, no measurements.) A. 5px B. 8px C. 16px D. 32px

B

Give an example screen width size for a mobile phone using pixels. (Just provide a number, and not the px!!!) A. range [1px...300px] B. range [300px...768px] C. range [more than 768 px]

B

How does prompt differ from alert? A. Only alert uses parentheses. B. The prompt will return a value, alert does not. C. The alert will return a value, prompt does not. D. Only prompt uses parentheses.

B

If you are using an editor (not CodePen) you will need to reference Bootstrap resources where? A. In the body with a link to jQuery and JavaScript B. In the head element - with a link to the css - and again at the bottom of the body with a link to jQuery and JavaScript C. In the head element - with a link to the css and js files D. In the body section - with a link to the css and js files Correct

B

What is the difference between == and === ? A. The == operator is the assignment operator, while === is the equality operator. B. The == operator only checks for equivalent values, not equivalent type too. C. The === operator only checks for equivalent values, not equivalent type too.

B

What is wrong with the following rule? body { color: #000000 ; background-color: #FFFFFF; font-family: Times, Arial, Cursivel; } A. You can't specify three options for font-family. B. This is a valid rule C. You can't specify three styles in a single rule

B

What is wrong with this code? var name="Mike"; "Collean"=name; A. It is illegal to change the value stored in a variable. B. This code is illegal and it doesn't make sense to have a non-variable (also called a constant) in the left-hand side (LHS) of an assignment statement. C. The variable declaration is illegal.

B

When a function returns a node from the DOM, it is of type A. Boolean B. Object C. String D. Number

B

Where can you put JavaScript? A. Just in the <head> section B. In the head and body section C. Just in the <body> section

B

Which Bootstrap class will apply a striped look to a Bootstrap table? A. striped-table B. table-striped C. .table-bordered D. table-condensed

B

Which fluid measurement type returns a percentage of the viewport height? A. em B. vh C. rem D. vw

B

Which fluid measurement type returns a percentage of the viewport width? A. vh B. vw C. viewwidth D. viewport

B

Which of the following is NOT a fluid measurement A. em B. px C. % D. vw E. rem

B

Which of the following is a deprecated media type -- meaning they are omitted in later versions. (You will need to search for this online it is not in the notes. But a lot of what you do with web design will require a little searching!) A. all B. braille C. speech D. print E. screen

B

Which of the following is not a valid operator? A. += B. =+ C. -- D. == E. ++

B

Which of the following is not a valid variable name? A. variableOne B. 1variable C. variable1 D. oneVariable

B

Which of the following is not a valid variable name? A. variable_2 B. variable-2 C. variable$2

B

Which of these is not valid? (Hint, pay attention to if the method should return one thing, or many things...) A. document.getElementsByTagName(tagName) B. document.getElementsById(idName) C. document.getElementsByClassName(className)

B

hich of the following measurements is relative to the size of its parent element? A. px B. em C. rem

B

onsider the following code using Bootstrap 3: 1 <div class = "col-sm-8 col-lg-4"> In a md viewport the div will be _____ columns wide. A. 2 B. 8 C. 10 D. 12

B

A _______ is the size of type as computed relative to the type size of the top level "html" element rather than a parent element. A. px B. em C. rem

C

Bootstrap uses ... A. JavaScript B. HTML & CSS C. HTML, CSS, and JavaScript D. HTML E. CSS

C

Consider the following CSS rules: div{ width: 80%; } @media all and (min-width: 500px){ div{ width: 25%; } } What is the width of any div elements on a 750px screen? A. 80% B. 100% C. 25%

C

Every valid web page can be represented as a tree. This tree is referred to as the A. API B. JavaScript C. DOM

C

Responsive Web Design is... A. Designing pages for the mobile view. B. Designing multiple pages, one for each type of major device (phone, tablet, laptop, and desktop) C. Designing pages for multiple platforms by incorporating fluid measurements and varying CSS rules.

C

What are the four principles of Accessibility? A. PORE B. USE C. POUR D. WEBAIM

C

Which is the correct syntax to change the contents of the HTML element below? <p id = "quiz">This is a quiz. </p> A. document.getElementsByTagName('p').innerHTML("New content!"); B. document.getElementById('quiz').innerHTML("New content!"); C. document.getElementById('quiz').innerHTML = "New content!"; D. document.getElementsByTagName('p').innerHTML = "New content!";

C

Which of the following code segments will create two equal columns? A. <div class="row"> <div class="col-sm-4">.col-sm-4</div> <div class="col-sm-8">.col-sm-8</div> </div> B. <div class="row"> <div class="col-sm-4">.col-sm-4</div> <div class="col-sm-4">.col-sm-4</div> <div class="col-sm-4">.col-sm-4</div> </div> C. <div class="row"> <div class="col-sm-6">.col-sm-4</div> <div class="col-sm-6">.col-sm-4</div> </div> D. <div class="row"> <div class="col-sm-2">.col-sm-4</div> <div class="col-sm-8">.col-sm-4</div> <div class="col-sm-2">.col-sm-4</div> </div>

C

Which of the following does not generate output directly to the screen? A. document.write(message); B. element.innerHTML = message; C. console.log(message);

C

Which of the following is not a valid method for generating output to the screen? A. prompt B. document.write C. print D. alert

C

Which of these options does NOT require the use of parentheses? A. console.log B. prompt C. innerHTML D. document.write E. alert

C

1 _____ = 1% of viewport height A. em B. rem C.vw D. vh

D

All of the content you wish to appear on the screen should be in which tag? A. <html> B. <content> C. <main> D. <body>

D

Consider the following CSS rules: @media all and (min-width: 500px){ div{ width: 25%; } } div{ width: 80%; } What is the width of any div elements on a 750px screen? A. 100% B. The div won't display since media queries must go at the bottom of the screen. C. 25% D. 80%

D

Consider the following code using Bootstrap 3: 1 <div class = "col-sm-7 col-lg-2"> In an xs viewport the div will be _____ columns wide. A. 2 B. 7 C. 10 D. 12

D

Consider the following code using Bootstrap 3: <div class = "col-md-5 col-lg-2"> In a sm viewport the div will be _____ columns wide. A. 2 B. 8 C. 10 D. 12

D

Consider the following code using Bootstrap 3: <div class = "col-sm-2 col-lg-4"> In an xs viewport the div will be _____ columns wide. A. 2 B. 8 C. 10 D. 12

D

How do you properly access the third element in an array variable named "fruit"? A. [fruit]3 B. fruit[3] C. fruit_3 D. None of the above

D

How much width will this div occupy? div{ width:100px; padding: 10px; margin: 5px; border: 2px; } A. 117px B. 110px C. 107px D. 134px

D

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? (Provide a number only, not the measurement too.) A. 24px B. 5px C. 10px D. 12px

D

In the following code snippet, what value is given for the left margin?margin: 5px 10px 3px 8px; A. 5px B. 10px C. 3px D. 8px

D

The Bootstrap 3 grid system is based on how many columns? A. 2 B. 6 C. 8 D. 12

D

The Bootstrap 3 grid system is based on how many columns? A. 5 B. 10 C. 11 D. 12

D

What is the logical operator for OR? A. & B. % C. | D. ||

D

What value is returned by 17 % 5? A. 4 B. 3 C. 1 D. 2

D

Which CSS property controls the text size? A. text-style B. text-size C. font-height D. font-size

D

Which CSS3 property allows you to change property values smoothly over a given duration? A. change B. hover C. focus D. transition

D

Which HTML element will number items for you? A. <ul> B. <dl> C. <num> D. <ol>

D

Which attribute can be used to change its number within an ordered list? A. num B. skip C. change D. value

D

If a function is defined twice, the first declaration will be called when used. (T/F)

F

JavaScript code must be placed in the <head> section of the document.

F

The fluid measurement % can only be used on non-textual elements (T/F)

F

True or false, Bootstrap is a framework for back-end web development.

F

You can call a function without it being defined. (T/F)

F

he mobile version of your web page should have the same layout of every other version of your site. (T/F)

F

he reverse attribute allows a list to appear in a reverse order in an unordered list. (T/F)

F

What does HTTP stand for?

HyperText Transfer Protocol

What does HTML stand for?

Hypertext Markup Language

What does LAN stand for?

Local Area Network

The first graphical browser was.... (please use one word answer)

Mosaic

A <span> block is an inline-level element (T/F)

T

A basic functionality of browsers is to translate HTML documents into viewable webpages. (T/F)

T

A block element takes up the full width of it's parent, even if the content is smaller than the parent. So two block elements at the same will not be side-by-side. (T/F)

T

A function can be called multiple times in a single file. (T/F)

T

A single web page may require several iterations of the Request-Response Cycle. (T/F)

T

Block-level elements begin on a new line (T/F)

T

Boolean variables store either true or false. (T/F)

T

Breakpoints often correspond with common screen sizes for phones, tablets, and laptops. (T/F)

T

Conditional statements change the flow of execution in a program — the "next" line of code in the program is not always the next one that is executed. (T/F)

T

Descendant selectors nav a{ .... } are more general than child selectors nav>a{ .... } (T/F)

T

In order for the <img> element to work, a src attribute and value must be included to specify the source of the image. (T/F)

T

Responsive sites can have a mixture of fluid and absolute measurements. (T/F)

T

The <ul> and <o> elements may contain only <li> elements. (T/F)

T

The mobile version of your web page should have the same capabilities of every other version of your site. (T/F)

T

To create a String variable, use quotes around the value you want to save. (T/F)

T

To use ftp software to transfer files you will typically need to know your site's ftp address or ip address. (T/F)

T

True or False, Boostrap is mobile-first (T/F)

T

True or False, the Bootstrap grid system works across multiple devices.

T

True or False, with Bootstrap you need to change your HTML code to utilize the Bootstrap classes.

T

True or false, Bootstrap is a framework for front-end web development.

T

Variables allow you to save data. (T/F)

T

You can define a function without calling it. (T/F)

T

What does WAN stand for?

Wide Area Network

Which keyword is used to define a function in JavaScript?

function

What value is stored in name if the person hits the Cancel button on a prompt? var name = prompt("What is your name?");

null

Which tag is used to let the browser know that it is about to see JavaScript code?

script

A ________________________ is a computer that is in charge of handling resource requests from multiple computers.

server

HTML uses _________ to annotate documents. This is a way of marking up the content to identify specific HTML elements.

tags

In JavaScript the keyword ___________ is used to declare a variable.

var

Sometimes elements overlap one another. Which property specifies the stacking order of the elements? (A high value means it is more likely to be place in front of another.) ONLY PROVIDE THE PROPERTY, NOT A VALUE.

z-index

The link to the external style sheet should be in the: A. Displayable content - <body> B. Meta-data - <head> C. Document type

B

The tags to create definitions are: A. <dl>, <term>, <def> B. <dl>, <dt>, <dd> C. <def>, <dt>, <dd> D. <def>, <dt>, <li>

B

URL stands for A. Unordered Resource Location B. Uniform Resource Locator C. Universal Relation Locator

B

What does <thead> stand for? A. The head B. Table head C. Table header D. None of the above

B

What is the correct HTML for referring to an external style sheet? A. <link rel="stylesheet" url="mystyle.css"> B. <link rel="stylesheet" href="mystyle.css"> C. <style src="mystyle.css"></style> D. <link rel="stylesheet" src="mystyle.css">

B

What validation error will this code produce? <!DOCTYPE html> <html lang="en"> <head></head> <body> <p> Validate me! </p> </body> </html> A. No error. B. Element head is missing a required instance of child element title. C. End of file seen when expecting text or an end tag.

B

Which of the following code is the correct way to link to an email address? A. <a href= "[email protected]?subject=Hi&body=How are you">Email</a> B. <a href= "[email protected]?subject=Hi&body=How%20are%20you">Email</a> C. <a href= "[email protected]?subject=Hi&body=How%are%you">Email</a> D. <a href= "[email protected]?subject=Hi&body=How%20are%20you">Email<a>

B

The predecessor of the internet was A. CompuServe B. Al Gore C. Arpanet D. DARPA

C

To publish your site online you need A. a client B. an account through work or school C. a domain name and hosting service

C

How do you display hyperlinks without an underline? A. a { underline:none; } B. a { text-decoration:none; } C. a { text-decoration:no-underline; } D. a { decoration:no-underline; }

B

In the following code snippet, what value is given for the right margin? margin: 5px 10px 3px 8px; A. 5px B. 10px C. 3px D. 8px

B

Semantic code describes the ___ of content on a page, regardless of the style or appearance of that content. A. number B. value C. language

B

The original web was developed A. as a way to display graphical images. B. as a way for scientists to exchange information C. as way to increase international commerce

B

Which tag is used to create a link? A. <link> B. <a> C. <anchor> D. <hyper>

B

Which version of HTML included browser specific features? A. HTML 3.2 B. HTML 5 C. HTML 4.01 D. HTML 2.0

B

The start attribute defines the number from which an unordered list should start. (T/F)

F

The style tag and the style attribute are interchangeable -- this means that you accomplish the same effect with both. (T/F)

F

HTML5 tags have the same semantic meaning, regardless of the browser being used. (T/F)

T

Assume that this code is linked together correctly p{ color: red; padding:10px 5px; background: black; } .fancy{ font-family: cursive; background: red; color: green; } .plain{ font-family: Times, serif; color: black; } <p>Hi</p> What color font is used to display "Hi"? A. red B. green C. black D. browser default

A

Every well-formed HTML document should include: A. doctype, head, body B. doctype, header, body C. header, nav, footer D. alt text

A

Semantics is A. the practice of giving content on the page meaning and structure by using proper element B. the set of rules that defines the combinations of symbols that are considered to be a correctly structured document or fragment in that language C. circular

A

The Domain Name Service looks up the domain and returns the A. IP address B. server C. host D. document

A

The default display value for paragraphs is: A. block B. inline-block C. inline D. none

A

To access your cPanel account, you need ... A. a username and password from your hosting server B. the username and password for your computer C. the port number for your account

A

Using only a default style sheet.. A. will typically have no effect on the appearance of your page. B. will typically make your page look worse. C. will typically make your page look better

A

Using tags that have semantic meaning A. increases accessibility and improve search engine optimization B. increases search engine optimization C. breaks the separation between content and layout

A

Using the code below, will the body of the page have the background-color defined in the file style.css or the background color define in the <style> tag? <head> <meta charset="UTF-8"> <title> Test code </title> <link rel="stylesheet" href="style.css"> <style> body{ background-color: #44CCDD } </style> </head> A. <style> B. style.css

A

W3C stands for A. World Wide Web Consortium B. WWW Compliance C. World Wide Web Community

A

What are proprietary tags? A. Tags that work only on certain browsers B. Tags that displayed copyright information C. Tags used to define ownership of the content

A

What is the correct HTML for referring to an external style sheet stored in a subfolder called css? A. <link rel="stylesheet" href="css/mystyle.css"> B. <link rel="css/stylesheet" href="css/mystyle.css"> C. <style src="css/mystyle.css"> D. <link rel="css/stylesheet" href="mystyle.css">

A

What is wrong with this code? div{ position: static;left: 10px; } A. The code works, but the left property is not necessary since static elements don't allow offsets B. There is nothing wrong with this code. C. "static" is not a valid option for position

A

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> A. No p element in scope but a p end tag seen. B. No error C. Start tag seen without seeing a doctype first. Expected e.g. <!DOCTYPE html>

A

Which CSS3 property is used to center text? (Only provide the property name; do not give it a value.) A. text-align B. align C. text-center D. center

A

Which is the best/proper way to declare that your page uses the HTML5 protocol? A. <!DOCTYPE html> B. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.01//EN" "http://www.w3.org/TR/html5/strict.dtd"> C. <!html> D. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> E. <!DOCTYPE>

A

Which of the following is an example of a top-level domain? A) .com B) umich.edu C) wikipedia.org

A

Which of the following is part of a URL? A. Protocol B. Editor C. Hosting service

A

Which of the following is the best way to convey that your text has special meaning? A. Using semantic tags in addition to color and/or font. B. Using a combination of font size and color to signify the important text C. Using colors to signify the important text D. Using a larger font size to signify the important text

A

Which of the following is the best way to use a Font Awesome icon to link to Twitter? A. <a href="https://twitter.com/" aria-label="Twitter"> <i class="fa fa-twitter"></i></a> B. <a> <i class="fa fa-twitter"></i></a> C. <a href="https://twitter.com/" > <i class="fa fa-twitter" aria-label="Twitter"></i></a> D. <a href="https://twitter.com/"> <i class="fa fa-twitter"></i></a>

A

Which of these tags breaks the tenet of the separation of content and layout? A. br B. center C. p

A

Assume that this code is linked together correctly p{ color: red; padding:10px 5px; background: black; } .fancy{ font-family: cursive; background: red; color: green; } .plain{ font-family: Times, serif; color: black; } <p class = "plain fancy">Hi</p> What color font is used to display "Hi"? A. red B. green C. black D. browser default

C

Assume that this code is linked together correctly. p{ color: red; padding:10px 5px; background: black; } .fancy{ font-family: cursive; background: red;color: green; } .plain{ font-family: Times, serif; color: black; } <p class = "fancy plain ">Hi</p> What color font is used to display "Hi"? A. red B. green C. black D. browser default

C

Assume the following rule is the only one that styles the body element: body { font-family: Cursivel, Helvetica, Verdana ; } What happens if the browser doesn't support any of these font families? A. The text will not be displayed B. The text will be displayed in Cursive C. The text will be displayed in the default browser font-family

C

CSS stands for A. Cascading Hypertext Style Script B. Cascading Color Scheme C. Cascading Style Sheet

C

FTP stands for: A. File Transmission File B. Files to Push C. File Transfer Protocol

C

If you want your navigation bar to remain visible, even when the user scrolls downward, you should use which type of positioning? A. relative B. static C. fixed D. absolute

C

The # symbol specifies that the selector is a/an A. class B. tag C. id D. first

C

The Internet is a type of? A. Local Area Network B. Hypertext Network C. Wide Area Network

C

The default display value for <span> is: A. block B. inline-block C. inline D. none

C

What are the elements to help organize the data and structure of a table? A. <caption>, <head>, <body>, <foot> B. <caption>, <thead>, <tbody>, <foot> C. <caption>, <thead>, <tbody>, <tfoot> D. <caption>, <thead>, <body>, <foot>

C

What is the Request/Response Cycle? A. The process that happens when a HTML5 is created with an editor B. The process that happens when a server requests a page and a client responds with the appropriate files C. The process that happens when a client requests a page and a server responds with the appropriate files

C

What is wrong with the following code? <a href="http://www.umich.edu"></a> A. The anchor link is self-closing. Remove the </a> and the code will work. B. This code is semantically and syntactically correct. C. This link doesn't provide any way to click on the link. D. The alt text attribute is missing from the tag

C

When should an image have null (empty) alt text (alt - "") A. When the image is black and white B. When the image is complex C. When the image is decorative D. When the image already displays descriptive text

C

Which is the correct file extension for a web page? A) .ppt B) .txt C) .html D) .doc

C

Which of the following are browsers? A. Internet Explorer, Windows, Safari B. Firefox, Chrome, Safari, Sublime C. Safari, Chrome, Internet Explorer

C

Which of the following is the correct way to comment on HTML5? A. <?-- HTML --> B. <#-- HTML --> C. <!-- HTML --> D. <$-- HTML -->

C

Which snippet of CSS is commonly used to center an element horizontally? A. site-align: center; B. margin: 0 auto; C. margin: auto 0; D. margin: center;

C

Which tag represents a line break (new line)? A. <line> B. <lb> C. <br> D. <break>

C

Which is the best/proper way to declare that the language for your page is English? A. <html lang="english"> B. <html lang=en> C. <lang="en"> D. <html lang="en"> E. <lang="english">

D

Which of the following is not a browser prefix? A. webkit B. o C. moz D. edge

D

Which of the following is the proper syntax for a pseudo-class? A. selector->pseudo-class { property:value; } B. :pseudo-class { property:value; } C. selector::pseudo-class { property:value; } D. selector:pseudo-class { property:value; }

D

Which of the following rules styles the first paragraph in each div? A. div:first-child p{ color: blue; } B. div p{ color: blue; } C. div >p{ color: blue; } D. div p:first-child { color: blue; }

D

Which of the following would be used to create class called button which has a width of 750px, a height of 30px and the color of the text is black? A. #button { height: 30px; width: 750px; color: black; } B. #button { height: 30px; width: 750px; text: black; } C. .button { height: 30px; width: 750px; text: black; } D. .button { height: 30px; width: 750px; color: black; }

D

Which of the following is not an option for specifying a color in CSS3? A. rgba B. color name C. hexadecimal D. rgb E. binary

E

A <div> block is an inline-level element (T/F)

F

If your body tag uses the style attribute style="text-align:center", you can overwrite that property by using the CSS3 rule. body { text-align: left; } (T/F)

F

Inline elements take up the full width of the browser, even if the content is smaller than the browser size. (T/F)

F

Inline-level elements begin on a new line (T/F)

F

Internal styling (rules specified in the <head> section) override rules specified with the style attribute in a tag. (T/F)

F

The alt text of an image should describe the appearance of an image. (T/F)

F

The browser defaults override rules specified in an external style sheets. (T/F)

F


Related study sets

Quiz 10 Information Security Fundamentals

View Set

Basic Plans, Specifications, and Color Coding

View Set

EMORY DPT MEDICAL SCREENING: Psychological Yellow Flags

View Set