Terms to Remember Flashcards

1
Q

how do you change font in CSS?

A

font-family

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

How do you change the size of text in CSS?

A

Under the style tag, font-size: px or em

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

Font-Weight command in CSS?

A

Makes the text bold

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

Font-style command in CSS?

A

Makes the text italic, etc.

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

Spacing between lines in CSS?

A

Line-height:

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

Alignment in CSS

A

text-align

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

text-decoration in CSS

A

if you want to underline something, etc.

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

span tag

A

groups a selection of text

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

div tag

A

groups elements of text

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

inline element

A

does not have a new line after it

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

block element

A

does have a new line after it

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

How can you do width for a div?

A

you can do it by px or by percentange

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

margin?

A

Transparent area around the box

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

Border in CSS and aspects?

A

border: size, dotted or solid, then the color

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

padding?

A

pads out your text

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

What do you use “float” for in CSS?

A

For wrapping text around images; “float: left”; you can also add “width” and “margin” to it

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

“p.warning {“ what does this do?

A

It changes anything with a “p” tag with the class “warning” to do whatever you tell it to

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

“ul. spacey li strong {“ what does this do?

A

this is a descendent selector. In other words, if you have similar tags throughout the page and need to change a specific tag’s stuff, you can specify that in the unordered list called “spacey” that where there’s a strong list item to change what’s in there

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

CSS Selectors

A

Allows you to group certain things you do. For example, if you wanted to group all your headings together with a comma (h1, h2 {)

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

a: link

A

this is a pseudo class that selects elements of a webpage that are not a part of the normal structure. Selects all the links that the user has not selected, yet

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

visited pseudo class

A

selects all the links the user has visited

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

hover pseudo class

A

selects only if the user is hovering over it

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

active pseudo class

A

selects what is being clicked

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

focus pseudo class

A

tab key to tab around the interface when targeting a link

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
In the case that two selectors are equally specific in CSS, what happens?
The last one wins. In general, whatever is more specific will take precedence
26
Inline CSS Styles
styles of CSS you'll put right after a tag. Separate with a semicolon. Ex:

27
External style sheets
File of CSS rules that we can include on multiple pages. Use the "link" tag for this. Ex:
28
What is the selector in CSS?
The part before the curly brace
29
What is the property in CSS?
Inside the curly brace, it is the command before the colon
30
What is the value in CSS?
Inside the curly brace, it is the command after the colon
31
what is the declaration in CSS?
It's the command before the colon. Ex: text-align: center
32
What is the rule in CSS?
The entire block of code
33
What does the hexadecimal value 10 represent?
A
34
What does the hexadecimal value F represent?
15
35
Colors are specified in RGB values ranging from 0 to what?
255
36
What hexadecimal value represents 255?
FF
37
The browser-safe color palette consists of a standard of how many colors?
216
38
The hexadecimal value #000000 represents which color?
Black
39
The hexadecimal value #FFFFFF represents which color?
White
40
The hexadecimal value #FF0000 represents which color?
Red
41
Do you have to close an tag?
Nope
42
/mysite/index.html
The initial forward slash ( / ) instructs the browser to look for a directory names mysite that is off of the root directory. If this page were on a Web server, the link would refer to the Web server’s Web root directory.
43
mysite/index.html
The absence of any initial characters instructs the browser to look for the mysite subdirectory. This subdirectory begins off of the same level as the current page.
44
../mysite/index.html
The initial two periods and forward slash ( ../ ) instruct the browser to look for a directory names mysite that begins one level higher than the page you are currently viewing.
45
Top of the Webpage, like the header in a work-processing document.
46
Defines navigation links, such as hypertext menus to access various pages of the Website.
47
Website content, such as company services, articles, blogs, images, and videos.
48
Content that is “aside” from the article content, such as advertisements or news feeds.
49
Bottom of the Webpage, like the footer in a work-processing document.
50
What happens after a user has entered information into a Web Form and clicks submit?
Submitting the form uploads or emails the user's information to the receiving server. Many Web forms also provide a Reset button that clears entered data instead of submitting it, and resets the form fields to the default values.
51
What do CGI scripts do?
CGI scripts perform this information processing. They receive client input, process data, perform server-side actions such as storage or communications with other servers, and respond to client requests.
52
What is a commonly used CGI Script?
FormMail; it is written in Perl (Practical Extraction and Report Language)
53
The
tag
The HTML tag creates a user-input Web form by encompassing all the content and fields of the form on the page. The tag is a container tag, so you should include both opening and closing tags. In some older browsers, if you fail to supply the closing tag, the form may not render or may not submit.
54
method element in forms?
specifies which method the browser will use to send form data to a Web server
55
action element in forms?
specifies the name and location of the CGI script used to process the form
56
two values of the method attribute?
get and post
57
get method
Form data is submitted from a form to the URL of the Webpage for use in a query string. This method sends information in cleartext and is thus less secure.
58
post method
Form data is posted to the URL specified by the action attribute. Post is the preferred method for sending form data. It can send more characters, although sometimes post requires more processing by the CGI script.
59
input tag
The tag is not a container tag; it stands alone. You use to create text boxes, check boxes, radio buttons, and the Submit and Reset buttons.
60
The tag is a container tag used to create single-option and multiple-option select lists.
61
The