Тёмный

15: How to Insert Images Using HTML and CSS | Learn HTML and CSS | Full Course For Beginners 

Dani Krossing
Подписаться 469 тыс.
Просмотров 1,3 млн
50% 1

FIND MY 2023 COURSE HERE: • 1 | INTRODUCTION TO HT...
How to insert images using HTML and CSS | Learn HTML and CSS | HTML tutorial | Basics of CSS. In this lesson we will learn how to create an HTML image in our website page. We will learn how to insert images using HTML and we will learn how to insert images as a CSS background image, which also allow for us to create banners.
➤ 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 to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.
I hope you will find it helpful :)
Material for this lesson: / lesson-material-42361704

Опубликовано:

 

21 ноя 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 495   
@Dani_Krossing
@Dani_Krossing Год назад
NEW UPDATED 2023 COURSE AVAILABLE! 🙂 You can find it here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-v8jDnBYc0bs.html&ab_channel=DaniKrossing
@krisencina8174
@krisencina8174 5 лет назад
For those having trouble in seeing their image, place the folder where the image is located to the same folder of the html document you are trying to place the image on. Worked for me.
@bosssoumare8944
@bosssoumare8944 4 года назад
THANK YOU SOO MUCHH, EVEN THOUGH I don't know you
@rmilo
@rmilo Год назад
THANKS
@Bigmanting150
@Bigmanting150 Год назад
Bless you
@eliasziad7864
@eliasziad7864 Год назад
Thanks mfer.
@mustafakhalid9330
@mustafakhalid9330 10 месяцев назад
Thank you
@dcandleonna
@dcandleonna 5 лет назад
thank you so much for this video, you have no idea how much you've helped!
@oreojustinvlogs8091
@oreojustinvlogs8091 3 года назад
Thanks a lot Sir, these tutorials helped me a lot about Inserting Images and other functions using CSS! God Bless Sir and more power to your channel
@edwardnorton7463
@edwardnorton7463 3 года назад
This is the best video that I've come across. All videos should be made this way. Straight to the point and well explained. Thank you.
@mb3938
@mb3938 4 года назад
Thanks a lot!! this videos had helped me so much! better than the coursera videos where they talk and talk introduction and never go to the point of teaching. You are a great teacher!
@kzuhairi2008
@kzuhairi2008 6 лет назад
your video just wow ! you make me amazed on how you teach people on this tutorial ! hope god bless you for this free tutorial ! love it so much !
@rabsfeir
@rabsfeir 4 года назад
Dude, there are good videos out there and i learned a lot, but yours is so well structured and how you split your videos... Thank you
@kabhikachambala3392
@kabhikachambala3392 3 года назад
Please help me. It works if I browse with Google chrome not Mozilla Firefox. Why
@abonyivictor2319
@abonyivictor2319 2 года назад
Thanks
@munafmuhamediqbal1734
@munafmuhamediqbal1734 Год назад
no wrong
@AgnaldoC
@AgnaldoC 3 года назад
Best video ever. Thanks for that, this was so confusing to me
@ivanvrgoc2370
@ivanvrgoc2370 6 лет назад
Thanks! Great job with the videos
@fizzy1550
@fizzy1550 2 года назад
OH MY GOD, THANK YOU!!!!!!!!!!!! NOBODY WOULD FRIGGIN' EXPLAIN WHERE I NEEDED ALL MY FILES AND STUFF, AND IT HAS TAKEN ME ALMOST A WHOLE DAY TO FIGURE OUT HOW TO GET IMAGES IN THE BACKGROUND OF MY PAGE!!!!!!! THANK YOU, THANK YOU, THANK YOU!!!!!
@ashxx1442
@ashxx1442 3 года назад
Such a good tutorial thank you! Also I love the voice quality. You have a really clear voice.
@gamite7509
@gamite7509 Год назад
This is my first video on your channel, you were great at explaining everything, now I can customise my images better. Thank you!!!
@kv8671
@kv8671 3 года назад
I am so happy I found this channel,I have struggled a lot before with inserting images but now I can after watching this video,your work is well structured and very helpful even to people like me who are new to coding...thank you so much
@Hithere-wq6qi
@Hithere-wq6qi 2 года назад
How well did you improve in html from the time you wrote this comment, I also just started today
@kdaveeffect
@kdaveeffect 2 года назад
This is what I needed!! I'm making a scorebug, and I'm wanting to insert a pic of the Teams logo inside the box that has their score in it! Thank you so much!
@user-to2le3vn6u
@user-to2le3vn6u Месяц назад
Brother I thank you for your wonderful 👍🏻😊 explanatory video 📷 I just came across your video on RU-vid as a beginninger in HTML and I think 💬🤔 I'm humble to learn from you brother 🥰✅
@glasses5w
@glasses5w 3 года назад
You are getting me through my class! Thank you!
@user-fo3to8rn2x
@user-fo3to8rn2x 2 года назад
THANK YOU SOO MUCH! I COULDNT FIGURE OUT HOW TO INCLUDE IMAGES SO THEY ARE RESIZEABLE BUT NOW I KNOW! MY WEBSITE PROGRESS MIGHT HAVE BEEN AS GOOD AS DEAD WITHOUT YOU!
@rukevweoghwe2882
@rukevweoghwe2882 3 года назад
You're an awesome teacher. Thank you so much for the content as I have learnt a lot from them. God bless you so much.
@geraldaquino7858
@geraldaquino7858 Год назад
just started learning programming at my late age. this tutorial is really helpful.
@celestinnarose
@celestinnarose 2 года назад
Wow, this helped me understand image styling a lot more Thanks a lot. Right now, I’m testing my web page using external style sheets with a link tag inserted in head is not connecting? Thanks I’d really appreciate your help?
@koko5498
@koko5498 4 года назад
About the fourth of the image, It's about the resolution , if you have 1280x720 you divide 1280/4 = 320 width and 720 / 4 = 180 height henceforth 320x180 its a 1/4 of the whole image ... It could be pretty basic and easy to understand , but I found it my way so I hope it helps someone. Cheers
@PetsProHub
@PetsProHub 3 года назад
Thanks a lot for this video, i search everywhere for this, you really helped me..
@guilhermegarcia1964
@guilhermegarcia1964 4 года назад
if you're still having problems with the div class background-image not showing, even after correctly stating the img path, try ctrl + shift + R for refreshing your page. Seems like most browsers mess up the cache when dealing with urls.
@GuidetteExpert
@GuidetteExpert 3 года назад
Im also having a problem with image, being appeard. I dosnt want to show up on the page, even tho I gave it the right folder and in the right place.
@lennnonable
@lennnonable Год назад
3 years later! I hope you managed to crack it. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-rSSijzjPYKU.html
@hospitalpark4461
@hospitalpark4461 5 лет назад
Very well done series you have here. Surprised you don't have a LOT more views!
@arnoldjohnalcaraz4895
@arnoldjohnalcaraz4895 3 года назад
For those who keep in questioning about the image is not shown in the web page. Make sure that your folder, where your image is, placed at the same file where your HTML file is.
@nacejehart4849
@nacejehart4849 3 года назад
Thank you
@demonicknight2390
@demonicknight2390 3 года назад
Thanks
@nacejehart4849
@nacejehart4849 3 года назад
U can just copy the picture link
@icondaughter8461
@icondaughter8461 Год назад
God bless you for this straight forward reply 🙏
@MrBaconstrips13
@MrBaconstrips13 5 лет назад
Hello! Loving the series so far. This is the only episode I'm having trouble with as my image is not loading. I have it set up exactly as this video, with the exception of keeping the content like contact, portfolio and about me pages from previous videos. Any suggestions? Both HTML and CSS versions of this do not work for me. Thanks.
@tysonmoore5909
@tysonmoore5909 5 лет назад
I’m having the same issue
@mikkiafrobeatdancehallinst7155
@mikkiafrobeatdancehallinst7155 4 года назад
Man you have helped me so much thanks ...You are doing some awesome job..
@iQuickest
@iQuickest 4 года назад
i was in the process of learning html and some basic css , while watching this videos , i already knew some of the stuff but with this videos it help me so much to understand it more and now i feel more fluent on html and css i understood the concept of it pretty quick, i learned python in 2/3 weeks with 2 to 3hours a day but still need to do projects to understand how it works more, while front-end i'd say its quite simple, but learning javaScript its my next goal, i want to understand backend development , i learned python and understand most of the concept of it, now is there tutorials on how to set up a database or user storage to store their "credentials" by that meaning like email and password and remembering it or storing it , i some what know the code for it but still need practice, i know how to get user input from python using username = input("Enter username:") print("Username is: " + username) but also confused on how when you login it would ask for the password, would you add the python or javascript Script? and is javascript or python better for backend or php? checked out some of your other videos and saw you use php as your backend language, any update on another language you would use today instead of php?
@vampsteph9993
@vampsteph9993 3 года назад
is it possible to add an alt or some phrasing in the back end should the image not be supported from a browser? or can we only add alt in html?
@aadrikasingh5004
@aadrikasingh5004 2 года назад
After seeing almost 10-20 videos on how to add image................I found the solution in this video. Thankyou!!!
@mrsdhuha
@mrsdhuha 3 года назад
Thank you for your video. Can you explain why did you add it inside the wrapper?
@abagail3662
@abagail3662 2 года назад
Best instruction I have found so far, Thank You
@robertorantalla7101
@robertorantalla7101 3 года назад
Great helpful vids! But I am having trouble on something. So I have my menu up top, then my header, and then I have some writing in my paragraph. I would like to insert a pic behind the paragraph text but not behind my headr or menu? Thanks in advance.
@Stefan-lz1ph
@Stefan-lz1ph 4 года назад
I use high resolution images, but somehow they are blurry when displayed in browser as for example background image.What's the best fix?
@game_cctv
@game_cctv 6 лет назад
i wonder if you could show me when you set the width of wrapper and when you publish website what is going to be outside 1000px; liquid layout is clear but fixed layout is not ? does it look empty outside 1000px box
@im_dalton_297
@im_dalton_297 3 года назад
This helped alot!!! thank you!
@adithya1219
@adithya1219 18 дней назад
Thank you for this video.. This has helped me a lot..😊
@sirinongorur5676
@sirinongorur5676 3 года назад
Great video but I would like to add a correction. You said that we need to add a width and a height to the image but you were actually adding it to the div and not to the image. Thanks for the video!
@nelsonjavierbarbosafuentes9413
@nelsonjavierbarbosafuentes9413 4 года назад
what a nice video. Thank you!
@tanishamatthews2540
@tanishamatthews2540 5 лет назад
great video thanks for posting
@rileyhowley7113
@rileyhowley7113 3 года назад
Thankyou for saving my ass in my IT course :)
@Panagiota218
@Panagiota218 9 месяцев назад
How can I make the alt text visible with only html? Very good video thank you!
@giftedbuthumble
@giftedbuthumble 4 года назад
Do I need a root folder in order to extract? Or can I just use a image thats saved on my laptop thats not in a folder?
@Vincent-fs8ry
@Vincent-fs8ry 6 лет назад
Great content like always!
@huckyduck
@huckyduck 3 года назад
What I love about this is the very clear video image. So many tutorials are blurry and you can’t see the code clearly. Thank you.
@amineaitboulman3995
@amineaitboulman3995 4 года назад
Really helpful , thank you !
@chasepanter8742
@chasepanter8742 4 года назад
Dude I love you it has taken me so long to figure what I was doing wrong (I was starting from user all the way to the pic and I needed to start from the file with my index). YES! Awesome!
@user-yu6jo4hf8w
@user-yu6jo4hf8w 10 месяцев назад
thanks this helped alot had to search through many videos to find how to do this !
@user-hx2dl3bc1u
@user-hx2dl3bc1u 3 года назад
Thanks a lot man, perfect explonation.
@afoxwithahat7846
@afoxwithahat7846 2 года назад
That was exactly what I needed bro, thanks a lot
@MrShadyKiller
@MrShadyKiller 6 лет назад
Great English!
@govind22703
@govind22703 3 года назад
sarcasm
@HectorGiudatto
@HectorGiudatto 3 года назад
Excelent. You really helped me a lot. Thank you v.m.
@roniojericotakahashi1745
@roniojericotakahashi1745 2 года назад
THANK YOU SO MUCH! U SAVED MY SANITY
@manmeetthathoo3912
@manmeetthathoo3912 4 года назад
Please someone help me.The problem I am having is that or the concept I want to use is that I want to set a default image inside the placeholder for the image(an avatar per say) and I want it to be dynamic in such a way that the end user could click the default image and select their personal image choice and it could get shown in that specific part of the screen(an example would be like the facebook profile picture selector in which the user imports a picture onto the site and it shows in a specific part and is dynamic for changes)
@haiderirshad8172
@haiderirshad8172 6 лет назад
I have been following your tutorials since quite a lot of time now... And i found them very usefull i have a request if you can launch a complete series of code igniter that would be greatest thing on the planet earth... Plz sir do it....
@itzzvxnsh
@itzzvxnsh Год назад
@MrKnowsItAll You are really trying to correct a sentence from 4 years ago lol
@samoramabuya6583
@samoramabuya6583 4 года назад
Thank you for this video.
@gibran5208
@gibran5208 2 года назад
Very helpful! cant thank you enough!
@krgaming2005
@krgaming2005 4 года назад
Hello I would like to add an image at the same level as the h2 Tag but can´t understand how to do it
@kaedemc1
@kaedemc1 4 года назад
Cheers Daniel!
@AlleyBoyDTEMusic
@AlleyBoyDTEMusic 5 лет назад
Hey! How do you so that image you had covers the entire screen (without changing the widht and height if it is possible?) Because if you have an image that covers the whole screen and then you zoom out, the picture doesnt cover the whole screen anymore. I want it to no matter how much you zoom out, the picture will always cover the whole thing, do you know that can be done?
@vmpere2637
@vmpere2637 5 лет назад
Use percentages instead of pixel widths. So it'd be width:100% and height:100%
@walizenlegrand9040
@walizenlegrand9040 3 года назад
Very clear thanks a million!
@Kimdohk
@Kimdohk 5 лет назад
I made some menus with Vista Buttons software (png images), but I don't know how to insert it to Dreamweaver. I have tried to insert it as images, but it didn't work. Could you please teach me how to insert it? Thank you.
@mariopizzaro
@mariopizzaro 3 года назад
Thanks Dani, anther great tutorial
@larissakenneh
@larissakenneh 10 месяцев назад
Thank you so much i really learn what i have been look for so long you are the best❤
@Dani_Krossing
@Dani_Krossing 10 месяцев назад
You are so welcome! 🙂 Just so you are aware, I have a new 2023 HTML course on my channel, which is much better than this older one. 😊
@pianoLee-sx9dx
@pianoLee-sx9dx 5 лет назад
With the first method, can you move the pictures around?
@anokhautomation4453
@anokhautomation4453 3 года назад
Very useful informative tutorial 👍
@moniromXsong
@moniromXsong 2 года назад
Can we edit size of picture on html without using css??
@lukaeric3479
@lukaeric3479 2 года назад
Yes
@tapasjaiswal6968
@tapasjaiswal6968 4 года назад
Sir How i link admin login html page directly to index.html page by login button plz help me sir
@z1008z
@z1008z 2 года назад
Keep Up The Work Mann..Really Appreciable......
@nethunamaraweera3878
@nethunamaraweera3878 2 года назад
thank you so much wish you all the best with your channel 😎😎😎
@lefroxx1980
@lefroxx1980 5 лет назад
oh youre such a great teacher
@Daiz7788
@Daiz7788 5 лет назад
Hi, I was wondering how you would insert multiple images. Say you have a folder named images and you have 4 images inside. How you would insert all the images into your webpage? Would you create an img tag for each one?
@yameenirteza1248
@yameenirteza1248 5 лет назад
yupp you will have to create it for each of them unfortunately, but however you can style them altogether by a class or an id if you want, which will somewhat be time-effective.
@dannyblack9705
@dannyblack9705 6 лет назад
Hello. In my case when i use background-size : 100%; image was cuted at the bottom why ?
@skfkfkd
@skfkfkd 5 лет назад
amazing content
@iggybunn4494
@iggybunn4494 2 года назад
so the thing that gets me confused in the alt attribute for the img. I downloaded 3 images from pexels website and i saved them as puppies.jpg but Im using atom.where would I label the alt for the image if the jpg is already saved as puppie.jpg and would I have to have link for the image? I have to upload this project to github would it mess up if I just used the saved image peg from file on laptop? i'm sorry im making it so confusing I am new to this and still learning, if someone could get back to me that would be awesome thank you!
@INFCraft196
@INFCraft196 2 года назад
hello !! can you resize an image in css without creating a div or a div class .. ?
@argenisaguilar9045
@argenisaguilar9045 2 года назад
Awesome...thanks so much---👍
@mandysingh4044
@mandysingh4044 8 месяцев назад
Thanks bro ❤
@YourNextiPhone1
@YourNextiPhone1 6 лет назад
Wow! Nice audio
@khaliqamirul1255
@khaliqamirul1255 2 года назад
I can't find my image. I can't find my rootfolder. I already wrote everything in the src. C:/Users/Downloads/cats.jpg and tried everything I can think of. Still no image. Why?
@nics7513
@nics7513 Год назад
Same problem
@atr9012.
@atr9012. Год назад
Enter the image in a new file then Enter the website you created whith the New file that you enter your image This will work
@navjeetbharti544
@navjeetbharti544 4 года назад
How do I change the opacity of the background image?
@joydiehyacinthbasanes4123
@joydiehyacinthbasanes4123 3 года назад
Thank you Sir for your video helps me a lot my project 😊😊😊
@chonzie2354
@chonzie2354 3 года назад
thank you so much helped a lot
@dabadiele2823
@dabadiele2823 4 месяца назад
What text editor do you use
@sabiyabiradar2748
@sabiyabiradar2748 3 года назад
When we send resume to someone. Images are not showing for them. Becz of src .whats the solution for that ?would u like to tell plz
@tahminurrahman9111
@tahminurrahman9111 Год назад
dude loved your vedio ... but what is this app where you are doing CSS
@user-zm2mn5kf2c
@user-zm2mn5kf2c 10 месяцев назад
Y're the best i met till know for explanations But i have a little worry i am able to change de size as you did
@abdullahabdelhadi3485
@abdullahabdelhadi3485 3 года назад
my picture wont show up? im using google, vision studios
@danielamartin6559
@danielamartin6559 3 года назад
@Kohen Kaden mine either! what should I do?
@jumaelahmed9995
@jumaelahmed9995 3 года назад
Great help buddy!
@nononnomonohjghdgdshrsrhsjgd
@nononnomonohjghdgdshrsrhsjgd 2 года назад
Is it possible to link to an image from another project? For example: how do I add the image "smallcat.jpg" from the project "HTML" if I am currently in the file "basics.html" in the project "js_basics"? I ve tried with: . However, this doesn't work. Thank you for the answer!
@rutuja
@rutuja 3 года назад
Thank you so very much. Can't thank enough...
@lyrichives7859
@lyrichives7859 Год назад
I needed this.. thank you so much
@dr__ey
@dr__ey Год назад
thank you for this :]
@tahawultv8574
@tahawultv8574 4 года назад
which text editor you use? please answer!
@archit4289
@archit4289 2 года назад
YOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO LOVE IT!
@tanquex8570
@tanquex8570 3 года назад
How can I add background pic in my sublime?? I'm using phone but I dont know how to get the pic in the code
@simonemannini6642
@simonemannini6642 6 лет назад
+mmtuts I don't know why, but when I set the background image I can't see that.Could you tell me why? I use Chrome right now
@aljazmesec4336
@aljazmesec4336 6 лет назад
i have the same issue
@aljazmesec4336
@aljazmesec4336 6 лет назад
hey i found the solution, you should click on the image and click open so that it opens it in atom, the rename it in your file so that it doesnt have the .jpg at the end
@jonattanescalante1999
@jonattanescalante1999 6 лет назад
I'm sorry. Could you be more thorough? What do you mean rename it so it doesn't have .jpg. What are you renaming it to?
@amonraii7273
@amonraii7273 6 лет назад
I saw a similar comment in a previous clip as well. I guess what a lot of people are confused about is that in Windows, the default setting of known file extensions is to hide them. For example: .jpg .txt .gif etc... are hidden since these are known file types by Windows. I think that when people try to change a file name, they also try to change its extension (for example they create a .txt file and try to change it to .html) and since the extension is hidden, windows will save it as something like index.html.txt rather than index.html To do that, you should go to "Folder Options" and untag "Hide extensions for known file types". Only then you can change the name and the extension at the same time. Hope it helps somebody out there.
@pianoLee-sx9dx
@pianoLee-sx9dx 6 лет назад
I am having the same problems but have found that IE is more stable....
@hashninja
@hashninja 3 года назад
i tried to use the img tag in css idk for some reason its not rendering it the size isn't changing at all checked the name seen if i coded it wrong idk wth is happening
@dhil4932
@dhil4932 4 года назад
how do i move that image position into middle of browser ? what element should i put ?
@dhruvmitna9esn22
@dhruvmitna9esn22 3 года назад
You need to keep adding br before the div until it's vertically centred and then put a centre tag covering the div
Далее
Мокрые шутки | Gazan и POLI
00:21
Просмотров 633 тыс.
How to create a CSS image gallery in 5 minutes! 📷
5:38
How to put an HTML website online (on the Internet)
29:37
Top 10 CSS One Liners That Will Blow Your Mind
13:34
Просмотров 871 тыс.
Learn HTML images in 3 minutes 📷
3:50
Просмотров 206 тыс.
Background images with HTML & CSS
20:19
Просмотров 336 тыс.
How to Insert an Image in HTML using Notepad
6:38
Просмотров 873 тыс.
Learn CSS flexbox in 10 minutes! 💪
10:01
Просмотров 95 тыс.
Learn Flexbox CSS in 8 minutes
8:16
Просмотров 1,3 млн
How to include a CSS background image 🏙️
3:16
Просмотров 98 тыс.
Мокрые шутки | Gazan и POLI
00:21
Просмотров 633 тыс.