Lesson-4

Welcome Back!

Two Quick things for today...

How to Change the Size of a Image:

You can change the size of an image using photoshop, OR, you can just do it quickly and easily using code while still preserving the quality of an image.  See the code below:

    <img src="nameofpicture.jpg" width="400">

 

By inserting the code above "width=400" it sizes your image to a width of 400 pixels while maintaining the aspect ratio of the image.  You can use any number of pixels you like, but keep in mind that the average screen is around 1200 pixels wide.

How to Add More Spaces:

The following code is the equivalent to hitting the space bar.

    &nbsp = 1 space

    

    &nbsp &nbsp &nbsp &nbsp &nbsp = 5 spaces

Be smart...copy and paste as you need to...NO NEED to type them all out.