A place to cache linked articles (think custom and personal wayback machine)
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

2 лет назад
12345678910111213141516171819202122232425
  1. title: Commentaire Hacker News sur Next Gen Static Blogging
  2. url: https://news.ycombinator.com/item?id=25701053
  3. hash_url: 6a8fadb032ab4c1951319268a1315655
  4. <span class="commtext c00">Note that closing &lt;/p&gt; tags are optional<i>†</i>, so one can be an HTML purist and still write a decent HTML document with a relatively clean markup like this:<p></p><pre><code> &lt;!DOCTYPE html&gt;
  5. &lt;html lang="en"&gt;
  6. &lt;title&gt;Lorem Ipsum&lt;/title&gt;
  7. &lt;h1&gt;Lorem Ipsum&lt;/h1&gt;
  8. &lt;p&gt;
  9. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  10. Duis id maximus tortor. Sed nisi ante, fermentum vel nunc
  11. et, tincidunt sagittis magna. In ultrices commodo lacus, id
  12. tristique ipsum euismod laoreet.
  13. &lt;p&gt;
  14. Maecenas at neque posuere, aliquet erat at, vehicula est.
  15. Duis aliquet elit et arcu laoreet, id pulvinar eros pretium.
  16. Quisque consectetur, enim semper facilisis feugiat, velit
  17. sapien semper arcu, eu mollis libero est et odio.
  18. &lt;p&gt;
  19. Curabitur fringilla interdum ante vel ultricies. Mauris
  20. volutpat nisi sed turpis elementum elementum. Mauris nec
  21. eleifend lorem. Sed ac vulputate libero.
  22. </code></pre>
  23. A valid HTML5 document does not require<i>†</i> explicit &lt;head&gt;, &lt;body&gt;, or the closing &lt;/p&gt;, &lt;/html&gt; tags. See the spec for optional tags at <a href="https://html.spec.whatwg.org/multipage/syntax.html#optional-tags" rel="nofollow">https://html.spec.whatwg.org/multipage/syntax.html#optional-...</a> for more details. Similarly, the markup for lists and tables can be cleaned up too because the closing &lt;/li&gt;, &lt;/tr&gt;, &lt;/th&gt;, &lt;/td&gt; tags are optional<i>†</i>.<p>Note that the opening &lt;html&gt; tag is optional<i>†</i> too but I retained it in the above example to specify the lang attribute otherwise the W3 markup validator warns, "Consider adding a lang attribute to the html start tag to declare the language of this document."</p><p><i>† These tags are optional provided certain conditions are met. See the spec for full details. In practice, one rarely has to worry about these conditions.</i>
  24. </p>