intro to html and css

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/59

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

60 Terms

1
New cards

website

multiple web pages

2
New cards

2 sides of website development

user-centered design and static front-end web development

3
New cards

user-centered design

info organization, visual design principles, interaction design, and usability/user testing

4
New cards

static front-end web development

structure (HTML), style content/presentation (CSS), client interactivity/behavior (Javascript), and using reference docs

5
New cards

static website

content never changes and everyone sees the same version

6
New cards

static website example

blog

7
New cards

dynamic website example

sites with personal algorithms, such as social media (Instagram, TikTok, YouTube, etc.)

8
New cards

both sides of website development involve…

accessibility

9
New cards

information architecture

content and navigation

10
New cards

steps of creating a website

  1. design

  2. code

11
New cards

steps of design

  1. identify audience

  2. understand goals

  3. assemble content

  4. organize content into web pages

  5. plan design

  6. evaluate design

12
New cards

audience

specific group of peoplpe with cohesive/common goals, not necessarily identity

13
New cards

steps of code

  1. structure content in HTML

  2. style using CSS

  3. add interactivity/enhance UX with Javascript

14
New cards

HTML

hypertext markup language that structures web pages using <tags> (ignoring whitespace)

15
New cards

web browser

renders .html (plain text) files, then CSS

16
New cards

boilerplate

standard HTML document structure

17
New cards

empty elements

have no content/closing tag

18
New cards

empty element examples

<hr> (horizontal rule) and <br> (break)

19
New cards

nested elements

creates hierarchy and should be indented

20
New cards

<head>

contains metadata that describes document, not structure

21
New cards

metadata element examples

<title> and <meta>

22
New cards

reference

Mozilla Developer Network (MDN)

23
New cards

correct HTML markup

structure and semantics (meaning)

24
New cards

structural markup

identifying type of content

25
New cards

semantic markup

indicating emphasis (<em>) or strong importance (<strong>)

26
New cards

incorrect HTML markup

styling content, such as using bold (<b>), italics (<i>), or underline (<u>)

27
New cards

block level

starts on new line (h1-h6, p, div)

28
New cards

inline

flows within text and does not start on new line (b, i, img, em, strong, span)

29
New cards

CSS

cascading style sheets; creates rules that control how boxes and their content are presented

30
New cards

parts of a CSS rule

selector, declaration, property, and value

31
New cards

CSS rule example

p {

font-family: serif; }

32
New cards

selector example

p

33
New cards

declaration example

font-family: serif;

34
New cards

property example

font-family:

35
New cards

value example

serif

36
New cards

cascading

last and more specific rules take precedence

37
New cards

link HTML to CSS

<link href=”styles/site.css” type=”text/css” rel=”stylesheet”/>

38
New cards

<style>

HTML element in <head> that styles document with CSS and should only be used for single page websites

39
New cards

long passages of text font

serif

40
New cards

code font

monospace

41
New cards

small text font

sans-serif/sans

42
New cards

font-size

in pt

43
New cards

uppercase rule

never type content in all caps, use text-transform: uppercase

44
New cards

DOM

document object model

45
New cards

browser DOM element

stores element content and style for browser memory

46
New cards

how to add CSS

  1. create CSS file in styles folder

  2. link CSS file to all HTML files

  3. code styling rules

  4. validate

47
New cards

shape

hard lines vs soft edges

48
New cards

borders

emphasize/deemphasize shape to attract/detract attention to element

49
New cards

border-radius

soften element edges and change shape, such as ellipse

50
New cards

list-style-type

changes bullet shapes

51
New cards

HEX

best way to specify color in CSS, RRGGBB

52
New cards

full brightness

ff

53
New cards

no brightness

00

54
New cards

red HEX

ff0000

55
New cards

green HEX

00ff00

56
New cards

blue HEX

0000ff

57
New cards

black HEX

000000

58
New cards

white HEX

ffffff

59
New cards

generic font families

serif, sans-serif, and monospace; always work in browser and best for accessibility

60
New cards

fallback

generic font family serves as last resort for inaccessible named fonts