use curl to fetch some HTTP and HTML results.

example.com.html 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>Example Domain</title>
  5. <meta charset="utf-8" />
  6. <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1" />
  8. <style type="text/css">
  9. body {
  10. background-color: #f0f0f2;
  11. margin: 0;
  12. padding: 0;
  13. font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  14. }
  15. div {
  16. width: 600px;
  17. margin: 5em auto;
  18. padding: 50px;
  19. background-color: #fff;
  20. border-radius: 1em;
  21. }
  22. a:link, a:visited {
  23. color: #38488f;
  24. text-decoration: none;
  25. }
  26. @media (max-width: 700px) {
  27. body {
  28. background-color: #fff;
  29. }
  30. div {
  31. width: auto;
  32. margin: 0 auto;
  33. border-radius: 0;
  34. padding: 1em;
  35. }
  36. }
  37. </style>
  38. </head>
  39. <body>
  40. <div>
  41. <h1>Example Domain</h1>
  42. <p>This domain is established to be used for illustrative examples in documents. You may use this
  43. domain in examples without prior coordination or asking for permission.</p>
  44. <p><a href="http://www.iana.org/domains/example">More information...</a></p>
  45. </div>
  46. </body>
  47. </html>