fix for tutorial image ref

This commit is contained in:
Kyle Drake 2024-03-04 12:59:01 -06:00
parent 90eb054e5e
commit 71633e268c
2 changed files with 3 additions and 3 deletions

BIN
public/neocities.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -5,10 +5,10 @@
Now let's add an image.
</div>
<div class="dialogue" style="top: 20px; left: 360px">
Your Neocities web directory already includes a portrait of me called <strong>cat.png</strong>.
Your Neocities web directory already includes an image called <strong>neocities.png</strong>.
</div>
<div class="dialogue" style="top: 145px; left: 390px; width:200px">
Add it to your page like so: <pre><code class="html">&lt;img src="/cat.png"&gt;</code></pre>
Add it to your page like so: <pre><code class="html">&lt;img src="/neocities.png"&gt;</code></pre>
</div>
<div class="dialogue" style="top: 230px; left: 420px">
That's it! No closing tag needed for images.
@ -19,7 +19,7 @@
<h4>Links and Images</h4>
<p>If the page or image you're referring to is already in your Neocities web directory, you can call it by its filename: for example, <strong>index.html</strong> or <strong>cat.png</strong>.</p>
<p>Otherwise, use full URLs like this: <strong>http://neocities.org/img/heartcat.png</strong></p>
<p>Otherwise, use full URLs like this: <strong>https://neocities.org/img/heartcat.png</strong></p>
</div>
<script>