Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 1.6 KB

201read02.md

File metadata and controls

55 lines (32 loc) · 1.6 KB

Control flow

Is the order in which the computer executes statements in the code Code is run in order from the first line in the file to the last line, unless the computer runs across the (extremely frequent) structures that change the control flow, such as , function conditionals and loops.

HTML Lists

HTML lists allow web developers to group a set of related items in lists.

Example An unordered HTML list:

An unordered list starts with the

    tag. Each list item starts with the
  • tag.

    The list items will be marked with bullets (small black circles) by default:

    Example

    • Coffee
    • Tea
    • Milk

    Ordered HTML List An ordered list starts with the

      tag. Each list item starts with the
    1. tag.

      The list items will be marked with numbers by default:

      HTML List Tags Tag Description

        Defines an unordered list
          Defines an ordered list
        1. Defines a list item
          Defines a description list
          Defines a term in a description list
          Describes the term in a description list

          The CSS Box Model

          In CSS, the term "box model" is used when talking about design and layout. CSS box model is essentially a box that wraps around every HTML element. It consists of: margins, borders, padding, and the actual content. The image below illustrates the box model:

          Explanation of the different parts: Content - The content of the box, where text and images appear Padding - Clears an area around the content. The padding is transparent Border - A border that goes around the padding and content Margin - Clears an area outside the border. The margin is transparent