<ol>) or unordered (
For example: meta charset sets the character encoding for the web page. meta description describes your page to search engines. meta viewport scales a page so that it looks good on mobile devices.
( )and separated by
;, followed by statements that are run in the loop. The 1st expression is typically used to create a counter variable (which can be accessed both inside and outside the loop) Next is the loop condition. If this expression is true the statements inside the loop are run. If the expression is false, execution skips to the statement after the
baseto the power of
nullif the user clicks cancel
fromIndex; returns -1 if the value is not found. a string to search for. the location within the calling string to start the search from. It can be any integer between 0 and the length of the string. The default value is 0. E.g.
'CodeAvengers'.indexOf('e', 4)is 6
indexAup to but not including
indexBa number between 0 and the length of the string a number between 0 and the length of the string; if omitted,
substringgets characters from
indexAto the end of the string If
substringreturns an empty string If either parameter is less than 0 or is
NaN, it is treated as 0. If either parameter is greater than the string length it is treated as if it were the string length. If
indexAis larger than
indexB, the effect is as if the 2 parametrers were swapped E.g.
'CodeAvengers'.substring(4)is Avengers and
'CodeAvengers'.substring(5, 8)is ven
4 + 8equals
'4' + '8',
4 + '8'and
'4' + 8are equal to
32 - 24equals 8
4 * 8equals
16 / 2equals
a == bis true if
bhave the same value. E.g.
age == 15is true if age is 15
a != bis true if
bhave different values. E.g. code>age != 0 is true if age is any value except 0
a && bis true if both
a || bis true if either
bor both are true. E.g.
age == 5 || age == 10is true if age is 5 or 10 The
|key is normally above the Enter key.
scaleHeightwill be set to the same as
scaleWidth. if the horizontal scale factor is negative, then it will flip the image horizontally. if the vertical scale factor is negative, then it will flip the image vertically.
This is a test paragraph');