Differences between 'url', 'src', and 'href'
css, href, html, src, url
Solution
- In CSS, it's always `url`.
- In HTML:
- It's `href` (short for Hypertext REFerence) for all kinds of links, including tags `a` and `link`.
- When it's not a link, you are setting the source, so it's `src`.
Problem
Possible Duplicate: Difference between SRC and HREF When writing html/css, it seems like these all do the exact same thing. Obviously this is not the case, and if you 'href' when your supposed to 'src' your gonna have a bad time. But my question is, is there an easy way to remember which ones do which, and when they are used?