INP125C – HTML & CSS Essentials

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

1/104

flashcard set

Earn XP

Description and Tags

Key vocabulary covering HTML structure, forms, semantic tags, tables, CSS selectors, box model, layout, colors, and typography.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

105 Terms

1
New cards

HTML (HyperText Markup Language)

Standard markup language that gives structure to content on the web.

2
New cards

Element

A complete HTML unit consisting of an opening tag, content, and a closing tag.

3
New cards

Tag

The element name wrapped in angle brackets, e.g.,

or

.

4
New cards

Attribute

Extra information added inside an opening tag, written as name="value".

5
New cards

Declaration that tells the browser the document type and HTML version (HTML5).

6
New cards

Root element that encloses all HTML code on a page.

7
New cards

Section that holds metadata like

8
New cards

Sets the text shown in the browser tab for a web page.

9
New cards

Contains all visible page content such as text, images and videos.

10
New cards

Heading elements (

)

Text elements that provide hierarchical headings,

being the largest.

11
New cards

Paragraph element used for blocks of text.

12
New cards

Inline container for styling small portions of text.

13
New cards

Generic block-level container used to group elements for styling/layout.

14
New cards

id attribute

Unique identifier for a single element, referenced with # in CSS or links.

15
New cards

class attribute

Reusable name that can be applied to multiple elements, referenced with . in CSS.

16
New cards

Semantic tag that emphasizes text (rendered italic by default).

17
New cards

Semantic tag that marks important text (rendered bold by default).

18
New cards

Line-break element that inserts a single line break; self-closing.

19
New cards

    Creates an unordered (bulleted) list.

    20
    New cards

      Creates an ordered (numbered) list.

      21
      New cards
    1. List-item element placed inside

        or
          .

      22
      New cards

      Embeds an image; uses src for the file URL and optional alt for description.

      23
      New cards

      alt attribute

      Provides alternative text for images; improves accessibility and SEO.

      24
      New cards

      Embeds a video; supports attributes like src, controls, width, height.

      25
      New cards

      Anchor tag that creates hyperlinks via the href attribute.

      26
      New cards

      href attribute

      Specifies the destination URL or file path for a link.

      27
      New cards

      target="_blank"

      Opens the linked resource in a new browser tab or window.

      28
      New cards

      Relative link

      Link that points to a file in the same project, e.g., ./contact.html.

      29
      New cards

      Whitespace & Indentation

      Non-rendered spacing used to make HTML code more readable.

      30
      New cards

      HTML comment

      Note ignored by browsers, written .

      31
      New cards

      Element that holds tabular data.

      32
      New cards

      Table row.

      33
      New cards

      Table data cell.

      34
      New cards

      Table header cell; can use scope="row" or scope="col".

      35
      New cards

      colspan / rowspan

      Attributes that allow a cell to span multiple columns or rows.

      36
      New cards
      , ,

      Optional table sections for header, body, and footer.

      37
      New cards

      Collects user input; uses action and method attributes to submit data.

      38
      New cards

      Versatile form field; type attribute defines its behavior.

      39
      New cards

      type="text"

      Single-line text input field.

      40
      New cards

      type="password"

      Input that masks typed characters.

      41
      New cards

      type="number"

      Input restricted to numeric values; supports min, max, step.

      42
      New cards

      type="range"

      Slider control representing a numeric range.

      43
      New cards

      type="checkbox"

      Selectable box allowing multiple choices.

      44
      New cards

      type="radio"

      Exclusive option selector; only one in a group (same name) can be chosen.

      45
      New cards

      Creates a dropdown list of choices.

      46
      New cards

      Provides auto-complete options for an field.

      47
      New cards

      Multi-line text input area; rows and cols control size.

      48
      New cards

      type="submit"

      Input that submits the enclosing form.

      49
      New cards

      required attribute

      Prevents form submission if the field is empty.

      50
      New cards

      min / max attributes

      Set numeric limits for number or range inputs.

      51
      New cards

      minlength / maxlength

      Set character limits for text inputs.

      52
      New cards

      pattern attribute

      Uses regex to validate input against a specific format.

      53
      New cards

      Semantic HTML

      Use of meaningful tags (header, nav, etc.) that convey content purpose.

      54
      New cards

      Container for introductory or navigational content at the top of a page or section.

      55
      New cards

      Defines a block of navigation links.

      56
      New cards

      Encapsulates the primary content of a document.

      57
      New cards

      Contains closing or summary content like contact info and copyright.

      58
      New cards

      Logical grouping of themed content within a page.

      59
      New cards

      Independent, self-contained composition (e.g., blog post, news article).

      60
      New cards

      Content tangentially related to the main content (e.g., sidebar, pull quote).

      61
      New cards
      &

      Wraps media with an optional caption describing it.

      62
      New cards

      Embeds audio content; supports source and controls.

      63
      New cards

      Deprecated tag that embeds external content like videos or PDFs.

      64
      New cards

      CSS (Cascading Style Sheets)

      Language used to style HTML content.

      65
      New cards

      Inline style

      CSS written inside an element's style attribute.

      66
      New cards

      Embeds CSS rules within the section of an HTML document.

      67
      New cards

      External stylesheet (.css)

      Separate CSS file linked via for cleaner code separation.

      68
      New cards

      CSS selector

      Pattern that targets HTML elements to apply styles.

      69
      New cards

      Tag selector

      Targets elements by tag name (e.g., p {}).

      70
      New cards

      Class selector

      Targets elements by class, prefixed with a dot (e.g., .menu {}).

      71
      New cards

      ID selector

      Targets an element by unique id, prefixed with # (e.g., #header {}).

      72
      New cards

      Specificity

      Hierarchy that determines which CSS rule wins: IDs > classes > tags.

      73
      New cards

      Chained selector

      Combines multiple selectors (e.g., h1.special) for more specificity.

      74
      New cards

      Nested selector

      Targets elements inside others (e.g., .menu li).

      75
      New cards

      Box Model

      Concept that every element is a box with content, padding, border, and margin.

      76
      New cards

      padding

      Space between content and border inside an element.

      77
      New cards

      border

      Line surrounding padding and content; style, width, color configurable.

      78
      New cards

      margin

      Space outside an element's border, separating it from other elements.

      79
      New cards

      border-radius

      Rounds the corners of an element's border box.

      80
      New cards

      overflow

      Controls handling of content that exceeds its box: visible, hidden, scroll.

      81
      New cards

      display: inline / block / inline-block

      Determines if elements share a line, break lines, or combine both behaviors.

      82
      New cards

      position: relative

      Moves an element relative to its normal position using top/right/bottom/left.

      83
      New cards

      position: absolute

      Positions an element relative to the nearest positioned ancestor.

      84
      New cards

      position: fixed

      Pins an element to the viewport; stays visible on scroll.

      85
      New cards

      z-index

      Controls stacking order of overlapping positioned elements.

      86
      New cards

      float

      Moves an element to the left or right, letting text wrap around it.

      87
      New cards

      clear

      Specifies which sides of floating elements should not be adjacent to an element.

      88
      New cards

      color property

      Sets foreground (text) color of an element.

      89
      New cards

      background-color

      Sets background fill color of an element.

      90
      New cards

      Hex color

      Six- or three-digit base-16 color code starting with # (e.g., #FF5733).

      91
      New cards

      RGB color

      Uses rgb(r,g,b) with values 0–255 for red, green, blue.

      92
      New cards

      HSL color

      Uses hsl(hue, saturation%, lightness%) format for colors.

      93
      New cards

      Alpha / Opacity

      Fourth value in rgba() or hsla() sets transparency from 0 (transparent) to 1 (opaque).

      94
      New cards

      font-family

      Specifies the typeface for text; can include fallback fonts.

      95
      New cards

      font-size

      Controls how big text appears, typically in px, em, or rem.

      96
      New cards

      font-weight

      Sets thickness of text: normal, bold, or numeric 100–900.

      97
      New cards

      font-style

      Controls italics or normal style of text.

      98
      New cards

      line-height

      Sets vertical space between lines of text; controls leading.

      99
      New cards

      letter-spacing

      Adjusts spacing between characters (tracking).

      100
      New cards

      word-spacing

      Adjusts spacing between words.