HTML and CSS

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/47

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:05 PM on 10/13/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

48 Terms

1
New cards

HTML

HyperText Markup Language, a declarative language for defining elements in a document for use on the web.

• semantics: relating to meaning. In the context of the web, we emphasize meaning to be a concern separate from

behavior or presentation.

2
New cards

element

an entity defined by HTML

3
New cards

tag

the label used to define an element in HTML

4
New cards

attributes

key="value" pairs defined in a tag that provide additional information about the element

5
New cards

parent

The element directly containing a given element is the given element’s parent

6
New cards

child

A child directly contained by a given element is the given element’s child.

7
New cards

ancestor

Any element “higher” in the hierarchy than a given element is an ancestor of the given element.

8
New cards

descendant

Any element “lower” in the hierarchy than a given element is a descendant of the given element

9
New cards

html tag

the “root” element in an html document. Has no parent in the document

10
New cards

head tag

the tag used to define document meta data

11
New cards

body tag

the tag used to define the document body.

12
New cards

p tag

the tag used to define a paragrapyh

13
New cards

a tag

the tag used to define anchor elements, that is elements who define links.

14
New cards

href attribute

the attribute used on anchor elements to specify the URI the link points at

15
New cards

relative resource locators

a simplified version of a URI which is relative to the current document’s scheme, authority,

path, or self.

16
New cards

img tag

the tag used to define an image element.

17
New cards

src attribute

the attribute used on image, video, and audio to specify the URI of the media file

18
New cards

video tag

the tag used to define a video element

19
New cards

form tag

he tag used to define a form element.

20
New cards

method attribute

when the form is submitted, the value of this attribute is used as the method for the request to the server. Defaults to GET. Only GET and POST are actually supported natively.

21
New cards

action attribute

this attribute is used to specify the URI of the resource that will handle submission of the form.

22
New cards

input tag

a tag used to define form input elements.

23
New cards

name attribute

when a form is submitted, the content is sent to the server as key-value pairs. It defines the key for each input element.

24
New cards

type attribute

specifies the type of an input element.

25
New cards

submit type

an element of type submit is used as a control to actuate submission of the form.

26
New cards

div tag

the generic block element tag

27
New cards

span tag

the generic inline element tag

28
New cards

id attribute

one of the three universal attributes: an identifier for the element; should be unique in the document.

Can be referred to by the fragment part of the URI

29
New cards

class attribute

one of the three universal attributes: should be used to refine the meaning of a tag, often abused to

affect presentation rules

30
New cards

style attribute

one of the three universal attributes: explicitly defines presentation rules on the element. Should be avoided

31
New cards

MDN

Mozilla Developer Network is the resource for documentation about the web platform.

32
New cards

CSS

Cascading Style Sheets is a declarative language used to specify presentation rules of HTML documents

33
New cards

style tag

the tag used to embed CSS into an HTML document

34
New cards

link tag

the tag used to reference a CSS file for use in an HTML document

35
New cards

selector

a pattern that is used to match, or select, an element or elements in an HTML document.

36
New cards

declaration

a property: value; pair that defines a particular presentation rule.

37
New cards

rule set

the combination of a selector or group of selectors and a declaration block that connects presentation rules to

elements in an HTML document.

38
New cards

property

an identifier to specify which presentation feature the declaration concerns.

39
New cards

value

a description of how the presentation feature should be applied.

40
New cards

display

none: a declaration that indicates that the element should not be displayed.

41
New cards

id selector

a selector beginning with an octothorpe that matches elements by the value of their id attribute.

42
New cards

class selector

a selector beginning with a period that matches elements by the value of their class attribute

43
New cards

element selector

a selector matching the tag used on the elements.

44
New cards

descendant combinator

combining multiple selectors with spaces creates a “path” where each subsequent selector is

the descendant of the previous one matched.

45
New cards

media queries

styles can be restricted to being used only when the presenting media matches certain criteria, such as

width, orientation, or screen versus print.

46
New cards

mobile first

an approach to creating presentation rules that starts with the defaults tailored to small screen widths

and then progressively enhancing for larger screens using media queries.

47
New cards

responsive

an approach to creating presentation rules that starts as the maximum expected screen width and using

media queries to adjust presentation rules to accommodate smaller screens

48
New cards

fluid design

an approach to creating presentation rules that leverages modern CSS features that automatically adjust

to the available space on the page.