Charlotte's HTML Help

HTML Code Reference

Here I'm going to include some HTML codes that you can refer to if you forget something. This will not be very detailed, as it is just meant for a reference, but if you already understand the concepts, know some code, but want to learn more, or have something to refer to if you forget, this could be useful. If you don't know much HTML, and you want to start from the beginning, I would recommend visiting Lissa Explains it All. I'm also planning to create a page on the site with a bunch of links to other sites to help with HTML. So, now it's time to begin on the codes.

Codes with Opening and Closing Tags:

<b>Text you want to be bolded goes here</b>
<i>Italicized text</i>
<u>Underlined text</u>
<h1>Header text here (You can change the number to something larger, and the header gets smaller)</h1>

<center>Centered text. You can also center text using the next code.</center>
<div align="center">Centered text. You can change center to right or left to align it differently.</div>
<font face="font name goes here" size="size number here" color="color number here">You edit what is in quotes, keeping the quotes, just changing what goes inside. This is for changing what your text looks like</font>
<a href="URL you want to link to goes here">The title of where you're linking to goes here. This is for text links.</a>
<textarea rows="number here; 5 works well." cols="number here; 20 works well" style="background-color:#background color number goes here; font-family:font type goes here; color:#text color goes here; border-style:solid">This is for text areas. Text areas are particularly useful if you want to have coding on your page that doesn't actually do what it would do outside of a text box, for instance, if you wanted to give people a code to use to put a background on their page, without putting the background on your page. This is for really detailed text areas. For the next code, I'll just give you the code for a simple text area.</textarea>
<textarea>A simple text area, without giving you as much control over your text area, but it is simpler to use.</textarea>

Codes without Closing Tags

<br>: This is the break code; it is the equivalent of the enter button in HTML.
<hr>: This is a horizontal line code.
<img src="IMAGE URL GOES HERE">: This is the image code.
<body background="BACKGROUND URL GOES HERE">: This is the background code.

Note that this is not nearly all of the HTML that exists, it is just some of the codes I use most often. Since I know I didn't include everything, and there is probably still things you want to know how to do, I'm going to include some links to good HTML websites. You can also try doing a search for "HTML help", or something similar. I haven't necessarily used these sites, or use them very often, but I do use some, and this is a good listing of places to go if you want to learn more HTML. Also, a comment; HTML is not the only code that you can use to design web pages. Some other types include CSS, Javascript, Perl, Java, and PHP. HTML is just the simplest. The next coding language to learn, if you know HTML pretty well, and want to learn another way to make your web pages neat, is probably CSS. Try doing a search for "CSS help", if you want to learn it. Also, some of these links may have some CSS help as well. Have fun! http://www.lissaexplains.com
http://www.htmlgoodies.com
http://hotwired.lycos.com/webmonkey
http://werbach.com/web/wwwhelp.html
http://www.htmlhelp.com/
http://www.htmlcodetutorial.com/


Have fun, and I hope you learned something about HTML!




Valid XHTML 1.0 Transitional

© Copyright 2006-8 by Charlotte Dye except where noted.