CSCE 102 Questions Week 1-4 (Test 1)

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which of the following is used along with the left, right, and/or top property to precisely configure the position of an element outside of normal flow?

position: absolute;

Which of the following recommended design practices applies to a website that uses images for its main site navigation?

provide alternative text for the images and place text links at the bottom of the page

Which of the following describe two components of CSS rules?

selectors and declarations

Which of the following is an image file that contains multiple small graphics?

sprite

The W3C Markup Validation Service lists syntax errors in a web page.

true

The content that displays in the browser viewpoint is contained in the body section

true

Which of the following should you do when creating text hyperlinks?

use a key phrase as a hyperlink

When should you code an absolute hyperlink?

when linking to a web page that is external to your website

Which of the following is a sketch or diagram of a web page that shows the structure (but not the detailed design) of basic page elements?

wireframe

Select the item below that indicated the top-level domain name for the URL http://www.google.com

.com

Web page documents typically use the ____ or _____ file extension

.htm, .html

Which of the following configures a CSS class called news with red text (#FF0000) and light gray background (#EAEAEA)?

.news { color: #FF0000; background-color: #EAEAEA; }

Which configures a class called news with red text, large font, and Arial or a sans-serif font using CSS?

.news {color: red; font-size: large; font-family: Arial, sans-serif;}

Which of the following configures a class called notes to float to the left?

.notes { float: left; }

Which of the following pseudo-classes is the default state for a hyperlink that has already been clicked?

:visited

Write the code to create a relative hyperlink to a web page named clients.html

<a href="clients.html"> Clients</a>

Write the code to create an absolute hyperlink to a website whose domain name is google.com.

<a href="http://www.google.com"">Google</a>

Which of the following creates an image link to the index.html page when the home.gif graphic is clicked?

<a href="index.html"><img src="home.gif" alt="Home" ></a>

Which tag configures the following text or element to display on a new line?

<br>

Which tag pair is the best choice to emphasize text with italic font on a web page?

<em></em>

Which tag pair configures the largest heading?

<h1></h1>

Write the markup language code to display your name in the largest-size heading element

<h1>Emily Van Seeters</h1>

Think of a favorite quote by someone you admire. Write the HTML code to display the person's name in a heading and the quote in a blockquote.

<h3>Dr. Seuss, The Lorax</h3> <blockquote> "Unless someone like you cares a whole awful lot, nothing is going to get better. It's not." </blockquote>

Which tag configures a horizontal line on a web page?

<hr>

Which of the following associates a web page with an external style sheet?

<link rel="stylesheet" href="style.css">

Which tag is used to hyperlink web pages to each other?

<link>

Write the markup language code for an ordered list that uses uppercase letters to order the items. This ordered list will display the following: Spring, Summer, Fall, and Winter

<ol type="A"> <li>Spring</li> <li>Summer</li> <li>Fall</li> <li>Winter</li> </ol>

Which tag par configures a paragraph?

<p></p>

___ is the set of markup symbols or codes placed in a file intended for display on a web browser

HTML

The newest version of HTML is ____.

HTML5

What is the process of ensuring that web pages that are coded with new or advanced techniques are still usable in browsers that do not support the new techniques?

Validation

Which of the following is the CSS property used to set the background color?

background-color

Which CSS property configures the background image of an element?

background-image

Which of the following configures a graphic to repeat vertically down the side of a web page?

background-repeat: repeat-y;

Which CSS property can be used to resize or scale a background image?

background-size

Which of the following configures a background color of #FFF8Dc for a web page using CSS?

body { background-color: #FFF8DC; }

Which CSS property will configure rounded corners?

border-radius

Which of the following will configure a border that is 5 pixels wide, the color #330000, and a solid line?

border: 5px solid #330000;

Which of the following properties can be used to clear a float?

clear or overflow

Which of the following is not a web design recommended practice?

colorful pages appeal to everyone

Which of the following is a color scheme that consists of two colors opposite each other on the color wheel?

complementary

An external style sheet uses the ____ file extension.

css

Which of the following causes to display without empty space above and below?

display: inline,

What is a unique text-based internet address corresponding to a computer's unique numeric IP address called?

domain name

Which of the following is the design technique used to create pages that stretch to fill the browser window?

fluid

Which CSS property that configures text font typeface?

font-family

Which of the following are the three most common methods of organizing websites?

hierarchical, linear, and random

Which of the following do you configure to apply a style to more than one area on a web page?

id

Where do you place the code to associate a web page with an external style sheet?

in the head section of the web page document

The home page of a website is typically named ____ or ____.

index.htm, index.html

Which type of CSS is coded in the body of the web page as an attribute of an HTML tag?

inline

Which declaration configures an unordered list item with a square list marker?

list-style-type: square;

Which CSS property configures empty space between adjacent elements?

margin

Which of the following is used to along with the width property to configure centered page content?

margin-left: auto; margin-right: auto

Which of the following is an HTML5 element used to indicate navigational content?

nav

Which of the following is an example of using a descendant selector to configure the anchor tags within the nav element?

nav a

Which of the following is the rendering flow used by a browser by default?

normal flow

Which type of HTML list will automatically number the items for you?

ordered list

Which CSS property configures the area between the content and the margin?

padding

Which are the four principles of the Web Content Accessibility Guidelines?

perceivable, operable, understandable, robust

Which of the following causes an element not to display?

Display: none;

A domain name that ends in .net indicated that the website is for a networking company.

False

Write the markup language code for an unordered list to display the days of the week

<ul> <li> Monday </li> <li> Tuesday </li> <li> Wednesday </li> <li> Thursday </li> <li> Friday </li> <li> Saturday </li> <li> Sunday </li> </ul>

Which CSS property will configure a gradient background?

Linear-gradient

Which of the following, from outermost to innermost, are components of the box model?

Margin, border, padding, content

What is the process of creating an image with the lowest file size that still renders a good-quality image — balancing image quality and file size?

Optimization

Which of the following will configure padding, that is 15 pixels on the top, 0 pixels on the left and right, and 5 pixels on the bottom?

Padding: 15px 0 5px 0;

Which of the following s used to change the location of an element slightly in relation to where it would otherwise appear on the page?

Relative positioning

The purpose _____ is to ensure the integrity of the communication

TCP

Which of the following is the CSS property that configures a drop shadow effect on text?

Text-shadow

Markup languages contain sets of directions that tell the browser software how to display and manage a web document

True

Which of the following is a mobile web design best practice?

a configure a single-column page layout

Which of the following would a consistent web-site design not have?

a different background color on each page

Which attribute specifies text that is available to browsers and other user agents that do not support graphics?

alt

Which of the following can be a CSS selector?

an HTML element name, a class name, and an id name


Kaugnay na mga set ng pag-aaral

Chapter 13 The Spinal Cord, Spinal Nerves, and Spinal Reflexes (by BuGay )

View Set

Fundamentals of information systems security Ch 12 Summary

View Set

Chapter 3: National Differences in Economic Development

View Set

Ch 03: Tissue Renewal and Repair: Regeneration, Healing, and Fibrosis

View Set

Vander's ch 6 thru ch 9, all terms

View Set

Assessment and Management of Patients with Hepatic Disorders

View Set