Skip to content

Latest commit

 

History

History
54 lines (47 loc) · 2.22 KB

File metadata and controls

54 lines (47 loc) · 2.22 KB

whats type of list in html ?

  • Ordered lists are lists where each item in the list is numbered. For example, the list might be a set of steps for a recipe that must be performed in order, or a legal contract where each point needs to be identified by a section number.

  • Unordered lists are lists that begin with a bullet point (rather than characters that indicate order).  html and css]  html and css]

  • notes: There are three types of HTML lists: ordered, unordered, and definition.

  • Ordered lists use numbers.

  • Unordered lists use bullets.

  • Definition lists are used to define terminology.

  • Lists can be nested inside one another.

  • what is the boxes ?:

  • CSS treats each HTML e lement as if it has its own box.

  • You can use CSS to control the dimensions of a box.

  • You can also control the borders, margin and padding for each box with CSS.

  • It is possible to hide elements using the display and visibility properties.

  • Block-level boxes can be made into inline boxes, and inline boxes made into block-level boxes.

  • Legibility can be improved by controlling the width of boxes containing text and the leading.

  • CSS3 has introduced the ability to create image borders.

what is variable?

  • A script will have to temporarily store the bits of information it needs to do its job. It can store this data [ html and css]

notes:

  • Functions allow you to group a set of related statements together that represent a single task.
  • An object is a series of variables and functions that represent something from the world around you

switch statement

[ html and css]

why using switch statement?

  • A switch statement starts with a variable called the switch value. Each case indicates a possible value for this variable and the code that should run if the variable matches that value.