CSS- и HTML-атрибуты

HTML

Тег Атрибуты
a class, href, id, style, target
b class, id, style
br class, id, style
p align, class, dir, id, style
font class, color, face, id, size, style
h1 align, class, dir, id, style
h2 align, class, dir, id, style
h3 align, class, dir, id, style
h4 align, class, dir, id, style
h5 align, class, dir, id, style
h6 align, class, dir, id, style
head dir, lang
hr align, size, width
i class, id, style
img align, border, class, height, hspace, id, src, style, usemap, vspace, width
label class, id, style
li class, dir, id, style, type
ol class, dir, id, style, type
p align, class, dir, id, style
s class, id, style
small class, id, style
span class, id, style
strike class, id, style
strong class, id, style
table align, bgcolor, border, cellpadding, cellspacing, class, dir, frame, id, rules, style, width
td abbr, align, bgcolor, class, colspan, dir, height, id, lang, rowspan, scope, style, valign, width
th abbr, align, background, bgcolor, class, colspan, dir, height, id, lang, scope, style, valign, width
tr align, bgcolor, class, dir, id, style, valign
u class, id, style
ul class, dir, id, style

CSS

CSS-свойства должны быть прописаны через style="...".

background background-color border border-bottom
border-bottom-color border-bottom-style border-bottom-width border-color
border-left border-left-color border-left-style border-left-width
border-right border-right-color border-right-style border-right-width
border-style border-top border-top-color border-top-width
border-width color display font
font-family font-size font-style font-variant
font-weight height letter-spacing line-height
list-style-type table-layout text-align text-decoration
text-indent text-transform vertical-align width