Skip to main content

HTML and CSS Programming Final Test Solutions - 1386 Verified Questions

Page 1


HTML and CSS Programming

Final Test Solutions

Course Introduction

This course introduces the fundamental concepts and techniques of HTML and CSS, the building blocks of web development. Students will learn how to create, structure, and style web pages using HTML to define content and CSS to control layout and presentation. Topics include semantic markup, responsive design, accessibility, and best practices for organizing code. Through hands-on projects and practical exercises, students will gain the skills needed to build visually appealing and user-friendly websites from scratch.

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) HTML stands for ____________________.

Answer: Hypertext Markup Language

Q2) To designate a paragraph element you would use the ____ tag.

A) <p>

B) <li>

C) <ol>

D) <h1> Answer: A

Q3) If a network covers several buildings or cities,it is called a ____.

A) LAN

B) WAN

C) NET

D) Web Answer: B

Q4) Which version of XHTML is not backward compatible?

A) 1.0

B) 5.0

C) 2.0

D) 1.1

Answer: C

Page 3

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

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) A Web site needs to include information about itself,called metadata,so search engines can read it and add the site to their search indices.____________________

A)True

B)False

Answer: True

Q2) The exact separator that follows the communications protocol depends on the

A) Web server

B) Web page

C) Internet resource

D) Internet node

Answer: C

Q3) A(n)tooltip is descriptive text that appears whenever a user positions the mouse pointer over a link.____________________

A)True

B)False

Answer: True

Q4) The server name portion of a URL is also called the ____________________ name.

Answer: domain

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) The CSS @rule that imports an external style sheet file located at ur1 is _______.

A) @import url(url) media

B) @charset "encoding";.

C) @namespace prefix uri

D) @media media {

Styles

}

Answer: A

Q2) List style types can be used with contextual selectors to create a(n)_____ style based On nested lists.

A) table

B) outline

C) hierarchy

D) tree

Answer: B

Q3) A color ____________________ is a numerical expression that precisely describes a color.

Answer: value

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) Ken must have used which style to make the underline not appear for links?

A) text-format

B) text-decoration

C) text-align

D) text-font

Q2) The item marked 1 in the accompanying figure represents the visible value of the overflow property._________________________

A)True

B)False

Q3) With the overflow property,____ is the default value.

A) visible

B) hidden

C) scroll

D) auto

Q4) A(n)____________________ layout may be more difficult to set up initially but is more adaptable to a market in which users access the Web from a variety of devices and screen resolutions.

Q5) Rounded and square corners do not clip element content._________________________

A)True

B)False

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) Briefly explain four challenges often associated with table-based Web page layout.

Q2) Data cells in a Web table are displayed using a ____ tag.

A) <tr>

B) <th> C) <tl> D) <td>

Q3) The ____ attribute can be used to specify the number of columns a colgroup references.

A) id

B) div

C) span

D) class

Q4) With the ____________________ and rules attributes,you can control how borders and gridlines are applied to the table.

Q5) Tables are marked within a two-sided ____________________ tag that identifies the start and ending of the table structure.

Q6) Most browsers display table headings in a(n)____________________ font,centered within the table cell.

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) Many browsers include a(n)________ feature that automatically fills in input form values if they are based on previously filled out forms.

A) autocorrect

B) autocomplete

C) grammar check

D) spelling

Q2) Selection lists are used for long lists of options,usually appearing in a(n)____________________ list box.

Q3) When the <input> tag is used to create radio buttons,the tag also creates labels for radio buttons.

A)True

B)False

Q4) HTML 4 supports ____ different input types.

A) 10

B) 15

C) 16

D) 17

Q5) CGI stands for ____________________.

Q6) Describe submit and reset buttons and show the syntax for the two buttons.

Page 8

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

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) ____ can be used in Internet Explorer to run different code for different versions of Internet Explorer.

A) Comment parameters

B) Conditional parameters

C) Conditional tags

D) Conditional comments

Q2) Users with impaired vision,hearing,or motor skills may find it difficult to work with sites that offer ____ content.

A) inline

B) embedded

C) image

D) inserted

Q3) The most common file compression format is the MP3 format used throughout the Web as well as on portable music players and cell phones.

A)True

B)False

Q4) By default,audio controls are displayed in-line with text-level elements.

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) To set a stopping point to cover the entire object with the gradient,use the keyword

A) closest-corner:

B) contain:

C) cover:

D) farthest-corner:

Q2) The Internet Explorer filter that makes a specified color in the object transparent is ____.

A) DropShadow(color=#rrggbb, offX=value, offY=value)

B) Glow(color=#rrggbb, strength=1-255)

C) Chroma(color=#rrggbb)

D) Pixelate(maxSquare=value)

Q3) When a user prints a Web page,the Web browser and its built-in styles prepare the document for the printer._________________________

A)True

B)False

Q4) The page area of the ____________________ contains the contents of the document.

Q5) The ____________________ parameter defines the amount of space the shadow text is stretched,creating a blurred effect.

Page 10

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

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) Able to be used under almost any operating system

2.Its most widely supported version is 1.0

3.Adopted many browser extensions into the official HTML specifications

4.Language used to create the MathML and CML markup languages

5.The encoding of XHTML documents depends on it

6.Text that is not processed by the browser or parser

7.Its use is limited to those organizations that can afford the cost and overhead of maintaining its applications

8.An XML document that also contains only approved elements, attributes, and other features of the language

9.An XML document that employs the correct syntax

10.Program that checks the document for errors in syntax and content

11.A unique identifier for the elements and attributes originating from one particular language

12.A collection of rules

Q2) To define a namespace for specific parts of a document,you use a(n)____________________ namespace.

Q3) CDATA is another term for ____________________.

Q4) DTD stands for ____________________.

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) The first thing Terrance should do is place his script in a(n)____.

A) external file

B) script tag

C) body tag

D) none of the above

Q2) Although it's not required,it's considered good programming style to include the ____________________ command whenever you create a variable.

Q3) To help debug his code,Terrance could monitor the changing values of variables using a(n)____.

A) alert dialog box

B) return statement

C) modular code

D) logical error

Q4) To make their code reusable,the Web designer should put it into a ____.

A) head

B) function

C) body

D) all the above

Q5) What is the use of functions? Write the general syntax of a JavaScript function.

Page 12

Q6) What are the problems of server-side scripts that client-side programs solve?

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

Turn static files into dynamic content formats.

Create a flipbook
HTML and CSS Programming Final Test Solutions - 1386 Verified Questions by Quizplus - Issuu