Guest User

Untitled

a guest
Feb 19th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. HTML = holds the content, shows the structure of a page.
  2. -doesn't say where it should be displayed, color
  3. -it does content
  4. CSS/HTML = they are dummy language don't know what 1+1
  5.  
  6.  
  7. layers of css
  8.  
  9. Margin: Clears an area outside the border. Thhe margin is transparent
  10. Border: A border that goes around the padding and content
  11. width: top and goes around clockwise/
  12. style: can do square, circles
  13. color: control the color
  14. Padding: Clears an area around the content. The padding is transparent
  15. content: the content of the box, where text and images appear
  16.  
  17. Binary. decima and hexadimal
  18.  
  19. How to count like a computer
  20. How we count Arabic numbers 0-9
  21.  
  22. DECIMAL
  23. 0 - 9 characters
  24. then goes to 10 11 12
  25.  
  26.  
  27.  
  28. BINARY
  29. Use two characters, but same rules apply
  30. 0 1 10 11 100 101 110 111 1000 (represents 8 in binary)(this is 1-8)
  31.  
  32. HEXADECIMAL
  33. 9 A B C D E F (this is 9 - 15) 10 (then 10 this is 16)
  34.  
  35. 15 would be 21 1 is 1X10 and 5 is 1X5
  36. A5 woud be 160 + 5 A X 16 = 160 / 5X1 = 5
  37.  
  38. done by two numbers
  39. 00 = 0 0x16 = 0 0X1= 0
  40. FF = 255 15X16 = 240 15X1=15
  41.  
  42. A BYTE is
  43. binary - 00000000to 11111111 8 characters
  44. decinal 000 to 255 3 characters
  45. hex = 00 to FF 2 characters
  46.  
  47. computers use decimals in two characters
  48.  
  49.  
  50. hex color codes
  51. 0F0 red blue green
  52. rgb 0, 255, 00
  53. green
  54.  
  55. targetting
  56. p targetting the paragraph
  57. div you can do class or id
  58. id this helps to target #
  59. class .
  60.  
  61.  
  62. * star selects is everything
  63.  
  64.  
  65.  
  66.  
  67.  
  68. HTML creation EXAMPLE
  69. terminal
  70. -mkdir html_css_3_column_example
  71. -touch index.html
  72. -touch index.css
  73. -subl .
  74.  
  75.  
  76. index.html
  77. -basic tructure
  78. ! plus tab (creates a basic structure
  79. strate with
  80. html main text and it closes with /
  81. / closes the tags
  82.  
  83. Inside must have a head and a body
  84. in the head
  85. meta = language
  86. title is the thing that will be on the tab
  87.  
  88.  
  89. index.css
  90. to center
  91. body {
  92. width:960px
  93. marnig:0 auto;
  94. }
  95. to make verivcal rows
  96. take px divided by three
  97. .column-section {
  98. width: 320ox; (300)(280)
  99. float; left . (this is to fill it out
  100. padding: 10px,
  101. margin: 10px
  102. }
  103. #reflection { (can only have one unique id for page
  104. clear: both; (your width will become 300 to padding
  105. }
  106.  
  107. .column-section #reflection, header, footer {
  108. move the following
  109. padding: 10px;
  110. margin: 10px;
  111.  
  112. }
  113.  
  114.  
  115.  
  116.  
  117. LAYOUT
  118.  
  119. Typography desals with type of fonts you want to use
  120. font must be on your computer, if not avaiable it goes to the next avaiable font that's closes
  121. to that family
  122.  
  123. media queries = solution to differenst size screens
  124. it will shift from how your are viewg ex. laptop or phone
  125.  
  126.  
  127. <a href="" create a link
  128. you can tweak colors in relfection
  129.  
  130. reflection a{
  131. color:
  132. }
  133. to hover
  134. reflection hover a:{
  135.  
  136. }
  137.  
  138.  
  139. to hide overflow
  140. overflow: scroll
  141.  
  142.  
  143.  
  144. in html an action is an url and a method is a verb
  145. trigger a response view request
  146. input is importatnt part
  147. name = param ;/ value add
  148.  
  149. input is a button
  150.  
  151. name specifies params
Add Comment
Please, Sign In to add comment