|HTML code tells the computer software what you want to do. It looks like this:
< b > your word here < / b >
Code is in angle brackets < >. In most cases you put the code on both sides of the word or phrase you want put in boldface or italics. The slash mark / means "end bold" or "end italics" or whatnot. Note: If you forget to put in the slash mark, the computer will continue bolding forever and ever.
Note: The code that follows has extra space marks between the angle brackets and what's between them (< b >). This is just for demonstration purposes. You have to remove the space marks to make it work.
So for basic fancy fonts:
< b > bold text < / b > (with spaces removed) creates: bold text
< i > < /i > italics
< u > < / u > underscored
< strike > < / strike >
< tt > < / tt > typewriter text
< sup > < / sup > superscriptsuperscript
< sub > < / sub > subscriptsubscript
Blockquotes for quoting people or just for emphasis
< blockquote > < / blockquote >
To change the size of the font:
< font size = 3 > < / font > 3 is the normal. Try other sizes between 1 and 7
(Note: leave the space between "font" and "size." It shouldn't be "fontsize")
< font size = 1 > < / font > smaller
< font size = 3 > < / font > normal
< font size = 5 > < / font > larger
< font size = 7 > < / font > HEY YOU
To change the font color:
(Again, leave the space between "font" and "color." And remember it must be spelled "color," not "colour")
< font color = blue > < / font > makes blue
< font color = red > < / font > makes red
< font color = yellow > < / font > makes yellow
< font color = orange > < / font > makes orange
< font color = green > < / font > makes green
< font color = purple > < / font > makes purple
To make a hyperlink
(Note: leave the space between the "a" and "href" in the first bit.)
< a href = " put URL between the quotes " > click here < / a >
You can also simply post the URL by itself, even a very long one. The software will abbreviate it automatically, so there is no fear of sidescroll:
To insert a horizontal rule
put < hr > where you want a line across the screen. For this command, there is no "ending" command with a slash mark.
To align a paragraph Left, Right, or Center
Left is the standard. But with:
< p align = right> in front of your paragraph, it will align right. (Note: leave the space between "p" and "align" and there is no "end alignment" code with a slash mark at the end of the paragraph)
you can align a paragraph to the right, but you have to have enough to say to actually make a paragraph. Or if you don't have much to say at the moment, you can just blather on for a while if you want to.
The next paragraph will go back to left alignment automatically. You don't have to tell it to align left. You have to put the align right code in again if you want it to align right.
Or to < p align = center >
That's all I remember right now.
You can experiment in the comments below or you can start a new diary of your own to experiment in. In both comments and diaries, you can hit "preview" to see if your html worked right. In a diary (but not in comments), you can go back after you post it and change things and experiment more. A diary you create to experiment in can be deleted if you don't want to save it, or you can just keep it for later experiments.