Vector_Joe said:
The north and south poles of a magnet are basically just the ends of the magnet which happen to align with the external magnetic field.
Your link has a good explanation of the atomic and domain level of permanent magnets but the questioner might benefit from a description of more macroscopic phenomena:
Understanding why magnets exhibit "poles" requires understanding the magnetic field around a conducting wire with current going through it, which can be envisaged as concentric circles, or cylinders. The needle of a compass placed at any point on one of these 'circles' will take up a North-South orientation
at right angles to the direction of current flow. That will continue right around the conductor. On one side N-S will point one direction perpendicular to the wire, on the other side of the wire N-S will be 180 degrees in the other direction perpendicular to the wire. Here's an illustration of this:
http://whs.wsd.wednet.edu/Faculty/B...udyguides/chapter1920/graphics/Fig-19-15b.gif
The field around an electromagnet is what results when you form a current carrying conductor into a loop:
http://28.media.tumblr.com/tumblr_lcjno5UORq1qd7ygho1_400.jpg
The field around an induced magnet, or, a permanent magnet is exactly the same as the field around a current carrying conductor
that has been formed into a loop, or many loops.
A compass placed next to an electromagnet or permanent magnet will take up the same orientation with respect to the 'circles' of magnetic flux as it does in a straight line conductor. When the conductor has been wound into a solenoid configuration (one or more loops) all the "north" orientations lead to one end and all the "south" orientations lead to the other end. The "poles" are a bit illusory: the original 'circuit' of N-S orientation actually continues through the interior of the looped conductors, and you could follow it with your compass if it weren't blocked by the core material. You
can follow it through a solenoid with no core that is large enough to accommodate your compass, like the one in my second linked image.
A permanent magnet, as I said, has exactly the same magnetic field shape as a solenoid electromagnet: it's the field around a
looped current carrying conductor. (Interesting is that there is no permanent version of the field around a straight line conductor. Also interesting is that, once you understand how a magnetic field represents a looped current carrying conductor's field, you understand the impossibility of ever having a magnetic monopole.)
The north and south poles are practically defined simply by calling that pole "north" which points toward the Earth's north magnetic pole.