Although nothing is deer or rabbit proof, there are plants that are their least favorites. In general, they do not like plants whose leaves are stiff and fuzzy or that are aromatic. Of course, nothing is deer or rabbit proof, and if deer are hungry they will eat just about anything. Below are two lists of annuals and perennials that are more deer or rabbit resistant.
Unfortunately, most of the vegetables for your garden are pretty much a deer and rabbit smorgasbord. A short fence will keep the rabbits out, but deer are another matter. There are commercially available repellents, as well as home remedies such as hanging Irish Spring soap around the area. The commercial products use several different bases: putrescent eggs, blood products and hot pepper oil. You can also use predator urines and garlic oil. These products do work but they must be used on a regular basis. It also helps to change them periodically since the animals do get used to them.