2019 Supp Flashcards

1
Q

List any four (4) disability or human physical factor to consider when building a web site.

A

Vision impairment: Ensure compatibility with screen readers and offer adjustable font sizes and color contrasts.

Motor disabilities: Design for keyboard navigation and provide large clickable areas for ease of use.

Hearing impairment: Offer text alternatives for audio content and provide captions for videos.

Cognitive disabilities: Simplify layout and language, provide clear instructions, and minimize distractions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

c) Both the <a> and the <link></link> tags are used to establish document relationships. State any two differences between the two.</a>

A

<a> is used to create hyperlinks within the document or to external resources, while <link></link> is used to link external resources like stylesheets or icon files to the document.</a>

<a> is an inline element and can be placed within the document body, while <link></link> is a meta element and is typically placed in the <head> section of the HTML document.</a>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

d) Describe the following web typography terms.

i.Kerning
ii.Leading

A

Kerning: Adjusting the space between individual characters in a font for better visual harmony.

ii. Leading: Determining the vertical space between lines of text for readability and aesthetic appeal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

f. With the mailto action, one can collect data from a form and send it to any email address. Write a form element which collects and send form data to joel@joelsklar.com. Only the form element is required, no input fields.

A

<form>
<!-- Form content goes here (input fields, text areas, etc.), but none are required as per your request -->
<input></input>
</form>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

a) Describe the three ways of combining CSS with HTML code?

A

inline. In this method, CSS styles are directly applied to individual HTML elements using the style attribute. For example:

<p>This is a paragraph with inline CSS.</p>

internal. CSS styles are placed within the <style> element in the <head> section of the HTML document. Styles defined here apply to the entire document. For example:</style>

<head>
<style>

        p {
            color: blue;
            font-size: 16px;
        }
    
</style>
</head>

<body>
<p>This is a paragraph with internal CSS.</p>
</body>

external.CSS styles are stored in a separate external file with a .css extension, and then linked to the HTML document using the <link></link> element in the <head> section. For example:

<head>
<link></link>
</head>

<body>
<p>This is a paragraph with external CSS.</p>
</body>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

b) What are the four (4) navigations questions any user should be able to answer when creating usable navigation scheme?

A

Where am I on the website?
What can I do here?

Where can I find something specific?
How do I get back to where I was?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

c) What is the difference between Sans-serif and serif?

A

Serif fonts have small decorative lines or strokes at the ends of characters,
sans-serif fonts do not have these decorative lines.

Sans-serif fonts are often perceived as more modern and clean, while serif fonts are considered more traditional and formal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

d) Define the W3C and state its purpose.

A

W3C stands for World Wide Web Consortium. Its purpose is to develop and maintain standards and protocols to ensure the long-term growth of the web.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

e) Most web-capable graphics editors let designers save images in an interlaced (progressive) format. Explain what interlacing means.

A

Interlacing displays a blurry, then clearer image as it downloads, giving a quicker sense of the content. It’s different from progressive which downloads the image line by line.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

b) What are the four (4) image file formats you can use on a website?

A

JPEG, PNG, GIF, and WebP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

c) In addition to 10 input types that have been available since the inception of HTML, 13 new types are offered with HTML 5. List any two (5) new form input types that are offered with HTML 5.

A

Email: <input></input> - Specifically for email addresses, providing validation for correct email format.
URL: <input></input> - Used for entering URLs, with built-in validation for proper URL format.
Date: <input></input> - Enables users to select a date from a calendar widget.
Number: <input></input> - Allows input of numeric values, with controls like spin buttons for easy adjustment.
Color: <input></input>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

d) For planning purposes, Web Developers are always encouraged to define a Site Map. Describe a site map and state its purpose.

A

A site map is a visual representation of the structure and hierarchy of a website, typically in the form of a hierarchical diagram. Its purpose is to outline the organization of website content, including pages, sections, and links, to help users and developers understand the website’s layout and navigation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

e) Why is it encouraged to use external cascading style sheets?

A

allows for better organization, easier maintenance, and improved site-wide consistency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

f) When will it be appropriate to use an internal cascading style sheet?

A

when you want styles to apply specifically to a single HTML document and you don’t need those styles to be shared across multiple pages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

a) One of the questions that are always asked when designing for the user is “How much content is too much?” Explain what this question mean when designing for the user in web development?

A

refers to finding the balance between providing enough information and overwhelming users with text, images, or other elements. Too much content can make it hard for users to find what they need and hurt their overall experience.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

i. Content Management System (CMS)

A

is a software tool that lets you easily create, edit, and publish content on a website without needing to write code.

17
Q

ii. Browser Cache

A

A browser cache is a temporary storage space on your device that holds frequently accessed website parts (images, code) for faster loading on future visits.

18
Q

iii. Grid

A

a grid refers to an invisible structure of horizontal and vertical lines that helps organize and position website elements. It creates a foundation for responsive layouts that adapt to different screen sizes.

19
Q

iv. Screen resolution

A

refers to the number of pixels a device can display, and in web development, it’s important for designing layouts that adapt to different screen sizes (desktops, mobiles, tablets) for optimal user experience.

20
Q

v. Responsive design

A

is an approach that makes websites automatically adjust their layout to fit the screen size of any device (desktop, phone, tablet) ensuring a good user experience.

21
Q

c) What are the three basic table elements?

A

<tr>
\: Defines a table row. This element creates a horizontal row of cells within your table.

<td>: Defines a table data cell. This element holds the actual content that appears within each cell of your table.

<th>: Defines a table header cell. Similar to <td>, it holds content, but is specifically used for header information like column labels and is typically styled differently to stand out.
</td></th></td></tr>

22
Q

d) What are the two parts of a style rule?

A

selection and declaration.

23
Q

e) Explain the following measurement units in terms of their size.
i. Ex

A

A less common unit based on the
x-height of the font (the lowercase letter “x”).

24
Q

e) Explain the following measurement units in terms of their size.
i. Em

A

Represents the
current font size of the element. So, 1em is equal to the font size applied to that element. It’s relative and scales with the font size.

25
Q

f) Give any four (4) generic font families.

A

serif: Fonts with small decorative strokes at the end of characters (e.g., Times New Roman, Garamond).

sans-serif: Fonts without the decorative strokes (e.g., Arial, Helvetica).

monospace: Fonts where all characters have the same width (e.g., Courier, Consolas).

cursive: Fonts that resemble handwriting (e.g., Lucida Handwriting, Script MT Bold).

26
Q

a) To create responsive websites, web designers can call on a variety of techniques, many of which are a benefit of using the CSS3 capabilities. State and describe the three (3) main elements of responsive design

A

CSS media queries: Using these expressions, you can apply styles based on display
device characteristics.
Flexible images: These images adapt to the parameters of the user’s screen size.

Flexible layouts: These layouts realign elements of your content structure based on the
display device. For example, you can stack columns or minimize navigation so that the
web site content is displayed in the most appropriate format based on the display size

27
Q

b) Write an @import rule to apply an external style sheet named mobiledevice.css if the device has a screen with a maximum width of 480 pixels

A

@media screen and (max-width: 480px) {
@import url(“mobiledevice.css”);
}

28
Q

c) In web design, the viewport is equal to the size of the browser window. In desktop devices the viewport can change based on the user’s browser window size, but on mobile devices the viewport is always the width of the device screen. The viewport on the handheld devices is much narrower than the desktop browser window, which causes problems with responsive web pages that are designed to change based on the screen resolution. Provide an HTML code fragment that will solve the problems caused by the narrower viewport

A
29
Q

d) What are the three space areas in the box model?

A

Padding:The transparent area around the content that creates space between the content and the border.

Border: The decorative or functional line surrounding the padding and content.

Margin: The transparent area outside the border that creates space between the element and surrounding elements.
30
Q

e) State the container element that is used to create a table

A

The container element used to create a table in HTML is the

<table> tag. It defines the overall structure of the table and holds all the other table elements like rows (<tr>), data cells (<td>), and header cells (<th>).
</th></td></tr></table>

31
Q
A