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

4th Jan 2018, 3:00 PM
Anne Lynna
Anne Lynna - avatar
4 Réponses
+ 1
oooo... thank you very much Mr. Khan 👍
4th Jan 2018, 3:42 PM
Anne Lynna
Anne Lynna - avatar
0
width:100%; height as per your choice
4th Jan 2018, 3:16 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
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?
4th Jan 2018, 3:28 PM
Anne Lynna
Anne Lynna - avatar
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..
4th Jan 2018, 3:35 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar