Web Programming - Week 1 Flashcards

1
Q

Front End Development Languages

A

HTML, CSS, JavaScript

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

Back End Development Languages

A

PHP, MySQL, AJAX

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

HTML Purpose

A

Structure of website

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

CSS Purpose

A

Presentation of website

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

JavaScript Purpose

A

Functionality of website

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

HTML Syntax

A
< html >
< head >
< /head >
< body >
< /body >
< /html >
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the < title > tag and where does it go

A

Defines the title of the document and goes in the < head > tag

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

What are < h1 > < br > and < p > and where do they go

A

< h1 > to < h6 > to define section headings
< br > produces a line break
< p > defines a paragraph

In the < p > tag

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

How are comments inserted in HTML

A

< !– – >

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

How are links defined in HTML

A

< a href=”websitelink” >Text < /a >

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

What is id used for in HTML

A

The id attribute is used to specify a unique id for an HTML element

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

What is class used for in HTML

A

Groups HTML elements with an id

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

What are attributes for

A

lang = “en”

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

What is usually meta-charset’s value and where does it go

A

UTF-8

In the head tag

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

How are images defined in HTML

A

< img >

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

What do < ul > < li > and < ol > do

A

< ul > and < ol > make unordered or ordered lists

< li > adds an element to the list

17
Q

How are tables made in HTML

A
  • table row
  • table header
  • table cell
18
Q

What does < col span = 2 > do

A

Makes a cell with column size 2

19
Q

What is the < div > tag

A

Used to divide or define a section

Has no effect unless CSS is being used

20
Q

What are html forms

A

Elements used to collect user inputs

21
Q

What are different input types

A

Text, Radio, Checkbox, Submit, Email, Date, Label, Textarea, Select, Button

22
Q

What does the name attribute do

A

Specifies the name of an element

23
Q

What does the value attribute do

A

Defines the default value for an element

24
Q

What are the 3 ways CSS can be added to HTML

A

Inline
Internal
External

25
Q

What is Inline CSS used for

A

To apply a unique style to a single HTML element by using the style attribute

26
Q

What is < span > in HTML

A

An inline container used to mark up pieces of text

27
Q

What is Internal CSS used for

A

To define a style for a HTML page, recommended to be in the element within a element

28
Q

How are ids and classes referred to in CSS

A
#id {}
.class {}
29
Q

CSS Combinator Selectors

A

div p - All < p > elements inside div elements

div > p - All < p > elements where the parent is a div element

div+p - First < p > elements after div elements

p ~ ul - Every < ul > element preceeded by < p >

30
Q

What is External CSS used for

A

To change a website by changing one fie

31
Q

How is External CSS defined

A

< link rel=”stylesheet” href=”mystyle.css” >

32
Q

List of HTML5 Semantic Elements

A
< header >
< footer >
< section >
< details >
< summary >
33
Q

What are Semantic Elements

A

Elements used to define different parts of a web page

34
Q

What is float used for in CSS

A

To place an element left. right or above it’s container