Test 2 Flashcards

1
Q

What is a search form?

A

Form that allows a user to request a word or phrase to search a database. *it is NOT searching the internet in real time

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

What is a search engine result?

A

A list that describes web pages matching the keywords. each description contains a link, a page title, a brief description. Results include paid advertisements and organic results.

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

What is a search engine spider? (bot/crawler)

A

A computer program that follows hyperlinks and ‘crawls’ the Web. categorizes the pages and stores information. may access:
-content in html, title, links to your page, links out of your page, meta tag keywords and descriptions

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

How to get your website found?

A

1- Provide your page with keywords, title, and description
2- Name your image files with keywords
3- Make sure every page is reachable from at least one text link
4- submit your site to the search engines and search directories
5- get links from other sites

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

What is the meta tag in HTML?

A

A stand-alone tag placed in head sections with name and content. there should be two names, keywords and description.

<meta name=”keywords” content=”Acme Design web e-commerce ecommerce consulting consultation redesign” />

<meta></meta>

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

What two key things do CSS rules consists of?

A

-selector: what is being changed
-declaration: what you’re changing (property and value)

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

What are contextual selectors in CSS?

A

allows you to specify when selectors only when used within something

e.g: i want strong to be display in red when it occurs with a
list ; li strong {color: red}

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

What is the id attribute?

A

-unique, can only be used once within a document
-in CSS, a hash (#) is used to specify it

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

What is the class attribute?

A

-used for generic styles specific to many HTML tags
-in CSS. a dot(.) is used to specify it

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

Explain class vs id?

A

-use a class if the style applies to more than one element in an HTML page
-use an id if the styles applies to one specific element in HTML

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

Give four examples of CSS font properties.

A

-font-weight: normal or bold
-font-style: normal or italic
-font-size: configures size of text (em: 16px / px)
-font-family: configures typeface of text

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

What is the model of a box in HTML? (from inside to outside)

A

Content: what’s inside
Padding: space between content and border
Border: border around content and padding, usually colored
Margin: space between this box and the box around it

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

Give an example of two containers tags in CSS.

A

Div: a block element and causes the text it encloses to start on a new line

Span: an inline element than simply holds text without doing anything special to it

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

What is the float property in CSS?

A

allows you to wrap the boxes below the floating box around it, if there is enough horizontal room

ex: float =right : allows the box to stick to the left side of its containers and allow the other boxes below to wrap around it

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

What is the clear property in CSS?

A

it clears the effect of the float of the thing above it

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

What are the steps to create a form?

A

1- insert a form object
2- create a table within the form to layout the information
3- add labels to explain the input / form elements
4- add the form controls

17
Q

What three attributes are in the form tag?

A

Id: identifies the form
Method: specifies how data should be sent to the server
-choices: post or get
Action: specifies the server programs that will process the data (usually php or cgi script)

18
Q

What is the label tag?

A

<label for=”“id of content”> descriptive text </label>

19
Q

What are the three form controls?

A

Text input, selection, and buttons

20
Q

What is the input tag?

A

<input></input>
-type refers to type of inputs (text, password, checkbox, radio, submit, reset)
-value is another option, refers to text inside the box

21
Q

What is the password type for inputs?

A

-accepts text information that will be hidden as it is entered

22
Q

Difference between radio and checkbox?

A

Radio only takes one option, checkbox you can check multiple

23
Q

What is the submit and reset type for forms?

A

Submit: Trigger whatever action is set
Reset: resets form fields to initial values

24
Q

What is the video tag?

A

Only available in HTML5
-allows you to provide multiple video formats so the browser chooses the one to show depending on the plug-in that it has

ex:

25
Q

What is a video tag?

A

video tag
Available in HTML5 (We’ve been using HTML4 so far.)
Allows you to provide multiple video formats so the browser chooses the one to show depending on the plug-in that it has
Issue: not supported in older browsers

ex: <video></video>

<source></source>


<source></source>
You are missing a video about xyz
</video>

26
Q

What three parts of the video tag are there?

A

<video controls=”controls>: adds video controls like play pause and volume

<source></source>

: can link to different video files. the browser will use the first recognized format

text between the <video> and </video> is for browsers that do not support the element

27
Q

How do you put a youtube video in HTML?

A

iframe tag.

ex: <iframe src=“url” width=”200” height=”200”> Explain the video for search engine</iframe>

28
Q

What are the four values for the position property in CSS?

A

1- static: default position
2- relative: offset from its normal static position
3- absolute: a fixed position within the its containing element
4- fixed: a fixed position within the browser window

-all four have a property of top bottom left or right; this refers to the position of box’s corners