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

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2017
  • 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

Комментарии • 503

  • @Dani_Krossing
    @Dani_Krossing  Год назад +10

    NEW UPDATED 2023 COURSE AVAILABLE! 🙂
    You can find it here: ruclips.net/video/v8jDnBYc0bs/видео.html&ab_channel=DaniKrossing

  • @krisencina8174
    @krisencina8174 5 лет назад +79

    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.

  • @edwardnorton7463
    @edwardnorton7463 3 года назад +26

    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.

  • @dcandleonna
    @dcandleonna 5 лет назад +31

    thank you so much for this video, you have no idea how much you've helped!

  • @mb3938
    @mb3938 4 года назад +8

    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!

  • @oreojustinvlogs8091
    @oreojustinvlogs8091 3 года назад +10

    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

  • @fizzy1550
    @fizzy1550 2 года назад +1

    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!!!!!

  • @kzuhairi2008
    @kzuhairi2008 6 лет назад +7

    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 года назад +98

    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

  • @user-fo3to8rn2x
    @user-fo3to8rn2x 2 года назад +1

    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!

  • @AgnaldoC
    @AgnaldoC 4 года назад +12

    Best video ever. Thanks for that, this was so confusing to me

  • @kv8671
    @kv8671 3 года назад +9

    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

  • @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!!!

  • @kdaveeffect
    @kdaveeffect 2 года назад +1

    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!

  • @ashxx1442
    @ashxx1442 3 года назад +2

    Such a good tutorial thank you! Also I love the voice quality. You have a really clear voice.

  • @glasses5w
    @glasses5w 3 года назад +1

    You are getting me through my class! Thank you!

  • @hospitalpark4461
    @hospitalpark4461 5 лет назад +1

    Very well done series you have here. Surprised you don't have a LOT more views!

  • @geraldaquino7858
    @geraldaquino7858 Год назад +1

    just started learning programming at my late age. this tutorial is really helpful.

  • @ivanvrgoc2370
    @ivanvrgoc2370 6 лет назад +3

    Thanks! Great job with the videos

  • @PetsProHub
    @PetsProHub 4 года назад +1

    Thanks a lot for this video, i search everywhere for this, you really helped me..

  • @rukevweoghwe2882
    @rukevweoghwe2882 3 года назад +5

    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.

  • @mikkiafrobeatdancehallinst7155
    @mikkiafrobeatdancehallinst7155 4 года назад +1

    Man you have helped me so much thanks ...You are doing some awesome job..

  • @celestinnarose
    @celestinnarose 2 года назад +1

    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?

  • @afoxwithahat7846
    @afoxwithahat7846 2 года назад

    That was exactly what I needed bro, thanks a lot

  • @user-yu6jo4hf8w
    @user-yu6jo4hf8w Год назад

    thanks this helped alot had to search through many videos to find how to do this !

  • @chasepanter8742
    @chasepanter8742 5 лет назад +1

    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!

  • @im_dalton_297
    @im_dalton_297 4 года назад +1

    This helped alot!!! thank you!

  • @iQuickest
    @iQuickest 4 года назад +5

    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?

  • @user-to2le3vn6u
    @user-to2le3vn6u 4 месяца назад +2

    Brother I thank you for your wonderful 👍🏻😊 explanatory video 📷
    I just came across your video on RUclips as a beginninger in HTML and I think 💬🤔 I'm humble to learn from you brother 🥰✅

  • @asyad1000
    @asyad1000 2 месяца назад +1

    Bless you man, exactly what I needed. Really thank you.

  • @abagail3662
    @abagail3662 2 года назад

    Best instruction I have found so far, Thank You

  • @NelsonB007
    @NelsonB007 5 лет назад

    what a nice video. Thank you!

  • @aadrikasingh5004
    @aadrikasingh5004 3 года назад

    After seeing almost 10-20 videos on how to add image................I found the solution in this video. Thankyou!!!

  • @Vincent-fs8ry
    @Vincent-fs8ry 6 лет назад

    Great content like always!

  • @Векторкачества
    @Векторкачества 3 года назад

    Thanks a lot man, perfect explonation.

  • @amineaitboulman3995
    @amineaitboulman3995 4 года назад

    Really helpful , thank you !

  • @rileyhowley7113
    @rileyhowley7113 4 года назад +2

    Thankyou for saving my ass in my IT course :)

  • @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)

  • @boss131ful
    @boss131ful 4 года назад +12

    guys as for me i made a very dumb mistake which made me suffer for almost a week, the mistake was
    i saved the folder as "images" but when i wrote it down on my text editor i wrote "img"
    a simple mistake of not paying close attention like this can be very frustrating
    thank you for the video btw

    • @lokee16
      @lokee16 3 года назад

      I did the same thing. cost me 8 hours before I figured it out

  • @walizenlegrand9040
    @walizenlegrand9040 3 года назад

    Very clear thanks a million!

  • @kaedemc1
    @kaedemc1 4 года назад +1

    Cheers Daniel!

  • @MrSlim_Gaming
    @MrSlim_Gaming 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

  • @koko5498
    @koko5498 4 года назад +3

    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

  • @mrsdhuha
    @mrsdhuha 4 года назад +2

    Thank you for your video. Can you explain why did you add it inside the wrapper?

  • @vampsteph9993
    @vampsteph9993 4 года назад

    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?

  • @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!

  • @samoramabuya6583
    @samoramabuya6583 4 года назад

    Thank you for this video.

  • @tanishamatthews2540
    @tanishamatthews2540 5 лет назад

    great video thanks for posting

  • @roniojericotakahashi1745
    @roniojericotakahashi1745 2 года назад

    THANK YOU SO MUCH! U SAVED MY SANITY

  • @khaliqamirul1255
    @khaliqamirul1255 3 года назад +17

    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 2 года назад +2

      Same problem

    • @atr9012.
      @atr9012. 2 года назад

      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

  • @MrBaconstrips13
    @MrBaconstrips13 5 лет назад +3

    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.

  • @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

  • @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?

  • @haiderirshad8172
    @haiderirshad8172 6 лет назад +1

    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

  • @lefroxx1980
    @lefroxx1980 5 лет назад

    oh youre such a great teacher

  • @MrShadyKiller
    @MrShadyKiller 6 лет назад +11

    Great English!

  • @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.

  • @joedavidson5884
    @joedavidson5884 2 месяца назад

    damn bro, i've been searching for this on AI for hours and then you soled my problem in 1 minute

  • @guilhermegarcia1964
    @guilhermegarcia1964 4 года назад +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 года назад +1

      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. ruclips.net/video/rSSijzjPYKU/видео.html

  • @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.

  • @rutuja
    @rutuja 4 года назад

    Thank you so very much. Can't thank enough...

  • @YourNextiPhone1
    @YourNextiPhone1 6 лет назад +1

    Wow! Nice audio

  • @dannyblack9705
    @dannyblack9705 6 лет назад

    Hello. In my case when i use background-size : 100%; image was cuted at the bottom why ?

  • @Zubamughal
    @Zubamughal 10 дней назад

    Thanks a lotttttt
    It was a big problem for me, that solved because of you

  • @anokhautomation4453
    @anokhautomation4453 3 года назад

    Very useful informative tutorial 👍

  • @mariopizzaro
    @mariopizzaro 3 года назад

    Thanks Dani, anther great tutorial

  • @z1008z
    @z1008z 3 года назад

    Keep Up The Work Mann..Really Appreciable......

  • @jumaelahmed9995
    @jumaelahmed9995 3 года назад

    Great help buddy!

  • @iggybunn4494
    @iggybunn4494 3 года назад

    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!

  • @nethunamaraweera3878
    @nethunamaraweera3878 2 года назад

    thank you so much wish you all the best with your channel
    😎😎😎

  • @adithya1219
    @adithya1219 3 месяца назад +1

    Thank you for this video..
    This has helped me a lot..😊

  •  3 года назад

    Excelent. You really helped me a lot. Thank you v.m.

  • @lyrichives7859
    @lyrichives7859 Год назад

    I needed this.. thank you so much

  • @flyingsaucer2664
    @flyingsaucer2664 4 года назад

    I'm using visual studio code and this method isn't working for some reason. I found that when I inputted the images URL it work, but not by inputting .jpg

  • @skfkfkd
    @skfkfkd 5 лет назад

    amazing content

  • @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.

  • @argenisaguilar9045
    @argenisaguilar9045 3 года назад

    Awesome...thanks so much---👍

  • @joydiehyacinthbasanes4123
    @joydiehyacinthbasanes4123 3 года назад

    Thank you Sir for your video helps me a lot my project 😊😊😊

  • @stevensmith5626
    @stevensmith5626 Год назад

    Fantastic video!

  • @SkepticalBill
    @SkepticalBill 3 года назад

    thank you!!

  • @archit4289
    @archit4289 2 года назад

    YOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO LOVE IT!

  • @kavnmd3062
    @kavnmd3062 3 года назад

    Thank you again.

  • @chonzie2354
    @chonzie2354 3 года назад +1

    thank you so much helped a lot

  • @sabiyabiradar2748
    @sabiyabiradar2748 4 года назад

    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

  • @txerrible1386
    @txerrible1386 4 года назад

    actually worked thanks

  • @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

  • @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 лет назад +1

      Use percentages instead of pixel widths. So it'd be width:100% and height:100%

  • @hopesfanrighthere4883
    @hopesfanrighthere4883 3 года назад

    Thank u ....it's such a very useful video...

  • @dhavalgajjar7502
    @dhavalgajjar7502 3 года назад

    THANKS I FINALLY GOT SUCESS

  • @rjchannel5284
    @rjchannel5284 2 года назад

    Thanks a lot brother.

  • @larissakenneh
    @larissakenneh Год назад +1

    Thank you so much i really learn what i have been look for so long you are the best❤

    • @Dani_Krossing
      @Dani_Krossing  Год назад

      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. 😊

  • @TheRealPhantom
    @TheRealPhantom 2 года назад

    THANK YOU

  • @PSO2012
    @PSO2012 Год назад

    thanks dude help me lot
    😀

  • @AllenMarsam
    @AllenMarsam 5 лет назад

    thanks!

  • @juanbrundisarmentomadeira1785
    @juanbrundisarmentomadeira1785 5 лет назад

    i did the first way, and its worked. But, the second way does not work. this my code; in HTML . i think i type it correctly, but when i execute it, nothing is happen. any solution?

  • @samanthanicolebusadre8584
    @samanthanicolebusadre8584 8 месяцев назад +1

    Thank you omg 😭

  • @mnisshhh
    @mnisshhh Год назад

    thanks dude... helped me a lot

  • @dr__ey
    @dr__ey 2 года назад

    thank you for this :]

  • @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