+ 1
Background image
Iâm suing sublime I understand to insert an <img src=âname.jpgâ altââ heightââ widthââ> I did not fill between ââ but a lot of people say to be careful when using online images because if it gets deleted it could effect your image. I try to save the image so I can create a folder and go from there BUT Iâm not 100% understanding it. The first html practice web I made I had a picture on my laptop and was able to insert it very easily. But when saving images fromweboremail Iâmnot sure how toapply to backgroun
5 Respostas
+ 1
Mostly we create images folder per each project/website we build, and we store all images finded on our website inside this folder.
If you have only 1 image then making folder for image is to much work then needed.
Organization of folders, naming is up to you, find something what you think is good
When download images, find it on your pc, move to your project folder, rename it - to have simple name
if you plan to post project online, use some free images sites - and always post source to original author of image, you can place link <a> or use comments inside code
On your code here i think you used wrong quotes, probably it is because of your phone keyboard.
We use " or ' but you have â
It look similar but can probably make problem in your code.
Also you miss =
it is alt="" width="" height=""
+ 1
Also having background and having images is not same
For images we use img tag and type image path inside src
But for background we set this inside css
Like
body {
background-image: url("name.jpg");
}
+ 1
Ahh ok i will need to organize my folders i just recently am trying to learn so my folders are mixed with family pictures. My udnerstanding of what you said is
1.(per project) i should create a folder my choice on folder name.
2.(i actually had not noticed the â or â because i am writing on a cell phone thank you for that part.
3.(rhank you for clearing the diference in using the img and URL
Ive been using img and css did cover URL but i kept thinking i needed to obtain the URL for the image in a website did not pick up the understnding on url(âname.jpgâ)
And lastly thank you you are great!! Im trying to get more practice on making samole websites using subline and get used to the layout and the way elemetents/tags and parents etc are used thank you đ
0
I just want to know how can exactly do i tell subline editor to input an image as a background to a website. I want to know do i create a specific folder for all the images in the furtue or is it just one folder per image. L
0
RenĂš MondragĂČn yes you understand me right, you can also watch some videos on youtube and see how they organize its folders, also it is very good to learn best practices in progamming, in developing websites we can do something in many ways, but what way is better for readibility, performance, maintaince is learned by practice, and by looking how others do.
Happy coding