• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 13 pages
Exam (elaborations)

C779 Quiz Questions and Correct Answers

Document preview thumbnail
Preview 2 out of 13 pages

C779 Quiz Questions and Correct Answers

Content preview

C779 Quiz Questions and Correct Answers
What are the benefits of using CSS? - ANS Consistency — CSS easily gives an entire site a
consistent look and feel. Easy change management — You have the ability to change the look
and feel of an entire site by simply changing one part of a single line of code, rather than having
to change possibly thousands of lines in hundreds of Web pages.


In CSS, what are the selector, property, value, declaration and rule. Give an example. - ANS
body Selector { background-color: Property lightblue; Value }


Describe inheritance or the "cascade" in CSS. - ANS The style you define will flow, or cascade,
throughout the documents, unless another style defined inside of a page specifically overrides
it.


You can apply CSS to your HTML in 3 ways. What are they? - ANS Declare an inline CSS style
attribute. Link to an external style sheet. Create an internal style sheet.


What are the three universally supported Web image formats? - ANS Graphics Interchange
Format (GIF) Joint Photographic Experts Group (JPEG) Portable Network Graphics (PNG)


Why do we need the alt attribute when using images on a web page? - ANS Specifies alternative
text to appear while the graphic is loading, or in place of the graphic in non-graphical browsers
such as Lynx. This alternative text will also display if the image fails to load or if the user has
configured his or her browser not to display images.


If I have an image with the size of 100px wide and 100px tall. What happens if I change the
width and height of the image to 200px by 200px using the width and height attribute in html? -
ANS The image will scale up but may look blurry or pixelated because it is displaying larger than
intended.


What are HTML entities? - ANS Special non-keyboard character

, What is the composition of a hexadecimal color code? - ANS Red hex value + green hex value +
blue hex value = hexadecimal color code, e.g. #FF9900


What is a browser-safe color palette? - ANS A limited color palette, necessary because many
computer screens have limitations., 216 RGB colors (8-bit color minus 40)


Why should you specify a few font-family names when setting up fonts for your website? - ANS
If the first font is not supported, the next value will attempt to render.


What are some layout guidelines to consider when designing your Web pages? - ANS Be
succinct — Limit words to clear, necessary verbiage, especially on the home page. Most users
simply scan pages quickly looking for specific information or links to it. Let users navigate to
additional pages if they want more information. Make sure that each page focuses on one topic
— No tangent message, regardless of its importance, should be added to a page. Use links to
point users to appropriate related topics on separate pages. Divide the page into three sections
— Use the left side of the page for navigation, the upper section of the page for a topic title (as
well as navigation), and the middle section of the page for the information. Include navigation
aids — A common way to enable navigation is to place links at the top and bottom of the page,
and within the body of the page, to reduce the need for users to scroll. Place comments in each
section of code — Comments help explain changes you have made to the code or page. You can
indicate the nature of the change, includin


What is a relative path name? - ANS A reference to a file within a directory or subdirectory is
called a relative path.


What is the anchor element? - ANS Links are created with the anchor element, <a>


What is a fully-qualified url? What other name does it go by? - ANS Contains a full path to a
resource, including the protocol indicator. Also known as a hard link or absolute link.


What are the four most common protocols you can specify in a hyperlink URL? - ANS http,
https, ftp, email (smtp)

Document information

Uploaded on
February 19, 2025
Number of pages
13
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
QUINTER
3.6
(73)
Sold
415
Followers
105
Items
40117
Last sold
2 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions