Ive read somewhere, maybe here that keywords in the url are not so important for google ranking but are for yahoo?

Is this true?

IM so new to this! Id love to know in a few words ( if anyone one would be so kind) whats the most important thing to have sorted for good SEO? keyword density? inbound links?