Have you asked this question? Most website owners and designers have.
The basic, best answer to getting those links is to create good content. Create information that others will want their readers to have access to.
You'll get some links just because another site thinks yours is worth linking to but you do need to put in some effort. Most things in life are valuable when you work for them.
Be a friend to the Internet. Create interesting information. Compile lists. Do the research.
Once you have good content you'll need to look for websites that will actually want to link to you
The best article, bar none, on the subject of linking is
"Link Building Notes of an SEO Kindergartner"
It's long, 19 pages, but chock full of really good info. I truly don't think I can add anything. Read it and go for it. Good luck...As they say..."Be the Best and The Links Will Come"
Peace, Love and Rock and Roll
-
In 1992 I bought a tie dye romper from a patchouli-smelling street vendor
in Mission Beach, which I proceeded to wear to Lollapalooza with Doc Marten
boots...
14 years ago