What do solid or dashed lines on a wire indicate? Is there a difference between the solid and dashed indicators?
The solid/dashed lines on wires like the ones pictured in your question are used to indicate polarity e.g. for the "wall wart" power supplies. Usually* the wire with the white stripe or the dashed lines carries the "positive" (+) end, while the other, unmarked wire carries the "negative" (-) end.
It doesn't matter if it is striped or dashed, the presence of any kind of marker is the indicator of the wire being the "positive" end of things, as opposed to the unmarked "negative" wire.
This kind of convention is used on speaker cables as well, where the wire that is marked in some manner (e.g. text providing wire information, a stripe, etc.) is the positive end, and the unmarked wire is the negative end.
*I say "usually" since I've seen a wall wart with the wires were reversed, although every other wall wart I've used does it the way I've described above. The only way to be sure is to use a voltmeter and measure the voltage across the two wires. If you get a negative voltage reading, you know you have the test leads swapped.
protected by Dave Tweed♦ Jul 25 '15 at 11:42
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?