HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

how to add background image in html webpage using css. Full screen background image html

5,688 views February 25, 2020 6:44

Watch on YouTube
ChannelSwift Learn

Description from the creator

if you want to add background image in html body or full screen background image this tutorial add background image in html body using css for you. how to set background image in html or how to add background image in htm body tag with full screen using css.

after adding background image you can add any object or tag in div tag.
create css element selector with background url.
background url is image name with location.
After adding bankground image in div tag, its allowed to add any object or tag in div tag.

This is very easy to add background in html body using css. just put this code in style tag

body{
background-image:url(yourimage.png);
background-size: cover;
background-attachment:fixed;
}

~~~
background-size: cover; used to make this image in full width.
background-attachment:fixed; To fix the image so that its not move on scroll.
~~~~~~
Subscriber will be notified when I will upload new tutorials in future. Many more new tutorials coming soon, so stay tuned!
youtube.com/swiftlearn
~~~~~~~~~~~~~
You can also know all the programming techniques, and bug fixing, error solution in my channel Swift learn.
The main topics of this cnannel are c#.net, asp.net,VB.Net WCF, sql server, crystal report, RDLC report, HTML, CSS, javascript, Android etc.
See All the playlist in below link
youtube.com/swiftlearn/Playlists
~~~~~~~~~~~~~
Share this video with anyone if you think as useful.
Please leave a suggestions for future tutorials in the comment section below.
~~~~~~~~~~~~~
Connect with me
facebook.com/groups/swiftlearn/

More Tags
#fullscreenbackgroundimagehtml #swiftlearn #addfullscreenbackgroundimagecss
#htmlbackgroundimage
swift learn,
add background image in html,
html background image full screen,
how to add background image,
how to add background image in html,
how to add background image in css,
how to insert full screen background image in html,
how to make a fullscreen background image in html,
fullscreen background image in html and css

About this tutorial

Swift Learn published this 6:44 video tutorial on February 25, 2020. It has been watched 5,688 times on YouTube.

Duration
6:44
Published
February 25, 2020
Views
5,688
Likes
38

Tags

Share

Further reading

  • Full Page Background Image Using HTML And CSS (May 2020) talkerscode.com

    In this step we create a simple markup and use css background property to add image to body background.You may also like animated background using CSS3. Thats all, this is how to add full page background image using HTM…

  • CSS Background Image Size Tutorial – How to Code a Full Page ... freecodecamp.org

    Because the browser may stretch the image, you should use a background image that has high enough resolution. Otherwise the image may appear pixelated. If you care about having all of the image appear in the background,…

  • How To Create a Full Page Image - W3Schools w3schools.com

    How To Create a Full Height Image. Use a container element and add a background image to the container with height: 100%. Tip: Use 50% to create a half page background image. Then use the following background properties…

This tutorial in other languages