Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
5Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
HTML-CSS_Reference

HTML-CSS_Reference

Ratings: (0)|Views: 167 |Likes:
Published by jwzumwalt
A developers referance of the most common syntax and tasks using HTML. Includes a new section covering HTML5.
A developers referance of the most common syntax and tasks using HTML. Includes a new section covering HTML5.

More info:

Published by: jwzumwalt on Feb 08, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/31/2013

pdf

text

original

 
 
The most current version 
Quick Reference
of this document (and many other reference eatInfo.com/dev_notes/_cheat-sheets  by Ja s) can be found at Zumwalt - NeatInfo.com 
 
 NeatInfo.com - by Jan Zumwalt June 20, 2012HTML / CSS Reference Copyright © 2005-2012
Pg 2 of 77
 
Syntax: HTML
h1 { color:red; font-size:16pt; } <h1>Hello World</h1>
CLASS
 .font1 { color:red; font-size:16pt; } <span class=”font1”>Hello World</span>
CLASS
 h2.font1 { color:red; font-size:16pt; } <h2 class=”font1”>Hello World</h2>
ID
#font1 { color:red; font-size:16pt; } <span id=”font1”>Hello World</span>
DIV 
<div>content...</div> <div class=”font1”>Hello World</div>
SPAN
<span>content...</span> <span class=”font1”>Hello World</span
 
Class Style Template
<!-- add selector name --> {font-family : Arial; <!-- font style -->font-size : 12pt; <!-- font size -->line-height : 12pt; <!-- line spacing -->color : #000; <!-- black -->text-decoration : none; <!-- no underline -->text-align : left; <!-- justification -->background-color : #FFF; <!-- background color -->}
Body Style Template
body { <!-- typical body style -->volume : soft;\* margin *\margin-top : 50pt;margin-bottom : 50pt;margin-left : 50pt;margin-right : 50pt;background-repeat : repeat;background-image : url(http://www.neatinfo.com/!-media/bg_starfield1.png);\* font *\h1 { color : #f53; font-size:28pt; text-align:center; font-style:italic;h2 { color : #6cf; font-size:14pt; margin-bottom:3pt; text-align:left;}h3 { color : skyblue; font-size:10pt; margin-bottom:3pt; text-align:left;}h4 { color : #9f9; font-size:10pt; font-weight:normal; text-align:left;}a { text-decoration : none;}a:link { color : #ee6; font-weight:bold; }a:visited { color : #ee6; font-weight:bold; }a:active { color : burlywood;}a:hover { color : #9f9; font-weight:bold; }font-family : arial;font-size : 12pt;color : #cdf;}
Other Styles
h1 { color : #f53; font-size:28pt; text-align:center; font-style:italic;h2 { color : #6cf; font-size:14pt; margin-bottom:3pt; text-align:left;}h3 { color : skyblue; font-size:10pt; margin-bottom:3pt; text-align:left;}h4 { color : #9f9; font-size:10pt; font-weight:normal; text-align:left;}a { text-decoration : none;}a:link { color : #ee6; font-weight:bold; }a:visited { color : #ee6; font-weight:bold; }a:active { color : burlywood;}a:hover { color : #9f9; font-weight:bold; }
Common RGB Colors
blue dark = #35a orange dark = #b50 teal dark = #355 white dark = #bbbblue med = #8bc orange med = #c85 teal med = #388 white med = #dddblue lite = #bef orange lite = #fc8 teal lite = #3bb white lite = #fffbrown dark = #b85 purple dark = #a5c yellow dark = #bb5 grey dark = #666brown med = #db8 purple med = #a7d yellow med = #cc8 grey med = #888brown lite = #fdb purple lite = #aaf yellow lite = #deb grey lite = #aaagreen dark = #5a6 red dark = #f55 black dark = #000green med = #6b8 red med = #f88 black med = #222green lite = #7ca red lite = #fbb black lite = #444
 
NeatInfo.com - by Jan Zumwalt June 20, 2012HTML / CSS Reference Copyright © 2005-2012
Pg 3 of 77
Table of Contents
Q
UICK
R
EFERENCE
............................................................................................ 1
 
Class Style Template ...................................................................................................... 2
 
Body Style Template ...................................................................................................... 2
 
Other Styles ................................................................................................................... 2
 
Common RGB Colors ..................................................................................................... 2
 
T
ABLE OF
C
ONTENTS
......................................................................................... 3
 
S
YMBOLS
U
SED
................................................................................................. 6
 
R
EDIRECT WITH
HTML
META TAGS
...................................................................... 6
 
Refresh meta http-equiv tag ............................................................................................ 6
 
R
EDIRECT WITH JAVASCRIPT
............................................................................... 6
 
R
EDIRECT WITH
PHP ......................................................................................... 6
 
U
SING
“R
EFRESH
HEADER
................................................................................. 7
 
3S
AMPLE
O
NE
-
 
HTML
FILE
................................................................................ 7
 
S
AMPLE
O
NE
-
 
HTML
FILE
.................................................................................. 8
 
S
AMPLE
T
WO
-
 
HTML
FILE
................................................................................. 9
 
A
LPHABETIZED
HTML
 
C
OMMANDS
.................................................................... 10
 
HTML
 
E
VENTS
................................................................................................ 11
 
P
ARAGRAPHS
&
 
B
REAKS
.................................................................................. 11
 
S
OUNDS
.......................................................................................................... 11
 
F
ONTS
............................................................................................................ 12
 
F
ONT
&
 
B
ACKGROUND
C
OLORS
........................................................................ 12
 
F
ONT
S
PECIAL
C
HARACTERS
............................................................................ 12
 
L
INKS
&
 
U
RLS
.................................................................................................. 13
 
I
MAGES
,
 
M
APS
,
 
HR .......................................................................................... 13
 
O
BJECTS
......................................................................................................... 13
 
C
ODE
-B
LOCK
F
ORMATTING
.............................................................................. 14
 
P
OSITION
........................................................................................................ 14
 
L
ISTS
.............................................................................................................. 15
 
F
ORMS
............................................................................................................ 16
 
G
ET
M
ETHOD
.................................................................................................. 16
 
P
OST
M
ETHOD
................................................................................................ 17
 
<I
NPUT
...> ...................................................................................................... 18
 
<I
NPUT ATTRIBUTE
...> ...................................................................................... 18
 
CSS
 
T
ABLES
................................................................................................... 28
 
C
OLORED
T
ABLE
S
CHEMES
.............................................................................. 29
 
A
LL
CSS
 
B
ORDER
P
ROPERTIES
........................................................................ 33
 
F
RAMES
.......................................................................................................... 34
 
S
CRIPTS
.......................................................................................................... 34
 

Activity (5)

You've already reviewed this. Edit your review.
1 hundred reads
Rrhh Est liked this
Rrhh Est liked this
arijit294 liked this
sanyank liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->