There are Three types of lists:
ol element to create ordered lists
li tag to put each item in the list
ul element to create unordered lists
li tag to put each item in the list
d1 element to create definition lists
dt tag to contain the term being defined
dd tag to contain definition
We can put list inside list and this is Nested Lists
To set Boxes dimensions we can use : width and height For limiting width use : min-width and max-width For limiting height use : min-height and max-height
border-style border-color
set the left-margin and right-margin to auto
applies an image to the border of box
add drop shadow around the box
is a special variables stores a list of values not a single value.
example: var colors; colors = [‘white’, ‘black’, ‘ custom ‘];
We can access the array values as a numbered list start with zero
each item in array called an index , To accessing the index we use array name then the index number
To know The array length use the name of array followed by dot tehn length word
example:
run code when it is true and another code when it is false example:
allow you to compare a value with possible outputs
example:
using:
example:
example:
example: