To grow fresh basil in a container, pour some potting soil into a pot, leaving 1/4 inch of space at the top of the pot, press it down firmly, and water the soil well. Place basil seeds on top of the soil, press them into the ground lightly, and add some more soil on top. Place some plastic food wrap on top of the pot to cover it, and keep the pot on a sunny window until basil sprouts appear.
If you are using unglazed clay pots to grow basil, place them in some water for about 10 minutes before planting to help the soil maintain a sufficient moisture level.
After the first basil sprouts appear, remove the plastic, and continue checking the moisture level in the pot every day, watering the plant when necessary. Basil plants prefer the soil to be constantly moist. Place the pot on a matching tray to prevent excess water from escaping the pot. If you are using plastic pots, don't overwater the plants, as plastic pots can't soak up excess water. For better growth, add several drops of fertilizer to the water six to eight weeks after planting basil.
The best place to grow basil is a window on the south side of the house. When harvesting basil, collect several leaves at a time instead of cutting down the entire plant.