Web Coding Basics: The Codes
Web Coding Basics: The Codes
THE CODES:
<HTML>
<HEAD>
<TITLE>My first HTML document</TITLE>
</HEAD>
<BODY>
<P>Hello world!
</BODY>
</HTML>
1|Page
WEB SAFETY:
2|Page
COLORS:
Colors are represented by a combination of numbers and letters on the web. These are called
“Hex Codes.” Hex codes are always six numbers/letters. You can find a list of hex codes here:
http://www.color-hex.com or here: http://www.w3schools.com/tags/ref_colorpicker.asp
Black: #000000
Blue: # 0000FF
White: #FFFFFF
Navy Blue: #000080
Gray: #666666
Green: # 009933
Light Gray: #C0C0C0
Red: #FF0000
Hot Pink: # FF0066
Yellow: #FFFF00
Light Pink: #FFCCFF
Purple: #993399
Light Blue: #99CCFF
Brown: #663300
Teal: #008080
Maroon: #800000
Lime Green: #00FF00
3|Page
BASIC “HEAD” TAGS:
<head>
<style>
</style>
</head>
4|Page
BASIC “BODY” TAGS:
<body>
All content goes between these tags
</body>
Alignment:
Text decorations:
Creating links:
- General Link
<a href=”WEB URL”> LINK TEXT GOES HERE </a>
5|Page
BASIC “BODY” TAGS CONTINUED:
Creating a heading:
Bulleted list:
<ul>
<li> LIST ITEM ONE </li>
<li> LIST ITEM TWO </li>
</ul>
Inserting images:
6|Page
TABLES (FOR BODY SECTION):
<td>
YOUR TEXT HERE
</td>
</tr>
<tr>
<td>
YOUR TEXT HERE
</td>
<td>
YOUR TEXT HERE
</td>
</tr>
</table>
7|Page
PUBLISHING TO THE WEB:
RESOURCES:
http://www.lissaexplains.com
http://www.w3schools.com
http://www.codecademy.com
http://www.crunchzilla.com/code-monster
8|Page