HTML Cheatsheet | ||||||||||||||||
Basic HTML format document. All HTML pages must include the following: <HTML> <HEAD> <BODY>
</BODY> < !-- and --> use these commands and your comments will not show up on the page. Basic Tags Paragraph (you don't need a closing tag) Blank Row (you don't need a closing tag) Horizontal Rule (you don't need a closing tag) To change the thickness
and width of the <HR> To change the color of the <HR> To add NO SHADE to your <HR> <FONT FACE="arial, times new roman">arial font</FONT> <FONT FACE="algerian, arial">algerian font</FONT> **Note - it is a good idea to list more than one font name in the FACE attribute, in case the first font is not available on the viewer's computer. <FONT COLOR="red">Your colored text</FONT> or You can use the hexadecimal code <FONT COLOR="#00cc66">Your colored text</FONT To see more colors try Visibone. Background Color - This color should always complement your text color. <body bgcolor="green"> or <body bgcolor="#0099ff"> Background Wallpaper
Tthere are 12 font size commands available to use. +6 through +1 and -1 through -6. +6 is the largest. <FONT SIZE="+6">This is +6</FONT> <FONT SIZE="+1">This is +1</FONT> <FONT SIZE="-1">This is -1</FONT> <FONT SIZE="-6">This is -6</FONT>
or you can use headings. <H1>This is Heading 1</H1> Also,
Center Rigt Aligned Within the <body> tag <BODY LEFT MARGIN="80" RIGHT MARGIN="80">
Inserting an Image <IMG SRC="image.gif"> IMG stands for "image." SRC stands for "source." Remember, you must have your images and your pages all in one folder. Aligning your images Aligning text with images <IMG ALIGN="top" SRC="cleary.gif"> text
text text <IMG ALIGN="bottom" SRC="cleary.gif"> text text text Creating a space type
this in the code   To indent the Paragraph, type A bullet to separate text <UL> The UL stands for
Unordered List. It means bullets will be used rather than
numbers. If you want different bullets, like squares type: <
UL TYPE="square"> Number Lists The
OL stands for
Ordered List. It means numbers will be used rather than
bullets. <OL TYPE="I"> Capital Letters <OL TYPE="A">
Hyperlink to another
web page A stands for Anchor. It begins the link to another page. The HREF stands for Hypertext REFerence. http://www.clare.k12.mi.us is the FULL ADDRESS of the link. Where it reads "Clare Public School" is where you write the text you want to appear on the page. /A ends the entire link command. Link to a page within
the same website. <A HREF="mailto:jcleary@clare.k12.mi.us">Click Here to email Mrs. Cleary</A> Change link colors To see more colors try Visibone. |
||||||||||||||||
Embedding sound <EMBED SRC="cool.mp3"
AUTOSTART="true" loop="true" hidden="true"> REPLACE “COOL.MP3”
WITH WHATEVER YOUR FILE IS CALLED. Created by: Ricky Johnson |