Hii guys I’m new to the community
So I am currently trying to make an html website using pycharm I did most of it now but I want to add a background picture or colour.
Does anyone know the code for it ?
I tried
<img src='background.jpeg'>
And
<style> </style>
And I saved the picture on my pc but it didn’t work
2
Answers
You mean something like below?
and in your style2.css
Is your picture also in the
root-folder
, where yourindex.html
lies?Or you do it with
Internal-Styles