0
What is the html coding to make image as a banner?
Image as banner, the file name: best_travel_logo.jpg i) size width =1320 , height =200
4 Réponses
+ 1
oooo... thank you very much Mr. Khan 👍
0
width:100%; height as per your choice
0
does it is mean use the image code like usually. for example,
<img src="best_travel_logo.jpg" height="200px" width="1320px" />
is this the code?
0
yes.. but if you want your image size don't get smaller if you view it on higher resolution screens.. then just make it 100% width it automatically will stretch to the full width of the screen.. no matter what size screen it is..
and if you provide width in 1920px 1320px... etc..
then if you change the screen size of the browser the image will still be o that size and will make your website ugly and it will overflow from right..