Adding an image and links to a web page - HTML Tutorial Series

3 months ago
6

In today’s tutorial, I’ll show you how to add an image inside a paragraph of your HTML page, and how to create a text link to a web page. Next we will upload the updated file using FileZilla, and preview the changes on your website. Let’s get started!

Our updated HTML will include an "img" tag inside the first paragraph. The image is stored in the "images" folder, and we’ve added alternative text for accessibility. The image file "FlashyUbuntu.png" is located in the images directory, which is a sub-folder of our main website directory.

In our second paragraph we are going to add a link to our home page. Using the "a" tag. We provide the "href=https://flashyubuntu.online" to direct the link where to point and then add our link clickable text.

Now that we’ve updated our HTML file, let’s upload it to our server using FileZilla. Open FileZilla and connect to your remote server. If you haven’t already set it up, make sure to download FileZilla from the FileZilla website and enter your server credentials.

Navigate to the directory where your website files are stored, which in this case is /var/www/flashyubuntu.online/public_html/.

On the left side of FileZilla, find and select the updated "index.html" file and new "images" folder. Drag and drop them into the public_html directory on the right side.

Once both files are uploaded, let’s check out the changes on our website.

And that’s it for today’s tutorial! You’ve successfully added an image to your HTML file and updated your server using FileZilla. If you enjoyed this video, please like, subscribe, and hit the bell icon for more tutorials. Thanks for watching!

Loading comments...