- index.html
- style.css
HTML
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>The website of a beginning coder</title>
    <link rel="stylesheet" href="style.css">
  </head>
  <body>
    <header>
      <p>Blog</p>
      <nav>
        <a href="index.html">Return to home</a>
      </nav>
    </header>
    <main>
      <article>
        <h1>Day Fourteen. A New Format</h1>
        <p>Yesterday, I discovered what image format is suitable for my avatar, and I added it to my blog. I really loved it. It’s so pretty. I decided to make a cheat sheet so that I would not forget what the other image formats are and what they are used for.</p>
        <p>Here is my first GIF:</p>
        <!-- Add the image here -->
        <p>Here we have the PNG format:</p>
        <img src="files/portrait.png">
        <p>For example, we have such a format as JPEG:</p>
        <img src="files/instructor-muffin.jpg">
      </article>
      <aside>
        Your ad could go here
      </aside>
    </main>
    <footer>
      Website footer
    </footer>
  </body>
</html>
CSS
body {
  padding: 0 30px;
  font-size: 14px;
  line-height: 22px;
  font-family: "Georgia", serif;
  color: #222222;
}
h1 {
  font-size: 20px;
  line-height: normal;
}
aside {
  margin: 20px 0;
  color: #c4c4c4;
}
a[href] {
  color: #0099ef;
  text-decoration-line: underline;
}
You’ve gone to a different page
Goalscompleted
0
- Add the image with the address files/gifka.gifto the blog entry.
Comments