Skip to main content

HTML and CSS Fundamentals Practice Exam - 1099 Verified Questions

Page 1


HTML and CSS Fundamentals Practice Exam

Course Introduction

HTML and CSS Fundamentals introduces students to the core technologies for creating and styling web pages. This course covers the basic structure of web documents using Hypertext Markup Language (HTML) and explores Cascading Style Sheets (CSS) for designing visually appealing web pages. Students will learn to structure text, embed images and videos, build links and lists, and create forms. Emphasis is placed on semantic markup, responsive design principles, and best practices for maintaining clean, accessible code. By the end of the course, students will be able to design and develop simple, attractive, and functional websites.

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) To add the comment,Welcome John Smith,the syntax would be _____.

A) < ---Welcome John Smith >

B) < !--"Welcome John Smith !-- >

C) < !--Welcome John Smith -- >

D) < !/--- Welcome John Smith-- >

Answer: C

Q2) <u>Nested elements</u> are elements that are either nontextual or contain directives to a browser about how a page should be treated.

A)True

B)False

Answer: False

Q3) A(n)_________ list is an unordered list of hypertext links placed within the nav element.

Answer: navigation

Q4) When nesting one element inside of another,the entire code of the<u> inner element</u> must be contained within the outer element,including opening and closing tags.

A)True

B)False

Answer: True

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) User-defined styles can be superseded by external styles,which are the styles that a website author creates and places within a Cascading Style Sheets (CSS)file and links to the page.

A)True

B)False

Answer: True

Q2) In this case,the Home page contains two _____ elements.

A) child

B) parent

C) sibling

D) descendant

Answer: A

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

Q4) _________,a typographic feature,measures the amount of space between words. Answer: Tracking

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) A <u>fluid </u>layout is one in which the size of a web page and the size of the elements within it are set regardless of the screen resolution.

A)True

B)False

Answer: False

Q2) Rhythm is the ability to combine different design elements into a cohesive whole.

A)True

B)False

Answer: False

Q3) Setting the display style to none hides an element but does not remove it from the page flow.

A)True

B)False

Answer: False

Q4) The web is moving quickly toward the principles of _________ design in which the layout and design of a page changes in response to the device that is rendering it.

Answer: responsive

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) Identify the property that is used to apply a border image.

A) border-image: horizontal/vertical;

B) border-image: style;

C) border-image-radius: radius;

D) border-image: url(url)slice repeat;

Q2) Filter functions can be combined in a _____ to create new effects.

A) comma-separated list

B) semicolon-separated list

C) colon-separated list

D) space-separated list

Q3) 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

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

Q5) A _________ image map is an image map that is defined within a web page and handled entirely by a web browser.

6

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

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) Identify the page rule using which styles are applied to a page box.

A) #page{ style rules }

B)@page{ style rules }

C) *page{ style rules }

D) < page > { style rules }

Q2) A flexbox is a box containing items whose sizes are fixed.

A)True

B)False

Q3) While creating a website for tablet design,objects placed with _________ positioning are removed from the document flow.

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

Page 7

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

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 two types of table cells supported by web tables are _____.

A) row cells and column cells

B) header cells and data cells

C) border cells and caption cells

D) legend cells and web cells

Q2) Which of the following HTML elements is used to create header cells in a web table?

A) < tr >

B) < td >

C) < th >

D) < head >

Q3) Which of the following properties must Andy use to set the gap between the borders created by using the border-collapse property?

A) border-spacing: value;

B) border-spacing: value;.

C) border: length;

D) border: width;

Q4) Only one caption is allowed per web table,and the caption element must be listed directly after the opening _________ tag.

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

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) Used for a long sequence of options

A) Input boxes

B) Selection lists

C) Option buttons

D) Check boxes

E) multipart/form-data

F) application/x-www-form-urlencoded

G) Form buttons

H) text/plain

I) get

J)enctype

K) Option groups

L)hidden

Q2) Identify a pseudo-class for a check box or option button whose toggle states cannot be ascertained.

A) valid

B) optional

C) in-range

D) indeterminate

Q3) By default,a _________ appears as a drop-down list box.

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) A _________ is a software program accessed by a browser to provide a feature or capability nonnative to the browser.

Q2) In the context of HTML audio and video element attributes,the preload attribute's type _____ is used to preload only descriptive data about a particular clip.

A) metadata

B) descriptions

C) auto

D) captions

Q3) The styles for the _____ pseudo-element are limited to the background,color,font,opacity,outline,text-decoration,text-shadow,visibility,and white-space properties.

A) kind

B) cue

C) embed

D) iframe

Q4) When setting the transition timing,it must be ensured that the speed of the transition is constant.

A)True

B)False

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

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) When writing an HTML code,changing the value of the _________ property overwrites whatever content is currently contained within the selected object.

Q2) Identify a return value for the expression 5/"A" using JavaScript.

A) 5

B) NaN

C) Infinity

D) A

Q3) Identify a syntax to access any of the mathematical constants supported by the Math object.

A) math.constant

B) Math.CONSTANT

C) math.CONSTANT

D) Math.constant

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

Q5) Which of the following is created by a programmer for use in an application.

A) Built-in objects

B) Browser objects

C) Document objects

D) Customized objects

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

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) Identify the syntax of the statement label.

A) label = {statements}

B) statement!(label)

C) label: statements

D) statements.label

Q2) Identify the output of the following code.

Var x = [3,45,1234,24];

X.sort();

A) 1234,24,3,45

B) 3,24,45,1234

C) 1234,45,24,3

D) 1234,24,45

Q3) A stack data structure employs the _________ principle in which the last items added to the stack are the first ones removed.

Q4) When each entry in an array matches the entry in another array,it is called a <u>linear</u> array.

A)True

B)False

Page 12

Q5) Describe the structure of the if else statement.

Q6) _________ is a section of an array.

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

Turn static files into dynamic content formats.

Create a flipbook