Test 2 Flashcards
(28 cards)
What is a search form?
Form that allows a user to request a word or phrase to search a database. *it is NOT searching the internet in real time
What is a search engine result?
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.
What is a search engine spider? (bot/crawler)
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 to get your website found?
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
What is the meta tag in HTML?
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>
What two key things do CSS rules consists of?
-selector: what is being changed
-declaration: what you’re changing (property and value)
What are contextual selectors in CSS?
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}
What is the id attribute?
-unique, can only be used once within a document
-in CSS, a hash (#) is used to specify it
What is the class attribute?
-used for generic styles specific to many HTML tags
-in CSS. a dot(.) is used to specify it
Explain class vs id?
-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
Give four examples of CSS font properties.
-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
What is the model of a box in HTML? (from inside to outside)
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
Give an example of two containers tags in CSS.
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
What is the float property in CSS?
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
What is the clear property in CSS?
it clears the effect of the float of the thing above it
What are the steps to create a form?
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
What three attributes are in the form tag?
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)
What is the label tag?
<label for=”“id of content”> descriptive text </label>
What are the three form controls?
Text input, selection, and buttons
What is the input tag?
<input></input>
-type refers to type of inputs (text, password, checkbox, radio, submit, reset)
-value is another option, refers to text inside the box
What is the password type for inputs?
-accepts text information that will be hidden as it is entered
Difference between radio and checkbox?
Radio only takes one option, checkbox you can check multiple
What is the submit and reset type for forms?
Submit: Trigger whatever action is set
Reset: resets form fields to initial values
What is the video tag?
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: