Hello, help how are you? I am new and I need help \ I cannot and do not know how to link the css file with html and also I do not know how to post a picture to my website and I need your help
Simple put your .css file inside your htdocs (same as the index.html) and put this code inside the index.html, just before </head>
<link href="yourfilename.css" rel="stylesheet" />
Yes, I will try, but where do I put my pictures in hosting and how do I summon my picture and it is in the hosting here
For the pictures, upload your pictures inside your htdocs folder, and put this code inside your index.html:
<img src="yourimage.png">
More of this image html tag tutorial:
ok
body{
background-image: url('qwert.jpg');
}
This css code is useful for displaying images
yes, this will change the background of your website into an image instead of just a color.
Make sure that the image url and name is correct and can be found on your htdocs.
Thanks Sahulul
Don’t forget to smash the green mark button if you found my help useful!
ok
I tried but I could not get your rap file css and image and I put the image in the images file
http://alialhsni.epizy.com
This is my site and see if it finds pictures and also go to the properties and see the code
He gave this just as an example:
- remove
htdocs
from first of link. - replace
yourfilename
with name of your file.
Also nothing
background-image: url(‘qwert.jpg’);
please remove htdocs
from all of your links.
and these files don’t exist btw, please upload/create them.
…
Change it like this:
background-image: url(‘img/qwert.jpg’);
For other pictures: <img src="img/imgname.jpg">