Adding background image

Besides having a solid color as the background of the website, Html also allows users to add image as the background that makes the website look more interesting. Here I want to introduce how to add a background image to the website:

Step 1: Find an Image on the website and copy the URL

Screen Shot 2017-02-06 at 2.34.52 AM.png

so the URL for this image is: https://i0.wp.com/geekdad.com/wp-content/uploads/2014/02/TheEcho-spaceman.jpg?ssl=1%22%20alt=%22https://geekdad.com/2014/02/the-echo/

Step 2: Add this URL to the body part and write as <body background=“https://i0.wp.com/geekdad.com/wp-content/uploads/2014/02/TheEcho-spaceman.jpg?ssl=1%22%20alt=%22https://geekdad.com/2014/02/the-echo/“>

Screen Shot 2017-02-06 at 2.39.56 AM.png

Then the basic background image is built.

Screen Shot 2017-02-06 at 2.41.08 AM.png

Advertisements

~ by kaiqicai on February 6, 2017.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: