Skip to main content

HTML and CSS Fundamentals Exam Practice Tests - 1099 Verified Questions

Page 1


HTML and CSS Fundamentals

Exam Practice Tests

Course Introduction

This course introduces students to the core concepts and practical skills needed to design and build web pages using HTML and CSS. Students will learn how to structure web content with HTML, apply styling and layout techniques with CSS, and implement best practices for accessibility and responsive design. Through hands-on exercises and projects, learners will gain experience creating visually appealing and user-friendly websites, laying a strong foundation for further web development studies.

Recommended Textbook

New Perspectives HTML5 and CSS3 Comprehensive 7th Edition by Patrick Carey

Available Study Resources on Quizplus

10 Chapters

1099 Verified Questions

1099 Flashcards

Source URL: https://quizplus.com/study-set/3549 Page 2

Chapter 1: Getting Started With Html5

Available Study Resources on Quizplus for this Chatper

147 Verified Questions

147 Flashcards

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

Sample Questions

Q1) A computer or other device that receives a service is called a _________.

Answer: client

Q2) A _____ language is a language used to describe the content and structure of documents.

A) markup

B) parsing

C) validation

D) lexical

Answer: A

Q3) Identify a text-level element that indicates a span of text that expresses an alternative voice or mood.

A) i

B) span

C) kbd

D) wbr

Answer: A

Q4) A(n)_________ is a set of rules defining how information is passed between two devices.

Answer: protocol

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

Chapter 2: Getting Started With CSS

Available Study Resources on Quizplus for this Chatper

148 Verified Questions

148 Flashcards

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

Sample Questions

Q1) A _____ element is an element that contains one or more other elements,which are called child elements.

A) family

B) sibling

C) parent

D) descendant

Answer: C

Q2) Alex had forgotten to give any style for all of his pages.In this case,identify the style that would be applied to his pages.

A) User defined style

B) External style

C) User agent style

D) View render style

Answer: C

Q3) In the context of formatting lists,by default,unordered lists are displayed with numerals while ordered lists are displayed with a solid disc.

A)True

B)False

Answer: False

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

Page 4

Chapter 3: Designing a Page Layout

Available Study Resources on Quizplus for this Chatper

136 Verified Questions

136 Flashcards

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

Sample Questions

Q1) The width property of the _____ model is based on the sum of the content,padding,and border spaces and any space taken up by the padding and border is subtracted from space given to the content.

A) border box

B) padding box

C) content box

D) margin box

Answer: A

Q2) Fixed layouts should only be used when one has more control over the devices that will display the page.

A)True

B)False

Answer: True

Q3) Browsers ignore any values specified for the left or top properties under _____ positioning.

A) absolute

B) static

C) elastic

D) inherited

Answer: B

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

Chapter 4: Graphic Design With CSS

Available Study Resources on Quizplus for this Chatper

107 Verified Questions

107 Flashcards

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

Sample Questions

Q1) Repeats the image in both vertical and horizontal directions until the entire background is filled

A) Tiling

B) Vertical

C) Hotspots

D) Watermarks

E)Ellipse

Q2) Identify the property that can be used to change the definition of an element's background.

A) background-repeat: type;

B) background-image: url(url);

C) background-attachment: type;

D) background-clip: type;

Q3) Tiling is when a browser loads a background image and then repeats the image in both the vertical and horizontal directions until the entire background is filled.

A)True

B)False

Q4) Describe the process of setting the width and color of a border.

Q5) Explain how the position of a background image is set in a web page.

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

Chapter 5: Designing for the Mobile Web

Available Study Resources on Quizplus for this Chatper

112 Verified Questions

112 Flashcards

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

Sample Questions

Q1) _____ can be used to have a single specification that automatically adapts itself to the screen width without requiring a new layout design.

A) Flexible boxes

B) Drop shadows

C) Logical tags

D) Absolute positioning

Q2) Web pages are seen within a window called the _____.

A) wireframe

B) navigator

C) prototype

D) viewport

Q3) In flex-wrap: type;,the type should be _________ to wrap flex items to a new line starting in the opposite direction from the current line.

Q4) Mobile devices have a _________ viewport that displays a web page content that fits within a mobile screen.

Q5) By default,the @page rule is applied only to the first page of the printed output.

A)True

B)False

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

Chapter 6: Working With Tables and Columns

Available Study Resources on Quizplus for this Chatper

89 Verified Questions

89 Flashcards

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

Sample Questions

Q1) The boundary around the entire table is hidden but a 1-pixel blue boundary is assigned to the cells within the table.

A) widows property

B) Header cell

C) td element

D) Separate borders model

E) Spanning cells

F) Table footer row group

G) vertical-align property

H) Data attributes

I) Responsive table design

J) Column width

Q2) The style rules applied to an entire web table are the ones with the lowest precedence.

A)True

B)False

Q3) A web table can contain any number of thead and tfoot elements but only one tbody element.

A)True

B)False

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

Chapter 7: Designing a Web Form

Available Study Resources on Quizplus for this Chatper

91 Verified Questions

91 Flashcards

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

Sample Questions

Q1) The ____ element is used to create a custom option.

A) command

B) file

C) input

D) button

Q2) Identify an attribute that can be added to the input element to validate a text value against a regular expression.

A) legend="text"

B) method="text"

C) enctype="regex"

D) pattern="regex"

Q3) The _________ attribute is added to the input element to apply a data list.

Q4) The technique of immediate data validation and reporting of errors is known as _____.

A) server-side validation

B) inline validation

C) online validation

D) client-side validation

Q5) What are the pseudo-classes for valid and invalid data?

Q6) The process of validation that takes place on the web user is called _________.

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

Chapter 8: Enhancing a Website With Multimedia

Available Study Resources on Quizplus for this Chatper

90 Verified Questions

90 Flashcards

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

Sample Questions

Q1) The _________ element,which replaced the embed element,is used for any type of content such as sound,video clips,graphic images,PDF files,and even the content of other web pages.

Q2) It is essentially the file format that is identified by a file extension.

A) Container

B) source element

C) autoplay

D) WAV

E) Plug-in

F) H.264

G) flashvar

H) captions

I) poster

J) muted

Q3) When embedding an audio element in a web page,the _________ attribute informs a browser of the file type and speeds up the process of choosing a compatible audio source.

Q4) To define a sequence of key frames in CSS,the _________ rule is applied.

Q5) Why is the fallback option provided to an audio clip?

Q6) Briefly describe the styles applied to track cues.

Page 10

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

Chapter 9: Getting Started With Javascript

Available Study Resources on Quizplus for this Chatper

89 Verified Questions

89 Flashcards

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

Sample Questions

Q1) A(n)_________ is an entity within the browser or web page that has properties that define it and methods that can be acted upon it.

Q2) The _____ property should be used only when no markup tags are involved.

A) innerHTML

B) outerHTML

C) textContent

D) insertAdjacentHTML

Q3) It is indicated by the - - symbol,which reduces the operand's value by 1.

A) window.alert(" ");

B) value.toPrecision(n)

C) collection[idref]

D) element.outerHTML

E) document.anchors

F) element.textContent

G) Decrement operator

H) Run-time error

I) value.toFixed(n)

J) parseInt(string)

Q4) Document objects are organized in hierarchical structures called the _________.

Q5) Explain briefly about converting between numbers and text.

11

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

Chapter 10: Exploring Arrays, loops, and Conditional Statements

Available Study Resources on Quizplus for this Chatper

90 Verified Questions

90 Flashcards

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

Sample Questions

Q1) Arrays can be used to store information in a data structure known as a _________ in which new items are added to the top or to the end of the array.

Q2) This method rearranges array items in alphabetical order.

A) array.unshift(values)

B) array.toString()

C) pop()

D) concat(array1,array2,...)

E) sort()

F) copyWithin(target,start[,end])

G) join(separator)

H) shift()

I) reverse()

J)push(values)

Q3) The <u>while</u> statement is used to exit a program loop before the stopping condition is met.

A)True

B)False

Q4) _________ is a section of an array.

Q5) Explain the length property of an array with examples.

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