9 | HOW TO INSERT IMAGES INTO YOUR WEBSITE | 2023 | Learn HTML and CSS Full Course for Beginners

  Рет қаралды 79,722

Dani Krossing

Dani Krossing

Жыл бұрын

In this video I will show you how to insert images into your HTML website. 🙂 You can insert images either using the img element, or by setting a background image to a container, and in this video I will show how to do both. I will also cover how to create hover effects for your website images.
Full playlist: • 1 | INTRODUCTION TO HT...
➤ GET ACCESS TO MY LESSON MATERIAL HERE!
First of all, thank you for all the support you have given me!
I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!
I am now using Patreon and KZbin Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach.
I hope you will find it helpful :)
Memberships: / @dani_krossing
Patreon: / mmtuts

Пікірлер: 44
@user-nk5pz9io2n
@user-nk5pz9io2n 7 ай бұрын
I just wanted to take a moment to express my sincere appreciation to Mr. Dani Krossing for his fantastic teaching of HTML and CSS. Dani, your tutorials and lessons have been incredibly valuable to me, and I've learned so much from your expertise. Your dedication to educating others is truly commendable, and I'm deeply thankful for the knowledge and skills I've gained through your guidance. Keep up the great work, Dani! Your contributions have made a significant impact on my learning journey, and I'm sure many others feel the same way. Thank you!
@dahyun8664
@dahyun8664 Жыл бұрын
You are so good at teaching, this is the best tutorial series I've watched, all the solution for the problems that I encounter when I did my first website is all here. Thanks man!!
@helbertpemba8167
@helbertpemba8167 10 ай бұрын
I love this page, holy shit. good job bro, great teacher!
@jeandouat7500
@jeandouat7500 Жыл бұрын
You look like Elon Musk a bit... On a serious note, I started studying HTML and CSS and the videos that the teacher sent are 3 hours long...your course is WAAAYYY better than those from Linkedin Learning. Thank for that!!
@rebeccafolakemi-tn2jq
@rebeccafolakemi-tn2jq 2 ай бұрын
This was really helpful though at first I couldn't hear much of his words but has I sat in from of my PC and rewatch the video for a few rounds. I was able to understand better. 👍👍👍
@yoake4427
@yoake4427 5 ай бұрын
thanks for lesson. i appreciate it and learned a lot from it.
@user-zu9gy1ul1p
@user-zu9gy1ul1p Жыл бұрын
Thank you dani
@SugarCoatedSmarty
@SugarCoatedSmarty 3 ай бұрын
Bro, I'm taking a class in HTML right now, and my professor has 0 lectures. I've been watching you alongside the readings, and you're so good at teaching. Sincerely, thank you 🫡
@Sac-chan
@Sac-chan 3 ай бұрын
huh, you too? my ex teacher was the same, he comes late and then goes to the restroom and does nothing. These type of videos made me pass his lesson with very high grades at least
@ipoderma
@ipoderma Жыл бұрын
the way you explain is absolutely clear and to the point. Thanks !!
@finchfinchy2480
@finchfinchy2480 Жыл бұрын
Good lecturing
@DivineWhispersChronicles93
@DivineWhispersChronicles93 3 ай бұрын
Great
@fissionchips223
@fissionchips223 9 ай бұрын
Another terrific installment, Dani. I really appreciate many things you are doing, but keeping best practices and semantics in the forefront seems essential for success. Thank you, as always, for your incredibly considerate instruction!
@Stoney_Eagle
@Stoney_Eagle Жыл бұрын
Basse 😍 we need more doggo again hehe
@simsolchannel
@simsolchannel Жыл бұрын
Well teacher, I follow your coaching ...
@nkosinathitrevor-nc7zq
@nkosinathitrevor-nc7zq 4 ай бұрын
amazing i can do so much more know
@fajimeyemichael8055
@fajimeyemichael8055 10 ай бұрын
Hey! It's me again from sololearn. I like how you show us different scenarios for an element before showing us the actual solution . Like saying "if we were to set the width to 50% see how it looks." While knowing we are actually supposed to set the width to maybe 100%. I Just like the way you give us a glimpse of most of what we need and want to know. Great Lesson btw. 👍
@latinboy906
@latinboy906 8 сағат бұрын
Whenever I adjust the image height and width from within the img element in HTML it works, but when I target it with a class is CSS, nothing changes. I'm linked to the correct stylesheet.
@davecoll13
@davecoll13 Ай бұрын
I follow your tutorials and think they are great! I have one question tho, when I use visibility collapse in CSS it doesn't flicker either… is there a disadvantage of using that?
@enginesllc9877
@enginesllc9877 5 ай бұрын
OK. Very good. 4 minutes of html and 16 minutes of css.
@user-pl5rv7qh5o
@user-pl5rv7qh5o 9 ай бұрын
What app are you using pls
@RetroblocRBC
@RetroblocRBC Жыл бұрын
I'm first
@storm5492
@storm5492 Жыл бұрын
what if in the .image you put backround-image: src="the source of the image that you want when you hover" then after that you put the source of the image that you want before hovering so that it reads the first image src then reads the new one, will that load the image?
@whiteshadow666777
@whiteshadow666777 5 ай бұрын
Is there an easier way to just set the image in the center of the page? Or is that always done via a margin value?
@ridorock6
@ridorock6 5 ай бұрын
align-center. I think.
@okorieinnocent4854
@okorieinnocent4854 8 ай бұрын
Mine is not working, i kept creating the image folder and it's still not working
@elijahking2653
@elijahking2653 8 ай бұрын
So the folder, image, and index.html should all be saved to C; Drive?
@Dani_Krossing
@Dani_Krossing 8 ай бұрын
No, it needs to be inside the website rootfolder. The rootfolder can be anywhere.
@badcatdesign
@badcatdesign Жыл бұрын
🖼 Maybe you could talk about ?
@Dani_Krossing
@Dani_Krossing Жыл бұрын
Once I get into responsive design, I will talk about 🙂
@kathleen9185
@kathleen9185 11 күн бұрын
This is the second video I've watched and the instructor failed to show a download from the a webstie and show it was working in CSS
@HazelRichardson-Amos
@HazelRichardson-Amos Жыл бұрын
I'm currently having this issue where my image isn't showing up in the browser but is in my test window (using dreamweaver which has a live view). It works perfectly fine if I attach it like a normal image but when I embed it in a class as "background-image: url()" it won't show on my browser. Any solutions?
@Dani_Krossing
@Dani_Krossing Жыл бұрын
Clear your browsers cache or “hard refresh” it, and if that doesn’t work, then it is most likely because you have the wrong file open in the browser. 🙂
@HazelRichardson-Amos
@HazelRichardson-Amos Жыл бұрын
​@@Dani_Krossing I tried all that but then had the thought of using the inspect panel on chrome like you've said and it's showing an error: "failed to load resource: the server responded with a status of 404 (not found)" but I don't understand why chrome can't find the file but dreamweaver's live mode can?
@HazelRichardson-Amos
@HazelRichardson-Amos Жыл бұрын
@@Dani_Krossing Ok I'm really dumb, I've never set up my folders like you have so my CSS file is normally with all my HTML files. However this time I set it up your way and when I added the image I added it as "background-image: url(/img/cover_1.jpg);" which meant that dreamweaver could find it but I needed to add the ".." like you did which is why it wasn't working on the website. Thank you for your help though, as resetting the cache did fix some small CSS stuff that was bugging me.
@RetroblocRBC
@RetroblocRBC Жыл бұрын
Pin me
@takwingebenyi
@takwingebenyi Ай бұрын
why do guys always do quality videos with blur cameras
@Dani_Krossing
@Dani_Krossing Ай бұрын
Blur camera? If you mean my facecam, then I see no blur. 🙂
@MauriceWilliams
@MauriceWilliams Жыл бұрын
You favor Elon Musk.
@yngtokyo3920
@yngtokyo3920 3 ай бұрын
for free ?!?!?!?!?!?!?!?!?
@stoneroot_pk
@stoneroot_pk Жыл бұрын
Hello, I wrote the same lines/code for CSS and HTML but when I do Go Live from VS Code for the first time the Image blinks, once the page is opened then on page refreshing it's fine. My code is like this (Sorry for pasting here but I want to resolve this issue :( ) body::after { position: absolute; width: 0; height: 0; overflow: hidden; z-index: -1; content: url(../images/coffeehouse-b&g.jpg); } .image { width: 300px; height: 400px; background-image: url(../images/coffeehouse.jpg); background-size:cover; background-repeat: no-repeat; background-position: center; transform: all ease-in-out 100ms; } .image:hover { background-image: url(../images/coffeehouse-b&g.jpg); }
How to put an HTML website online (on the Internet)
29:37
SuperSimpleDev
Рет қаралды 1,5 МЛН
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 12 МЛН
OMG🤪 #tiktok #shorts #potapova_blog
00:50
Potapova_blog
Рет қаралды 7 МЛН
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 116 МЛН
Please be kind🙏
00:34
ISSEI / いっせい
Рет қаралды 68 МЛН
HTML Basics in 4 Minutes
4:13
Learndev
Рет қаралды 16 М.
Learn HTML images in 3 minutes 📷
3:50
Bro Code
Рет қаралды 219 М.
Learn HTML in 1 hour 🌎
1:00:00
Bro Code
Рет қаралды 1,8 МЛН
HTML Tutorial for Beginners: HTML Crash Course
1:09:34
Programming with Mosh
Рет қаралды 9 МЛН
Background images with HTML & CSS
20:19
Kevin Powell
Рет қаралды 346 М.
Learn Flexbox CSS in 8 minutes
8:16
Slaying The Dragon
Рет қаралды 1,4 МЛН
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 12 МЛН