Sample Coding

<a href=”your link here”>here</a>


Notice that when you click the link it stay on my website while the code

<a href=”/” target=”_blank”>click here</a>

Click here

Notice that when you click on the second link it opens up a new tab and takes you to another website.

here’s the image code

<img src=”your image here”>

<p><a href=”website address here”><img src=”link to image”></a></p>

notice when you click on the image it takes you to another website. You can host your image at a free website

To resize an image in HTML, use the width and heightattributes of the <img> tag.

Here’s an image at its original size:

Below is the same image after it’s been resized using HTML (using the width and height attributes


the code for that is this

<img src=”image link here” width=”200″ height=”121″ alt=”photo”>

Now let’s talk about photo marquee. Marquee is scrolling image. You can change the direction of the picture

heart heart heart heart

The code for that is

<marquee behavior=”scroll” direction=”up”>

<img src=”image link here” width=”120″ height=”80″ alt=heart” /> </marquee>

to change how your text looks here are the code

this is for bold text


this is for italic text


this is for underline


Here is the code to change the font and size in HTML

Times New Roman
Comic Sans MS

Here is the code for it

<font face = “Times New Roman” size = “5”>Times New Roman</font>

To change the font color

This text is red This text is pink This text is blue This text is green

Here’s the code

<font color = “red”>This text is red</font>

You can also change the font,color and size. Here’s an example

This is some text!

The code for that is

<font face=”verdana” color=green” size”8″>Text here</font>