CIS Exam 1

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

Where do you place the code to associate a web page with an external style sheet? a. in the external style sheet b. in the DOCTYPE of the web page document c. in the body section of the web page document d. in the head section of the web page document

d. in the head section of the web page document

The __________ element is intended to present an independent entry such as a blog posting

article

Which of the following uses CSS to configure a class called news with red text, large font, and Arial or a sans-serif font? a. news { color: red; font-size: large; font-family: Arial; sans-serif; } b. .news { color: red; font-size: large; font-family: Arial; sans-serif; } c. .news { text: red; font-size: large; font-family: Arial; sans-serif; } d. #news { text: red; font-size: large; font-family: Arial; sans-serif }

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

Which of the following creates an image link to the index.html page when the home.gif graphic is clicked? a. <a href="index.html" src="home.gif"alt="Home"></a> b. <a href="index.html"><img src="home.gif"alt="Home"></a> c. img src="home.gif" href="index.html" alt="Home"> d. a href="index.html"><img href="home.gif"alt"Home"></a>

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

Which tag pair configures a structural area on a web page? a. <area> </area> b. <div> </div> c. <cite> </cite> d. <strong></strong>

b. <div> </div>

Which CSS property configures the background color? a. bgcolor b. background-color c. color d. color

b. background-color

Which of the following is the CSS property used to set the background color of a web page? a. bgcolor b. background-color c. color d. none of the above

b. background-color

Which of the following is the declaration property used to set the font typeface for an area of a web page? a. face b. font-family c. font-face d. size

b. font-family

Which tag pair is used to link web pages to each other? a. <link> </link> b. <hyperlink> </hyperlink> c. <a> </a> d. <body> </body>

c. <a> </a>

Which tag configures the next element or portion of text to display on a new line? a. <line> b. <nl> c. <br> d. <new>

c. <br>

Which HTML tag configures a horizontal line on a web page? a. <line> b. <br> c. <hr> d. <border>

c. <hr>

Which of the following associates a web page with an external style sheet? a. <style rel="external" href="style.css"> b. <style src="style.css"> c. <link rel="stylesheet" href="style.css"> d. <link rel="stylesheet" src="style.css">

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

Which of the following graphic types can be made transparent? a. GIF b. JPG c. PNG d. GIF and PNG e. GIF and JPG

d. GIF and PNG

Which of the following graphic types is well-suited to photographs? a. GIF b. JPG c. WebP d. JPG and WebP e. GIF and JPG

d. JPG and WebP

Which of the following can be a CSS selector? a. an HTML element name b. a class name c. an id name d. all of the above

d. all of the above

The _________ element is useful for creating areas on a web page that are embedded within paragraphs or other block display elements

span

Use the ________ element to configure text to have strong importance and display in a bold font weight

strong

If your web page uses graphic links, include at the bottom of the page to increase accessibility

text links

The __________ CSS property can be used to center text within a block display element

text-align

The _________ CSS property can be used to indent the first line of text

text-indent

A(n) image is a smaller version of a larger image that usually links to the larger image

thumbnail

A background image will automatically be repeated, or, by a web browser?

titled

Which tag pair is used to create the largest heading? a. <area> </area> b. <h9> </h9> c. <h type= "largest"> </h> d. <h6> </h6>

a. <area> </area>

Which attributes specifies text that is available to browsers and other user agents that do not support graphics? a. alt b. text c. src d. none of the above

a. alt

Which of the following configures a background color of #00CED1 for a web page using CSS? a. body { background-color: #00CED1; } b. document { background: #00CED1; } c. body { bgcolor: #00CED1; } d. document { bgcolor: #00CED1; }

a. body { background-color: #00CED1; }

Which of the following describe two components of CSS rule? a. selectors and declarations b. properties and declarations c. selectors and attributes d. non of the above

a. selectors and declarations

The __________ is used to place a nonbreaking space on a web page

&nbsp;

What does an e-mail link do? a. automatically sends you an e-mail message with the visitor's email address as the reply-to-field b. launches the default email application for the visitor's browser, with your email address as the recipient c. displays your email address so that the visitor can send you a message later d. links to your mail server

b. launches the default email application for the visitor's browser, with your email address as the recipient

What is the default horizontal alignment for elements on a web page? a. center b. left c. right d. wherever you type them in the source code

b. left

Which of the following is an HTML 5 element used to indicate navigational content? a. main b. nav c. header d. a

b. nav

Which type of HTML list will automatically number the items for you? a. numbered list b. ordered list c. unordered list d. definition list

b. ordered list

Which of the following configures empty space between the content of the HTML element (typically text) and the border? a. space property b. padding property c. margin property d. border property

b. padding property

What is the purpose of coding height and width attributes on an <img> tag? a. they are required attributes and must always be included b. they help the browser render the page faster because it reserves the appropriate space for the image c. they help the browser display the image in its own window d. none of the above

b. they help the browser render the page faster because it reserves the appropriate space for the image

The CSS property configures a drop-shadow effect on an HTML element

box-shadow

Which of the following is true if a web page contains both a link to an external style sheet and embedded styles? a. embedded styles will be applied first, and then the external styles will be applied b. the inline styles will be used c. external styles will be applied first, and then the embedded styles will be applied d. the web page will not display

c. external styles will be applied first, and then embedded styles will be applied

What is the term used to describe a square icon that is associated with a web page and is displayed in the browser address bar or tab? a. background b. bookmark icon c. favicon d. logo

c. favicon

Which of the following do you configure to apply a style to only one area on a web page? a. group b. class c. id d. none of the above

c. id

Which type of CSS is coded in the body of the web page as an attribute of an HTML tag? a. embedded b. external c. inline d. imported

c. inline

When do you need to use a fully qualified URL in a hyperlink? a. always b. when linking to a web page file on the same site c. when linking to a web page file on an external site d. never

c. when linking to a web page file on an external page

Which of the following is a reason that the textcontained by the title tag should be descriptive and include the name of the business or organization? a. the title is saved by default when a visitor bookmarks a web page b. the title may be printed when a visitor prints a web page c. the title may be listed in search engine results d. all of the above

d. all of the above

Which of the following configures a graphic to repeat vertically down the side of a web page? a. background-repeat: left; b. background-repeat: right; c. repeat: left; d. background-repeat: repeat-y;

d. background-repeat: repeat-y;

The <meta> tag can be used to _________

describe a characteristic of a web page, such as the character encoding

Use the ____________ element to configure text to be emphasized and displayed in an italic font style

em

The ___________ CSS property can be used to configure bold text

font-weight

The element displays a visual gauge of a numeric value within a known range

meter


Kaugnay na mga set ng pag-aaral

En la estación de tren (In the Train Station)

View Set

Fundamentals of Physics Chapter 4

View Set

Milieu Therapy/ Treatment Modalities: Mental Health Nursing (Exam#1)

View Set

AP Psychology Chapter 7 Memory Questions

View Set

Prep U for Brunner and Suddarth's Textbook of Medical Surgical Nursing, 13th Edition Chapter 65: Assessment of Neurologic Function

View Set

Concert promotion and touring final

View Set