midterm ctec 2350 Flashcards

(29 cards)

1
Q
  1. What is HTTP
A

Hypertext Transfer Protocol

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

what does HTTP do

A

It is used to access data on the WWW a protocol to govern the communication between client and server

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

what does WWW stand for

A

World Wide Web

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

Who created the WWW

A

Tim berners lee

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. The name of the organization developing recommendations and prototype technologies related to the Web
A

World wide web consortium (W3C)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. What is web accessibility?
A

websites, tools, and technologies are designed and developed so that people with disabilities can use them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. How to design text-based hyperlinks?
A

a href=”url”>link text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. Where will the title element be displayed?
A

The TITLE element should occur in the HEAD of the document

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

how to create an ordered list

A

An ordered list created using the ol> element, and each list item starts with the li> element. Ordered lists are used when the order of the list’s items is important. /li>

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

how to create an unordered list

A

An unordered list created using the ul> element, and each list item starts with the li> element /li> ul>

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

HTML defines six levels of headings. A heading element implies all the font changes, paragraph breaks before and after, and any white space necessary to render the heading H1 being the highest (or most important) level and H6 the least.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. What HTML elements appear in the head
A

element is a container for the following elements: , , meta> , link> , script> , and base>

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

What elements appear in the body section

A

The element contains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. Syntax structure of a CSS rule: selectors and declarations (property and value)
A

In CSS, a declaration is the key-value pair of a CSS property and its value. CSS declarations are used to set style properties and construct rules to apply to individual or groups of elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. How to configure text and background color in CSS?
A
body 
{background-color: lightgrey;}
  color: blue;
h1 {letter-spacing: 3px;}
p.small {line-height: 0.8;}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  1. How to configure different font properties in CSS?
A

.p1 {font-family: “Times New Roman”, Times, serif;}

17
Q
  1. Difference between id and class selectors
A

The difference between an ID and a class is that an ID is only used to identify one single element in our HTML

18
Q
  1. What are different types of CSS selectors, especially a descendant selector?
A

Simple selectors

Combinator selectors

Pseudo-class selectors

Pseudo-elements selectors

Attribute selectors

19
Q
  1. What are and how to configure different CSS styles: inline
A

Internal or embedded CSS requires you to add tag in the section of your HTML document.

20
Q

How to configure CSS style: Inline

A

Inline CSS is used to style a specific HTML element. For this CSS style, you’ll only need to add the style attribute to each HTML tag, without using selectors.

21
Q

How to configure external CSS style: external

A

With external CSS, you’ll link your web pages to an external .css file, which can be created by any text editor in your device (e.g., Notepad++).

22
Q
  1. What is image optimization?
A

Image optimization is the process of making images look perfect on desktop and mobile.

23
Q
  1. What does “float” property do?
A

places an element on the left or right side of its container, allowing text and inline elements to wrap around it.

24
Q

How to clear float

A

add the clear property to the element that needs to clear the float

25
22. How to insert comments in HTML
An HTML comment begins with . HTML comments are visible to anyone that views the page source code
26
How to insert comments in CSS documents
To comment in CSS, simply place your plain text inside /* */ marks. This tells the browser that they are notes and should not be rendered on the front end.
27
23. Primary web design principles? What do they mean?
Repetition- Repeat visual elements throughout design Contrast- Add visual excitement and draw attention Proximity- Group related items Alignment- Align elements to create visual unity
28
21. Fluid vs. fixed page layout
Fluid layout is a type of webpage design in which layout of the page resizes as the window size is changed. an outline with a fixed width, measured in pixels
29
20. What is a wireframe?
A website wireframe, also known as a page schematic or screen blueprint, is a visual guide that represents the skeletal framework of a website.