chapter 2 : text
- the b tag (closed tag) is for make the text bold.
- the i tag (closed tag) is for make the text itelic.
- the sup tag (closed tag) is for make the text superscript ex: power.
- the sub tag (closed tag) is for make the text subscript ex: chemical formula.
- the br / tag : line break.
- the hr / tag : break with theme.
- the q tag : to put quotes “”
- the abbr tag :
-
Prof Stephen Hawking is a theoretical physicist and cosmologist.
-
- the del tag : text delete it (line through it )
- the ins tag : underline.
- the s tag : line through it , something that is no longer accurate or relevant (but that should not be deleted).
chapter 10: Introduction CSS
- h1~p {} : General Sibling Selector :Matches an element that is a sibling of another, although it does not have to be the directly preceding element.
chapter 2: Basic javascript instruction
- An array is a special type of variable. It doesn’t just store one value; it stores a list of values.
-
ex: Create the array var colors = [‘white’, ‘black’ , ‘custom’];
- ex :Update the third item in the array colors[2] = ‘beige ‘ ;
chapter 4 : decision and loops
- switch statment :have a default option that is run if none of the cases match.