api 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. link link [Selector]\nSelects all unvisited links
  2. visited visited [Selector]\nSelects all visited links
  3. active active [Selector]\nSelects the active link
  4. hover hover [Selector]\nSelects links on mouse over
  5. focus focus [Selector]\nSelects the input element which has focus
  6. first-letter first-letter [Selector]\nSelects the first letter of every <p> element
  7. first-line first-line [Selector]\nSelects the first line of every <p> element
  8. first-child first-child [Selector]\nSelects every <p> elements that is the first child of its parent
  9. before before [Selector]\nInsert content before every <p> element
  10. after after [Selector]\nInsert content after every <p> element
  11. lang lang(language) [Selector]\nSelects every <p> element with a lang attribute value starting with `language`
  12. background background [Property]\nSets all the background properties in one declaration
  13. background-attachment background-attachment [Property]\nSets whether a background image is fixed or scrolls with the rest of the page
  14. background-color background-color [Property]\nSets the background color of an element
  15. background-image background-image [Property]\nSets the background image for an element
  16. background-position background-position [Property]\nSets the starting position of a background image
  17. background-repeat background-repeat [Property]\nSets how a background image will be repeated
  18. border border [Property]\nSets all the border properties in one declaration
  19. border-bottom border-bottom [Property]\nSets all the bottom border properties in one declaration
  20. border-bottom-color border-bottom-color [Property]\nSets the color of the bottom border
  21. border-bottom-style border-bottom-style [Property]\nSets the style of the bottom border
  22. border-bottom-width border-bottom-width [Property]\nSets the width of the bottom border
  23. border-color border-color [Property]\nSets the color of the four borders
  24. border-left border-left [Property]\nSets all the left border properties in one declaration
  25. border-left-color border-left-color [Property]\nSets the color of the left border
  26. border-left-style border-left-style [Property]\nSets the style of the left border
  27. border-left-width border-left-width [Property]\nSets the width of the left border
  28. border-right border-right [Property]\nSets all the right border properties in one declaration
  29. border-right-color border-right-color [Property]\nSets the color of the right border
  30. border-right-style border-right-style [Property]\nSets the style of the right border
  31. border-right-width border-right-width [Property]\nSets the width of the right border
  32. border-style border-style [Property]\nSets the style of the four borders
  33. border-top border-top [Property]\nSets all the top border properties in one declaration
  34. border-top-color border-top-color [Property]\nSets the color of the top border
  35. border-top-style border-top-style [Property]\nSets the style of the top border
  36. border-top-width border-top-width [Property]\nSets the width of the top border
  37. border-width border-width [Property]\nSets the width of the four borders
  38. outline outline [Property]\nSets all the outline properties in one declaration
  39. outline-color outline-color [Property]\nSets the color of an outline
  40. outline-style outline-style [Property]\nSets the style of an outline
  41. outline-width outline-width [Property]\nSets the width of an outline
  42. height height [Property]\nSets the height of an element
  43. max-height max-height [Property]\nSets the maximum height of an element
  44. max-width max-width [Property]\nSets the maximum width of an element
  45. min-height min-height [Property]\nSets the minimum height of an element
  46. min-width min-width [Property]\nSets the minimum width of an element
  47. width width [Property]\nSets the width of an element
  48. font font [Property]\nSets all the font properties in one declaration
  49. font-family font-family [Property]\nSpecifies the font family for text
  50. font-size font-size [Property]\nSpecifies the font size of text
  51. font-style font-style [Property]\nSpecifies the font style for text
  52. font-variant font-variant [Property]\nSpecifies whether or not a text should be displayed in a small-caps font
  53. font-weight font-weight [Property]\nSpecifies the weight of a font
  54. content content [Property]\nUsed with the :before and :after pseudo-elements, to insert generated content
  55. counter-increment counter-increment [Property]\nIncrements one or more counters
  56. counter-reset counter-reset [Property]\nCreates or resets one or more counters
  57. quotes quotes [Property]\nSets the type of quotation marks for embedded quotations
  58. list-style list-style [Property]\nSets all the properties for a list in one declaration
  59. list-style-image list-style-image [Property]\nSpecifies an image as the list-item marker
  60. list-style-position list-style-position [Property]\nSpecifies if the list-item markers should appear inside or outside the content\nflow
  61. list-style-type list-style-type [Property]\nSpecifies the type of list-item marker
  62. margin margin [Property]\nSets all the margin properties in one declaration
  63. margin-bottom margin-bottom [Property]\nSets the bottom margin of an element
  64. margin-left margin-left [Property]\nSets the left margin of an element
  65. margin-right margin-right [Property]\nSets the right margin of an element
  66. margin-top margin-top [Property]\nSets the top margin of an element
  67. padding padding [Property]\nSets all the padding properties in one declaration
  68. padding-bottom padding-bottom [Property]\nSets the bottom padding of an element
  69. padding-left padding-left [Property]\nSets the left padding of an element
  70. padding-right padding-right [Property]\nSets the right padding of an element
  71. padding-top padding-top [Property]\nSets the top padding of an element
  72. bottom bottom [Property]\nSets the bottom margin edge for a positioned box
  73. clear clear [Property]\nSpecifies which sides of an element where other floating elements are not\nallowed
  74. clip clip [Property]\nClips an absolutely positioned element
  75. cursor cursor [Property]\nSpecifies the type of cursor to be displayed
  76. display display [Property]\nSpecifies the type of box an element should generate
  77. float float [Property]\nSpecifies whether or not a box should float
  78. left left [Property]\nSets the left margin edge for a positioned box
  79. overflow overflow [Property]\nSpecifies what happens if content overflows an element's box
  80. position position [Property]\nSpecifies the type of positioning for an element
  81. right right [Property]\nSets the right margin edge for a positioned box
  82. top top [Property]\nSets the top margin edge for a positioned box
  83. visibility visibility [Property]\nSpecifies whether or not an element is visible
  84. z-index z-index [Property]\nSets the stack order of an element
  85. orphans orphans [Property]\nSets the minimum number of lines that must be left at the bottom of a page when\na page break occurs inside an element
  86. page-break-after page-break-after [Property]\nSets the page-breaking behavior after an element
  87. page-break-before page-break-before [Property]\nSets the page-breaking behavior before an element
  88. page-break-inside page-break-inside [Property]\nSets the page-breaking behavior inside an element
  89. widows widows [Property]\nSets the minimum number of lines that must be left at the top of a page when a\npage break occurs inside an element
  90. border-collapse border-collapse [Property]\nSpecifies whether or not table borders should be collapsed
  91. border-spacing border-spacing [Property]\nSpecifies the distance between the borders of adjacent cells
  92. caption-side caption-side [Property]\nSpecifies the placement of a table caption
  93. empty-cells empty-cells [Property]\nSpecifies whether or not to display borders and background on empty cells in a\ntable
  94. table-layout table-layout [Property]\nSets the layout algorithm to be used for a table
  95. color color [Property]\nSets the color of text
  96. direction direction [Property]\nSpecifies the text direction/writing direction
  97. letter-spacing letter-spacing [Property]\nIncreases or decreases the space between characters in a text
  98. line-height line-height [Property]\nSets the line height
  99. text-align text-align [Property]\nSpecifies the horizontal alignment of text
  100. text-decoration text-decoration [Property]\nSpecifies the decoration added to text
  101. text-indent text-indent [Property]\nSpecifies the indentation of the first line in a text-block
  102. text-shadow text-shadow [Property]\nSpecifies the shadow effect added to text
  103. text-transform text-transform [Property]\nControls the capitalization of text
  104. unicode-bidi unicode-bidi [Property]
  105. vertical-align vertical-align [Property]\nSets the vertical alignment of an element
  106. white-space white-space [Property]\nSpecifies how white-space inside an element is handled
  107. word-spacing word-spacing [Property]\nIncreases or decreases the space between words in a text
  108. a a\nDefines an anchor
  109. abbr abbr\nDefines an abbreviation
  110. acronym acronym\nDefines an acronym
  111. address address\nDefines contact information for the author/owner of a document
  112. applet applet\nDeprecated. Defines an embedded applet
  113. area area\nDefines an area inside an image-map
  114. b b\nDefines bold text
  115. base base\nDefines a default address or a default target for all links on a page
  116. basefont basefont\nDeprecated. Defines a default font, color, or size for the text in a page
  117. bdo bdo\nDefines the text direction
  118. big big\nDefines big text
  119. blockquote blockquote\nDefines a long quotation
  120. body body\nDefines the document's body
  121. br br\nDefines a single line break
  122. button button\nDefines a push button
  123. caption caption\nDefines a table caption
  124. center center\nDeprecated. Defines centered text
  125. cite cite\nDefines a citation
  126. code code\nDefines computer code text
  127. col col\nDefines attribute values for one or more columns in a table
  128. colgroup colgroup\nDefines a group of columns in a table for formatting
  129. dd dd\nDefines a description of a term in a definition list
  130. del del\nDefines deleted text
  131. dfn dfn\nDefines a definition term
  132. dir dir\nDeprecated. Defines a directory list
  133. div div\nDefines a section in a document
  134. dl dl\nDefines a definition list
  135. dt dt\nDefines a term (an item) in a definition list
  136. em em\nDefines emphasized text
  137. fieldset fieldset\nDefines a border around elements in a form
  138. font font\nDeprecated. Defines font, color, and size for text
  139. form form\nDefines an HTML form for user input
  140. frame frame\nDefines a window (a frame) in a frameset
  141. frameset frameset\nDefines a set of frames
  142. h1 h1\nDefines HTML heading
  143. h2 h2\nDefines HTML heading
  144. h3 h3\nDefines HTML heading
  145. h4 h4\nDefines HTML heading
  146. h5 h5\nDefines HTML heading
  147. h6 h6\nDefines HTML heading
  148. head head\nDefines information about the document
  149. hr hr\nDefines a horizontal line
  150. html html\nDefines an HTML document
  151. i i\nDefines italic text
  152. iframe iframe\nDefines an inline frame
  153. img img\nDefines an image
  154. input input\nDefines an input control
  155. ins ins\nDefines inserted text
  156. isindex isindex\nDeprecated. Defines a searchable index related to a document
  157. kbd kbd\nDefines keyboard text
  158. label label\nDefines a label for an input element
  159. legend legend\nDefines a caption for a fieldset element
  160. li li\nDefines a list item
  161. link link\nDefines the relationship between a document and an external resource
  162. map map\nDefines an image-map
  163. menu menu\nDeprecated. Defines a menu list
  164. meta meta\nDefines metadata about an HTML document
  165. noframes noframes\nDefines an alternate content for users that do not support frames
  166. noscript noscript\nDefines an alternate content for users that do not support client-side scripts
  167. object object\nDefines an embedded object
  168. ol ol\nDefines an ordered list
  169. optgroup optgroup\nDefines a group of related options in a select list
  170. option option\nDefines an option in a select list
  171. p p\nDefines a paragraph
  172. param param\nDefines a parameter for an object
  173. pre pre\nDefines preformatted text
  174. q q\nDefines a short quotation
  175. s s\nDeprecated. Defines strikethrough text
  176. samp samp\nDefines sample computer code
  177. script script\nDefines a client-side script
  178. select select\nDefines a select list (drop-down list)
  179. small small\nDefines small text
  180. span span\nDefines a section in a document
  181. strike strike\nDeprecated. Defines strikethrough text
  182. strong strong\nDefines strong text
  183. style style\nDefines style information for a document
  184. sub sub\nDefines subscripted text
  185. sup sup\nDefines superscripted text
  186. table table\nDefines a table
  187. tbody tbody\nGroups the body content in a table
  188. td td\nDefines a cell in a table
  189. textarea textarea\nDefines a multi-line text input control
  190. tfoot tfoot\nGroups the footer content in a table
  191. th th\nDefines a header cell in a table
  192. thead thead\nGroups the header content in a table
  193. title title\nDefines the title of a document
  194. tr tr\nDefines a row in a table
  195. tt tt\nDefines teletype text
  196. u u\nDeprecated. Defines underlined text
  197. ul ul\nDefines an unordered list
  198. var var\nDefines a variable part of a text
  199. xmp xmp\nDeprecated. Defines preformatted text