The best way to learn code is to use your "page source" option under the "view" dropdown on your toolbar. Do this on a website that you're familiar with; one that is mostly text is a good start, but don't use a graphic- and script-rich site like this one. Look for a site that is mostly text of different colors and fonts
also if you see something you like on someone else's post like
how to centrebold italics fonts that was fonts by the way in symbol
different sizes colours fancy links
all you need to do is click on edit post and you will see what is actually there. (obviously you cannot save the edits if it is not your post) but that is how I learnt most of the stuff.