title: How to use fade-in text/image on page is loaded
body: <p>I'm building a small website and would like to get the text (and an image when I add one) to <strong>fade in</strong> when someone accesses the website? </p>
  
  <p>Thanks!</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Title&lt;/title&gt;
    &lt;style&gt;
        body {
            background-color: lightgrey;
        }
        ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
            overflow: hidden;
            background-color: #333;
        }
        li {
            float: left;
        }
        li a {
            display: block;
            color: white;
            text-align: center;
            padding: 14px 16px;
            text-decoration: none;
        }
        li a:hover:not(.active) {
            background-color: #111;
        }
        .active {
            background-color: #4CAF50;
        }
    &lt;/style&gt;
    &lt;style&gt;
        p.one {
            border: 1px lightgrey;
            background-color: lightgrey;
            padding-top: 50px;
            padding-right: 30px;
            padding-bottom: 40px;
            padding-left: 0px;
        }
        IMG.displayed {
            display: block;
            margin-left: auto;
            margin-right: auto
        }
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a class="active" href="#home"&gt;Home&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#news"&gt;Our Routes&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#contact"&gt;Contact&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#about"&gt;About&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;img class="displayed" src="E:\Users\PC\Documents\Image" alt="..."&gt;
    &lt;h1 align="center"&gt; HOME &lt;/h1&gt;
    &lt;p class="one" , align="center"&gt; Text Goes here
    &lt;/p&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>