HTML and CSS Fundamentals Practice Exam - 1386 Verified Questions

Page 1


HTML and CSS Fundamentals Practice Exam

Course Introduction

This course introduces students to the foundational concepts of web development using HTML and CSS. Students will learn how to structure webpages with HTML elements and enhance page appearance and layout with CSS. Through hands-on projects, participants will develop skills in creating responsive, accessible, and visually appealing websites. Basic principles of web standards, semantic markup, and best practices in style sheet organization will be emphasized, providing a solid base for further study in web design and development.

Recommended Textbook

New Perspectives on HTML and CSS Comprehensive 6th Edition by Patrick Carey

Available Study Resources on Quizplus

10 Chapters

1386 Verified Questions

1386 Flashcards

Source URL: https://quizplus.com/study-set/858

Page 2

Chapter 1: Getting Started with HTML5

Available Study Resources on Quizplus for this Chatper

138 Verified Questions

138 Flashcards

Source URL: https://quizplus.com/quiz/17047

Sample Questions

Q1) Which tag should Lew use to create a list to display his surfboard types?

A) ordered

B) definition

C) unordered

D) None of the above

Answer: B

Q2) What are the instructions for creating lists?

Answer: Type <ol> to start an ordered list,<ul> to start an unordered list,or <dl> to start a description list.For each item in an ordered or unordered list,type <li> followed by the text for the list item,followed by </li> at the end of the list item.For each item in a description list,type <dt> before the term,followed by </dt> at the end of the term,and <dd> before the description,followed by </dd> at the end of the description.To turn off the list,type </ol> for an ordered list,</ul> for an unordered list,and </dl> for a definition list.

Q3) Web pages are text files written in Hypertext Markup Language (HTML).

A)True

B)False

Answer: True

To view all questions and flashcards with answers, click on the resource link above. Page 3

Chapter 2: Developing a Web Site

Available Study Resources on Quizplus for this Chatper

139 Verified Questions

139 Flashcards

Source URL: https://quizplus.com/quiz/17048

Sample Questions

Q1) In the example,<a href="#gra">Grading</a>,the entire word "Grading" is defined as a(n)____________________.

Answer: link

hyperlink

hypertext link

Q2) Two points define a rectangular hotspot: the ____ and the ____ corner.

A) lower-left, lower-right

B) upper-right, lower-left

C) lower-left, upper-right

D) upper-left, lower-right

Answer: D

Q3) Which of the following is an HTML-supported kind of path?

A) absolute

B) relative

C) interpreted

D) Both A and B

Answer: D

Q4) ____________________ is the protocol used to open Web pages over a secure encrypted connection.

Answer: HTTPS

Page 4

To view all questions and flashcards with answers, click on the resource link above.

Chapter 3: Designing a Web Page with CSS

Available Study Resources on Quizplus for this Chatper

137 Verified Questions

137 Flashcards

Source URL: https://quizplus.com/quiz/17049

Sample Questions

Q1) To cope with the uncertainty about how their pages will be viewed,many Web page designers opt to use ______ units,which are expressed relative to the size of other objects within the Web page.

Answer: relative

Q2) A generic font describes the general appearance of a typeface,but does not rely on a specific font definition.

A)True

B)False

Answer: True

Q3) ____ matches any element in the hierarchy.

Answer: *

Q4) ______ measures the brightness of the color and ranges from 0% (black)up to 100% (white).

A) Hue

B) Saturation

C) Lightness

D) Darkness

Answer: C

Q5) The style ____________________ is used to specify the font size in a style. Answer: font-size

To view all questions and flashcards with answers, click on the resource link above. Page 5

Chapter 4: Creating Page Layouts with CSS

Available Study Resources on Quizplus for this Chatper

138 Verified Questions

138 Flashcards

Source URL: https://quizplus.com/quiz/17050

Sample Questions

Q1) When you have defined a rectangular region using the appropriate style,which value matches the specified edge of the region to the edge of the parent element?

A) right

B) default

C) auto

D) left

Q2) In relative positioning,browsers place an element based on where it would naturally flow within the document.

A)True

B)False

Q3) As with the margin property,you can specify any or all of the ____ padding values.

A) two

B) four

C) one

D) three

Q4) List the styles commonly used to create and place a background image on a Web page.

Q5) ____________________ consists of the differences among all of the page elements.

To view all questions and flashcards with answers, click on the resource link above. Page 6

Chapter 5: Working with Tables and Columns

Available Study Resources on Quizplus for this Chatper

139 Verified Questions

139 Flashcards

Source URL: https://quizplus.com/quiz/17051

Sample Questions

Q1) Santo wants the display the name of the team at the top of the table.Which element should he use to do this?

A) tbody

B) caption

C) td

D) colgroup

Q2) ____________________ cells are marked with the <td> tag and are used for any content that is not considered a heading.

Q3) The ____ attribute lets you control how the internal table gridlines are drawn.

A) rules

B) grid

C) gridlines

D) lines

Q4) A(n)____________________ specifies how the internal gridlines are drawn within a table.

Q5) By default,tables will display without borders in a browser.

A)True

B)False

Q6) Tables are considered ____________________-level elements.

Q7) Describe how to use CSS to apply table styles to other Web page elements.

To view all questions and flashcards with answers, click on the resource link above. Page 7

Chapter 6: Creating a Web Form

Available Study Resources on Quizplus for this Chatper

139 Verified Questions

139 Flashcards

Source URL: https://quizplus.com/quiz/17052

Sample Questions

Q1) The ____ attribute has two possible values: get and post.

A) value

B) id

C) method

D) name

Q2) The earliest and most common of the languages used for server-based programs are called CGI scripts,written in a language called Perl.

A)True

B)False

Q3) Option lists are a form control element for long lists of options.____________________

A)True

B)False

Q4) Each control element in which the user can enter information is called a(n)____.

A) field

B) index

C) value

D) area

Q5) Information entered into a field is called the field ____________________.

Q6) What is the syntax for creating an option group?

To view all questions and flashcards with answers, click on the resource link above. Page 8

Chapter 7: Designing a Multimedia Web Site

Available Study Resources on Quizplus for this Chatper

139 Verified Questions

139 Flashcards

Source URL: https://quizplus.com/quiz/17053

Sample Questions

Q1) To indicate the end of a conditional comment,you would use ____.

A) <!--endif-->

B) <![endif]-->

C) <!--<!endif-->

D) <!--<!--endif-->

Q2) Each measurement of a sound wave is called a(n)____.

A) index

B) sample

C) metric

D) cycle

Q3) A(n)____ clip should provide users with important information that cannot be conveyed in any other way.

A) sidebar

B) clip art

C) audio

D) text

Q4) The controls to edit a media clip are also displayed as part of the Web page._________________________

A)True

B)False

To view all questions and flashcards with answers, click on the resource link above. Page 9

Chapter 8: Enhancing a Web Site with Advanced CSS

Available Study Resources on Quizplus for this Chatper

139 Verified Questions

139 Flashcards

Source URL: https://quizplus.com/quiz/17054

Sample Questions

Q1) An orphan occurs when only a few ending lines of an element appear at the top of a page,while the bulk of the content appears on the preceding page.

A)True

B)False

Q2) In the accompanying figure,which part adds a semi-transparent black shadow to the lower-right corner of the figure with a blur radius of 15 pixels?

A) 1

B) 2

C) 3

D) 4

Q3) A simulator simulates some of the behavior of a device but does not ____________________ the operations of the hardware.

Q4) To remove a text-shadow,set the value of the text-shadow style to ____.

A) 0

B) none

C) 1

D) empty

Q5) To rotate a page object,you can use the ____________________ transform styles.

To view all questions and flashcards with answers, click on the resource link above. Page 10

Chapter 9: Working with XHTML

Available Study Resources on Quizplus for this Chatper

139 Verified Questions

139 Flashcards

Source URL: https://quizplus.com/quiz/17055

Sample Questions

Q1) If you get an OMITTAG error from the validator for a hr tag,you should add ____ before the > of the tag.

A) *

B) @

C) / D) !

Q2) When you write XHTML code,it's important to be familiar with all of the rules of proper syntax.

A)True

B)False

Q3) While powerful,SGML is also quite simple to learn and apply.

A)True

B)False

Q4) When converting old HTML code to XHTML,make sure to replace the use of the name attribute with the ____________________ attribute.

Q5) Various Web browsers developed their own unique flavors of HTML to provide customers with new and useful features not available with other browsers.

A)True

B)False

To view all questions and flashcards with answers, click on the resource link above. Page 11

Chapter 10: Programming with JavaScript

Available Study Resources on Quizplus for this Chatper

139 Verified Questions

139 Flashcards

Source URL: https://quizplus.com/quiz/17056

Sample Questions

Q1) You can declare multiple variables by entering the variable names in a comma-separated list._________________________

A)True

B)False

Q2) A(n)____________________ is a series of commands that performs an action or calculates a value.

Q3) You should place all script elements that reference external files in the document head._________________________

A)True

B)False

Q4) A(n)____________________ statement is used to have a function send a calculated value back.

Q5) ____ can be used to look for e-mail addresses by scanning Web pages.

A) Spam

B) Server-side

C) An e-mail harvester

D) Client-side

Q6) A(n)____________________ indicates a variable has no value assigned to it.

Q7) The ____________________ method exists for writing text to a document.

To view all questions and flashcards with answers, click on the resource link above. Page 12

Turn static files into dynamic content formats.

Create a flipbook