選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

page-markup-and-formatting.md 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. ---
  2. title: Page Markup And Formatting
  3. author: adamchlan
  4. type: page
  5. date: 2013-03-15T23:20:05+00:00
  6. original_post_id:
  7. - "1083"
  8. ---
  9. **Headings**
  10. # Header one
  11. ## Header two
  12. ### Header three
  13. #### Header four
  14. ##### Header five
  15. ###### Header six
  16. ## Blockquotes
  17. Single line blockquote:
  18. > Stay hungry. Stay foolish.
  19. Multi line blockquote with a cite reference:
  20. > People think focus means saying yes to the thing you&#8217;ve got to focus on. But that&#8217;s not what it means at all. It means saying no to the hundred other good ideas that there are. You have to pick carefully. I&#8217;m actually as proud of the things we haven&#8217;t done as the things I have done. Innovation is saying no to 1,000 things. <cite>Steve Jobs &#8211; Apple Worldwide Developers&#8217; Conference, 1997</cite>
  21. ## Tables
  22. <table>
  23. <tr>
  24. <th>
  25. Employee
  26. </th>
  27. <th class="views">
  28. Salary
  29. </th>
  30. <th>
  31. </th>
  32. </tr>
  33. <tr class="odd">
  34. <td>
  35. <a href="http://example.com/">Jane</a>
  36. </td>
  37. <td>
  38. $1
  39. </td>
  40. <td>
  41. Because that&#8217;s all Steve Job&#8217; needed for a salary.
  42. </td>
  43. </tr>
  44. <tr class="even">
  45. <td>
  46. <a href="http://example.com">John</a>
  47. </td>
  48. <td>
  49. $100K
  50. </td>
  51. <td>
  52. For all the blogging he does.
  53. </td>
  54. </tr>
  55. <tr class="odd">
  56. <td>
  57. <a href="http://example.com/">Jane</a>
  58. </td>
  59. <td>
  60. $100M
  61. </td>
  62. <td>
  63. Pictures are worth a thousand words, right? So Tom x 1,000.
  64. </td>
  65. </tr>
  66. <tr class="even">
  67. <td>
  68. <a href="http://example.com/">Jane</a>
  69. </td>
  70. <td>
  71. $100B
  72. </td>
  73. <td>
  74. With hair like that?! Enough said&#8230;
  75. </td>
  76. </tr>
  77. </table>
  78. ## Definition Lists
  79. Definition List Title
  80. : Definition list division.
  81. Startup
  82. : A startup company or startup is a company or temporary organization designed to search for a repeatable and scalable business model.
  83. #dowork
  84. : Coined by Rob Dyrdek and his personal body guard Christopher &#8220;Big Black&#8221; Boykins, &#8220;Do Work&#8221; works as a self motivator, to motivating your friends.
  85. Do It Live
  86. : I&#8217;ll let Bill O&#8217;Reilly will [explain][1] this one.
  87. ## Unordered Lists (Nested)
  88. * List item one
  89. * List item one
  90. * List item one
  91. * List item two
  92. * List item three
  93. * List item four
  94. * List item two
  95. * List item three
  96. * List item four
  97. * List item two
  98. * List item three
  99. * List item four
  100. ## Ordered List (Nested)
  101. 1. List item one
  102. 1. List item one
  103. 1. List item one
  104. 2. List item two
  105. 3. List item three
  106. 4. List item four
  107. 2. List item two
  108. 3. List item three
  109. 4. List item four
  110. 2. List item two
  111. 3. List item three
  112. 4. List item four
  113. ## HTML Tags
  114. These supported tags come from the WordPress.com code [FAQ][2].
  115. **Address Tag**
  116. <address>
  117. 1 Infinite Loop<br /> Cupertino, CA 95014<br /> United States
  118. </address>
  119. **Anchor Tag (aka. Link)**
  120. This is an example of a [link][3].
  121. **Abbreviation Tag**
  122. The abbreviation srsly stands for &#8220;seriously&#8221;.
  123. **Acronym Tag**
  124. The acronym <acronym title="For The Win">ftw</acronym> stands for &#8220;for the win&#8221;.
  125. **Big Tag**
  126. These tests are a <big>big</big> deal, but this tag is no longer supported in HTML5.
  127. **Cite Tag**
  128. &#8220;Code is poetry.&#8221; &#8212;<cite>Automattic</cite>
  129. **Code Tag**
  130. You will learn later on in these tests that `word-wrap: break-word;` will be your best friend.
  131. **Delete Tag**
  132. This tag will let you <del>strikeout text</del>, but this tag is no longer supported in HTML5 (use the `<strike>` instead).
  133. **Emphasize Tag**
  134. The emphasize tag should _italicize_ text.
  135. **Insert Tag**
  136. This tag should denote <ins>inserted</ins> text.
  137. **Keyboard Tag**
  138. This scarcely known tag emulates <kbd>keyboard text</kbd>, which is usually styled like the `<code>` tag.
  139. **Preformatted Tag**
  140. This tag styles large blocks of code.
  141. <pre>.post-title {
  142. margin: 0 0 5px;
  143. font-weight: bold;
  144. font-size: 38px;
  145. line-height: 1.2;
  146. }</pre>
  147. **Quote Tag**
  148. <q>Developers, developers, developers&#8230;</q> &#8211;Steve Ballmer
  149. **Strong Tag**
  150. This tag shows **bold **text.****
  151. **Subscript Tag**
  152. Getting our science styling on with H<sub>2</sub>O, which should push the &#8220;2&#8221; down.
  153. **Superscript Tag**
  154. Still sticking with science and Isaac Newton&#8217;s E = MC<sup>2</sup>, which should lift the 2 up.
  155. **Teletype Tag**
  156. This rarely used tag emulates <tt>teletype text</tt>, which is usually styled like the `<code>` tag.
  157. **Variable Tag**
  158. This allows you to denote <var>variables</var>.
  159. [1]: https://www.youtube.com/watch?v=O_HyZ5aW76c "We'll Do It Live"
  160. [2]: http://en.support.wordpress.com/code/ "Code"
  161. [3]: http://apple.com "Apple"